Stasis
Code

Get file content

Get content of a specific file

GET
/api/v1/repos/{owner}/{repo}/blob/{ref}/{path}

Path Parameters

owner*string
repo*string
ref*string
path*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/repos/string/string/blob/string/string"
{
  "content": "string",
  "encoding": "string",
  "hash": "string",
  "is_binary": true,
  "name": "string",
  "path": "string",
  "ref": "string",
  "size": 0
}
Empty
Empty