packages

Validate parameters for create npm package

Validate parameters for create npm package

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

Request body

npm_dist_tagstring nullable

The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag.

package_filestring required

The primary file 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.

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 endpoint across all 1 revision of this API.