packages

Validate parameters for create Go package

Validate parameters for create Go package

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

Request

  • Base URL
    https://api.cloudsmith.io
  • Auth
    • API key in header X-Api-Key
    • or HTTP basic

Request body

package_filestring required

The primary file for the package.

release_notesstring nullable

The release notes for this package (if any).

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.

tagsstring nullable

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

Response

Validation was successful, parameters are OK.

Changes

No recorded changes to this operation across all 6 revisions of this API.