stacks
Retrieve the content of the Stack file for the specified stack
Get Stack file content. Access policy: restricted
get/stacks/{id}/file
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/stacks/{id}/file
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
Path parameters
idinteger required
Stack identifier
Response
Success
Example response
{
"StackFileContent": "version: 3\n services:\n web:\n image:nginx"
}Changes
No recorded changes to this operation across all 21 revisions of this API.