packages

Validate parameters for create Nix package

Validate parameters for create Nix package

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

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.

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