Context - Runtime
Read runtime sandbox file as raw bytes
Stream the raw bytes of a file from the workspace context repository's default branch on GitHub, with a resolved Content-Type header. Used by the file viewer for binary previews (images, PDFs).
get/context/runtime/raw
Request
- Base URLhttps://api.getcargo.io/v1
- URLhttps://api.getcargo.io/v1/context/runtime/raw
- AuthHTTP bearer
Query parameters
pathstring required
Repository-relative path of the file to fetch. The response is the raw bytes from the configured default branch on GitHub.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.