Update package version

Updates the details of a package version

patch/scopes/{scope}/packages/{package}/versions/{version}

Path parameters

scopestring required

The name of a scope. This must not be @ prefixed.

Example:denoland

The name of the scope

packagestring required

The name of a package.

Example:fmt

The name of the package

versionstring required

A semantic version.

Example:1.2.3

The version of the package

Request body

yankedboolean required

Whether the version is yanked or not.

Response

OK

scopestring required

The name of a scope. This must not be @ prefixed.

packagestring

The name of a package.

versionstring required

A semantic version.

yankedboolean required

Whether the version has been yanked.

createdAtstring date-time required

The date and time when the package version was created.

updatedAtstring date-time required

The date and time when the package version was last updated.

rekorLogIdstring

Rekor log ID for the published package version.

Example response

{
  "scope": "denoland",
  "package": "fmt",
  "version": "1.2.3"
}

Changes