本文へスキップ
Sursa Developers

オブジェクト

ArchiveUploadForm

フィールド

  • filestring (application/zip)必須
  • collectionstring

    デフォルト:"default"

  • tagsstring

    デフォルト:""

  • forceboolean

    デフォルト:false

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

    アーカイブファイルのすべてのドキュメントを入れるcollectionのフォルダー。ほかのコレクションのフォルダーでは400 folders.card_collection_mismatch、存在しないフォルダーでは404 folders.not_found、フォルダーに対するCOLLECTION_EDIT_CARDS権限がない場合は403 authz.forbiddenが返ります。この確認はアーカイブファイルの保存前に行われます。すでにアップロード済みのファイルの重複は、フォルダーに移動されません。

    length ≤ 64

  • collection_idinteger | null

    IDで指定するコレクション。collectionも渡した場合は、collection_idが優先されます。組織に存在しない、または参照できないコレクションでは404 collections.not_foundが返ります。

使用箇所