---
title: "Download a file"
description: "Members, or anyone (no credential needed) when the project's switch\n`releases_public` is on. `latest` names the newest published release.\nHeaders: Content-Disposition (attachment), X-Pando-Sha256.\n"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API › releases

`GET /v1/monorepos/{owner}/{monorepo}/repos/{repo}/releases/{tag}/files/{name}`

Members, or anyone (no credential needed) when the project's switch
`releases_public` is on. `latest` names the newest published release.
Headers: Content-Disposition (attachment), X-Pando-Sha256.

## Authentication

Requires one of the following:

- `credential`, http, header `Authorization`
- `session`, apiKey, in cookie
- 

## Path parameters

- `downloadReleaseFile.path.owner` (string, required) — The monorepo's owner, a namespace (a person's login or an organization). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$`
- `downloadReleaseFile.path.monorepo` (string, required) — The monorepo's name within its owner (or an old name). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$`
- `downloadReleaseFile.path.repo` (string, required) — The repo's `name` (`projects-web`).
- `downloadReleaseFile.path.tag` (string, required)
- `downloadReleaseFile.path.name` (string, required) — Letters, digits, '.', '_', '+' and '-', starting with a letter or digit; at most 200 characters.

## Code samples

### cURL

```curl
curl --request GET \
  --url https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string/files/string
```

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string/files/string';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.gitpando.com/v1/monorepos/string/string/repos/string/releases/string/files/string"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

The bytes

#### Example

```text
string
```


Source: https://docs.gitpando.com/api/releases/downloadReleaseFile/index.md
