Files

Files Complete

Complete a multipart file upload.

Request

posthttps://api.cloudsmith.io/v1/files/{owner}/{repo}/{identifier}/complete
Body params optional

Response body

object

object

filename
string
required
length ≥ 1
md5_checksum
string
optional
length between 32 and 32
method
string
optional
Allowed values: put_parts, put, post, presigned, unsigned_put
Defaults to post
sha256_checksum
string
optional
length between 64 and 64

Response

Responses

The multipart upload was completed successfully.

object

object

identifier
uri
optional
length ≥ 1
upload_fields
object | null
optional
upload_headers
object | null
optional
upload_querystring
string | null
optional
length ≥ 1
upload_url
uri
optional
length ≥ 1

The multipart upload could not be completed.

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