---
title: "Access a file packaged by an extension"
method: GET
path: "/api/{namespace}/{extension}/{targetPlatform}/{version}/file/**"
tags: ["registry-api"]
---

# Access a file packaged by an extension

`GET /api/{namespace}/{extension}/{targetPlatform}/{version}/file/**`

## 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
- `version` string, required

## Response `200`

The file content is returned

## Other responses

- `302` — The file is found at the specified location
- `404` — The specified file 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)
