본문으로 건너뛰기
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 오류를 반환해요.

사용처