cURL
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>" }
Get file content or directory listing at a path. Returns file content (base64 or binary) for files, or a list of entries for directories.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
Content response
"file"
"base64"