Files

Files Info

Get upload information to perform a multipart file upload.

Request

gethttps://api.cloudsmith.io/v1/files/{owner}/{repo}/{identifier}/info
Query params
filename
string
The filename of the file being uploaded
part_number
integer
The part number to be uploaded next

Response

Responses

Information for multipart uploaded retrieved successfully.

object

object

identifier
uri
optional
length ≥ 1
upload_querystring
string | null
optional
length ≥ 1
upload_url
uri
optional
length ≥ 1

The provided upload file was not a multipart upload.

object

object

detail
string
required
length ≥ 1
fields
object
optional

Namespace (owner), repository or upload file not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional