मुख्य कंटेंट पर जाएँ
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 लौटता है।

इनमें इस्तेमाल