cURL
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 }
指定コミット時点の特定ファイル内容を返す。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
コミットハッシュ
ファイルパス(例: src/main.py)
Successful Response