Repository
Get a blob object
Retrieve, by hash, an object representing a blob in the repository backing a project. This endpoint allows direct read-only access to the contents of files in a repo. It returns the file in the content field of the response object, encoded according to the format in the encoding field, e.g. base64.
get/projects/{projectId}/git/blobs/{repositoryBlobId}
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
repositoryBlobIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.