Paramètres

Nom du paramètre Description
id
requis

Id de référentiel

Validations:

  • number.

upload_ids
optionel

Ensemble d'id de téléchargement à importer

Validations:

  • Must be an array of any type

async
optionel

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

Validations:

  • boolean

publish_repository
optionel

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

Validations:

  • boolean

sync_capsule
optionel

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

Validations:

  • boolean

uploads
optionel

Array of uploads to import

Validations:

  • Must be an Array of nested elements

uploads[id]
requis

Validations:

  • String

uploads[size]
optionel

Validations:

  • String

uploads[checksum]
optionel

Validations:

  • String

uploads[name]
optionel

Needs to only be set for file repositories

Validations:

  • String