Skip to main content
GET
/
v1
/
repositories
/
{repository_id}
/
files
/
content
Get Repository File Content
curl --request GET \
  --url https://api.example.com/v1/repositories/{repository_id}/files/content \
  --header 'Authorization: Bearer <token>'
{
  "path": "<string>",
  "content": "<string>",
  "is_binary": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

repository_id
string<uuid>
required

Query Parameters

commit_hash
string
required

コミットハッシュ

path
string
required

ファイルパス(例: src/main.py)

Response

Successful Response

path
string
required
content
string
required
is_binary
boolean
required