Validate Upload

Packages Validate Upload Deb

Validate parameters for create Debian package

Request

posthttps://api.cloudsmith.io/v1/packages/{owner}/{repo}/validate-upload/deb
Body params optional

Response body

object

object

changes_file
string | null
optional
length ≥ 1
component
string
optional
^[-_.\w]+$
Defaults to main
length between 1 and 64
distribution
string
required
length ≥ 1
package_file
string
required
length ≥ 1
republish
boolean
optional
sources_file
string | null
optional
length ≥ 1
tags
string | null
optional
length between 1 and 1024

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