パラメーター

パラメーター名 記述
id
必須

リポジトリー ID

Validations:

  • 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:

  • boolean

publish_repository
任意

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

Validations:

  • boolean

sync_capsule
任意

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

Validations:

  • boolean

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

Validations:

  • String