Skip to content
Sursa Developers

Objects

ArchiveUploadForm

Fields

  • filestring (application/zip)required
  • collectionstring

    Default: "default"

  • tagsstring

    Default: ""

  • forceboolean

    Default: false

  • owner_idinteger | null
  • verify_interval_daysinteger | null
  • categorystring | null
  • sensitiveboolean | null
  • folder_idstring | null

    Folder of the collection to put all documents of the archive in. A folder of another collection returns 400 folders.card_collection_mismatch, a missing folder returns 404 folders.not_found, and no COLLECTION_EDIT_CARDS permission on the folder returns 403 authz.forbidden. The check runs before the archive is saved. Duplicates of files that are already uploaded are not moved into the folder.

    length ≤ 64

  • collection_idinteger | null

    Collection by ID. When collection is passed too, collection_id wins. A collection that does not exist in the organization or is not visible returns 404 collections.not_found.

Used by