packages

Validate parameters for create Generic package

Validate parameters for create Generic package

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

Request

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

Request body

filepathstring required

The full filepath of the package including filename.

namestring nullable

The name of this package.

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.

versionstring nullable

The raw version for this package.

Response

Validation was successful, parameters are OK.

Changes

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