Params

Param name Description
id
required

Repository id

Validations:

  • number.

upload_ids
optional

Array of upload ids to import

Validations:

  • Must be an array of any type

async
optional

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

Validations:

  • boolean

publish_repository
optional

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

Validations:

  • boolean

sync_capsule
optional

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

Validations:

  • boolean

uploads
optional

Array of uploads to import

Validations:

  • Must be an Array of nested elements

uploads[id]
required

Validations:

  • String

uploads[size]
optional

Validations:

  • String

uploads[checksum]
optional

Validations:

  • String

uploads[name]
optional

Needs to only be set for file repositories

Validations:

  • String