deployments
Get Deployment File Contents
Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.
GET
Authorizations
Default authentication mechanism
Path Parameters
The unique deployment identifier
The unique file identifier
Query Parameters
Path to the file to fetch (only for Git deployments)
The Team identifier to perform the request on behalf of.
Example:
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
Example:
"my-team-url-slug"
Response
200
application/json
File content as base64 encoded string
The response is of type object
.