packages

Validate parameters for create Swift package

Validate parameters for create Swift package

post/packages/{owner}/{repo}/validate-upload/swift/

Request body

author_namestring

The name of the author of the package.

author_orgstring

The organization of the author.

license_urlstring uri nullable

The license URL of this package.

namestring required

The name of this package.

package_filestring required

The primary file for the package.

readme_urlstring uri

The URL of the readme for the package.

repository_urlstring uri

The URL of the SCM repository for the package.

republishboolean

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.

scopestring required

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

tagsstring nullable

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

versionstring required

The raw version for this package.

Response

Validation was successful, parameters are OK.

Changes

No recorded changes to this endpoint across all 1 revision of this API.