Validate parameters for create Swift package

Validate parameters for create Swift package

Path Params
string
required
string
required
Body Params
string
length ≥ 1

The name of the author of the package.

string
length ≥ 1

The organization of the author.

uri | null

The license URL of this package.

string
required
length ≤ 200

The name of this package.

string
required
length ≥ 1

The primary file for the package.

uri
length ≥ 1

The URL of the readme for the package.

uri
length ≥ 1

The URL of the SCM repository for the package.

boolean

If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.

string
required
length between 1 and 39

A scope provides a namespace for related packages within the package registry.

string | null

A comma-separated values list of tags to add to the package.

string
required
length ≤ 255

The raw version for this package.

Responses
204

Validation was successful, parameters are OK.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)