Parametri

Nome parametro Descrizione
id
richiesto

id repositorio

Validations:

  • number.

upload_ids
opzionale

Insieme di id per il caricamento da importare

Validations:

  • Must be an array of any type

async
opzionale

Do not wait for the ImportUpload action to finish. Default: false

Validations:

  • boolean

publish_repository
opzionale

Whether or not to regenerate the repository on disk. Default: true

Validations:

  • boolean

sync_capsule
opzionale

Whether or not to sync an external capsule after upload. Default: true

Validations:

  • boolean

uploads
opzionale

Array of uploads to import

Validations:

  • Must be an Array of nested elements

uploads[id]
richiesto

Validations:

  • String

uploads[size]
opzionale

Validations:

  • String

uploads[checksum]
opzionale

Validations:

  • String

uploads[name]
opzionale

Needs to only be set for file repositories

Validations:

  • String