---
title: "get a version of a package"
method: GET
path: "/registries/{registryName}/packages/{packageName}/versions/{versionNumber}"
tags: ["packages"]
---

# get a version of a package

`GET /registries/{registryName}/packages/{packageName}/versions/{versionNumber}`

## Path parameters

- `registryName` string, required
- `packageName` string, required
- `versionNumber` string, required

## Response `200`

OK

- VersionWithDependencies
  - `id` integer
  - `number` string, required
  - `published_at` string, nullable, required
  - `licenses` string, nullable, required
  - `integrity` string, nullable, required
  - `status` string, nullable, required
  - `download_url` string, nullable, required
  - `registry_url` string, nullable, required
  - `documentation_url` string, nullable, required
  - `install_command` string, nullable, required
  - `metadata` object, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `purl` string, required
  - `version_url` string, required
  - `related_tag` object, required
  - `latest` boolean, required
  - `dependencies` Dependency[], required
    - `id` integer, required
    - `ecosystem` string, required
    - `package_name` string, required
    - `requirements` string, nullable, required
    - `kind` string, nullable, required
    - `optional` boolean, nullable, required

## Changes

- **2024-05-13** (v1) `275884c3101a` — 4 info
  - added the optional property `id` to the response with the `200` status
  - added the required property `latest` to the response with the `200` status
  - added the required property `related_tag` to the response with the `200` status
  - added the required property `version_url` to the response with the `200` status
- **2024-05-13** (v1) `5fcad531d65a` — 1 info
  - added the required property `dependencies/items/id` to the response with the `200` status
- **2023-04-12** (v1) `f34896f8c36a` — 1 info
  - added the required property `dependencies/items/ecosystem` to the response with the `200` status
- **2023-04-04** (v1) `34c39773ceae` — 6 breaking, 1 warning
  - removed the required property `codemeta_url` from the response with the `200` status
  - removed the required property `dependencies/items/ecosystem` from the response with the `200` status
  - removed the required property `dependencies/items/id` from the response with the `200` status
  - removed the required property `latest` from the response with the `200` status
  - …3 more

[Change history](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/changes/registries/:registryName/packages/:packageName/versions/:versionNumber/get.md)

---

[API](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages.md) · [All operations](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/llms.txt) · [OpenAPI document](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/revisions/98c51ecb0201?raw)
