参数

参数名字 描述
id
必填

库 id

Validations:

  • Must be a number.

upload_ids
选填

要导入的上传 id 阵列

Validations:

  • Must be an array of any type

async
选填

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

Validations:

  • Must be one of: true, false, 1, 0

publish_repository
选填

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

Validations:

  • Must be one of: true, false, 1, 0

sync_capsule
选填

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

Validations:

  • Must be one of: true, false, 1, 0

uploads
选填

Array of uploads to import

Validations:

  • Must be an Array of nested elements

uploads[id]
必填

Validations:

  • String

uploads[size]
选填

Validations:

  • String

uploads[checksum]
选填

Validations:

  • String

uploads[name]
选填

Needs to only be set for file repositories or docker tags

Validations:

  • String

uploads[digest]
选填

Needs to only be set for docker tags

Validations:

  • String