Skip to main content
GET
/
{org}
/
{repo}
/
content
Get content
curl --request GET \
  --url https://staging.depot.mesa.dev/{org}/{repo}/content \
  --header 'Authorization: Bearer <token>'
{
  "type": "<string>",
  "name": "<string>",
  "path": "<string>",
  "sha": "<string>",
  "size": 123,
  "encoding": "<string>",
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required
Minimum string length: 1
repo
string
required
Minimum string length: 1

Response

Content response

type
string
required
Allowed value: "file"
name
string
required
path
string
required
sha
string
required
size
number
required
encoding
string
required
Allowed value: "base64"
content
string
required