Skip to content
Sursa Developers

Objects

CardUploadFromUpload

A card from a multipart upload (POST /v1/cards with an application/json body): the fields are the same as in the multipart/form-data form, and the file is a ready upload upload_id with the card_file purpose. Added in 1.62.0.

Fields

  • upload_idstringrequired

    A ready upload (ready) with the card_file purpose; it is used once.

  • collectionstring

    Default: "default"

  • collection_idinteger | null

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

  • tagsarray of string

    items ≤ 30

  • forceboolean

    Default: false

  • owner_idinteger | null
  • verify_interval_daysinteger | null
  • categorystring | null
  • sensitiveboolean | null
  • asyncboolean

    Default: false

  • reviewboolean

    Default: false

  • folder_idstring | null

    length ≤ 64

  • external_idstring | null

    external_id of the new card, as in the form field. With it, the card is created even if the collection already has the same file. If another card of the organization uses it, the request returns 409 cards.external_id_taken.

    length ≤ 512

Used by