Objects
CardUploadForm
Fields
filestring (application/octet-stream)requiredcollectionstringDefault: "default"
tagsstringDefault: ""
forcebooleanDefault: false
owner_idinteger | nullverify_interval_daysinteger | nullcategorystring | nullsensitiveboolean | nullasyncbooleanDefault: false
reviewbooleanDefault: false
folder_idstring | nullFolder of the
collectionto put the new card in. A folder of another collection returns400 folders.card_collection_mismatch, a missing folder returns404 folders.not_found, and noCOLLECTION_EDIT_CARDSpermission on the folder returns403 authz.forbidden. The check runs before the file is saved. A duplicate of a file that is already uploaded (skipped) is not moved into the folder.length ≤ 64
collection_idinteger | nullCollection by ID. When
collectionis passed too,collection_idwins. A collection that does not exist in the organization or is not visible returns404 collections.not_found.external_idstring | nullexternal_idof the new card. 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 returns409 cards.external_id_taken. To create or replace a card byexternal_id, usePUT /v1/cards-by-external-id/{external_id}.length ≤ 512
metadatastring | nullmetadataof the new card: a JSON object as the value of the form field. The rules are those ofMetadataPatch.