Reference
Read file
Reads a file, or a byte range of it. Only the chunks in the range are fetched.
GET
bearerheader
AuthorizationBearer <token>namespace*stringA namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.
branch*stringA branch, such as main or agents/fix-1. Encode / as %2F.
path*stringLength
length <= 4096offset?|The first byte to read.
Range
0 <= valueDefault
0length?|The most bytes to read. The rest by default.
Range
0 <= valueat?stringRead an older commit of the branch instead of its head.
Match
^[0-9a-f]{64}$The bytes.
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://example.com/v1/namespaces/string/branches/string/files/content?path=string'Example Response
"string"