v13

latestOpenAPI 3.0.32026-07-31359869.4 MB
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/v8/deployments/{id}/files/{fileId}

Path parameters

idstring required

The unique deployment identifier

The unique deployment identifier

fileIdstring required

The unique file identifier

The unique file identifier

Query parameters

pathstring

Path to the file to fetch (only for Git deployments)

Path to the file to fetch (only for Git deployments)

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.