packages

Validate parameters for create Nix package

Validate parameters for create Nix package

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

Request

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

Request body

narinfo_filestring nullable

The narinfo sidecar metadata file (<storeHash>.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path.

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.