---
title: "Provides a map of versions matching an extension"
method: GET
path: "/api/{namespace}/{extension}/{targetPlatform}/versions"
tags: ["registry-api"]
---

# Provides a map of versions matching an extension

`GET /api/{namespace}/{extension}/{targetPlatform}/versions`

## Path parameters

- `namespace` string, required
- `extension` string, required
- `targetPlatform` 'win32-x64' | 'win32-ia32' | 'win32-arm64' | 'linux-x64' | 'linux-arm64' | 'linux-armhf' | 'alpine-x64' | 'alpine-arm64' | 'darwin-x64' | 'darwin-arm64' | 'web' | 'universal', required

## Query parameters

- `size` integer
- `offset` integer

## Response `200`

The extension versions are returned in JSON format

- Versions — Map of versions matching an extension
  - `success` string — Indicates success of the operation (omitted if a more specific result type is returned)
  - `warning` string — Indicates a warning; when this is present, other properties can still be used
  - `error` string — Indicates an error; when this is present, all other properties should be ignored
  - `offset` integer, required — Number of skipped entries according to the versions request
  - `totalSize` integer, required — Total number of versions the extension has
  - `versions` object, required — Map of versions, limited to the size specified in the versions request

## Other responses

- `404` — The specified extension could not be found
- `429` — A client has sent too many requests in a given amount of time

---

[API](https://skmtc.dev/livesession/apis/open-vsx-registry-api.md) · [All operations](https://skmtc.dev/livesession/apis/open-vsx-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livesession/open-vsx-registry-api/revisions/badd706d3136/schema)
