v1

latestOpenAPI 3.0.12026-07-175557102.5 KB

List package versions

Returns a list of versions of a package

get/scopes/{scope}/packages/{package}/versions

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

Response

OK

scopestring required

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

packagestring required

The name of a package.

versionstring required

A semantic version.

yankedboolean required

Whether the version has been yanked.

usesNpmboolean required

Whether the version uses npm dependencies.

newerVersionsCountinteger required

The number of newer versions.

lifetimeDownloadCountinteger required

The total number of downloads for this version.

rekorLogIdstring nullable

Rekor log ID for the published package version.

readmePathstring nullable

The path to the readme file in the package.

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.

Example response

[
  {
    "scope": "denoland",
    "package": "fmt",
    "version": "1.2.3",
    "user": {
      "name": "Ryan Dahl",
      "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
      "githubId": 80
    }
  }
]