Files

Files Validate

Validate parameters used for create.

Request

posthttps://api.cloudsmith.io/v1/files/{owner}/{repo}/validate
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

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Namespace (owner) or repository 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