---
title: "Download raw content"
method: GET
path: "/repos/{owner}/{repo}/raw/{ref}/{filepath}"
tags: ["Repositories"]
---

# Download raw content

`GET /repos/{owner}/{repo}/raw/{ref}/{filepath}`

## Path parameters

- `owner` string, required
- `repo` string, required
- `ref` string, required
- `filepath` string, required

## Response `200`

Raw file content

## Other responses

- `404` — Resource not found.

---

[API](https://skmtc.net/gogs/apis/gogs-api.md) · [All operations](https://skmtc.net/gogs/apis/gogs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gogs/gogs-api/revisions/87e2da32266c/schema)
