v13

latestOpenAPI 3.0.0zlibraw.githubusercontent.com2026-08-01265409652.5 KB
stacks

Retrieve the content of the Stack file for the specified stack

Get Stack file content. Access policy: restricted

get/stacks/{id}/file

Path parameters

idinteger required

Stack identifier

Response

Success

StackFileContentstring

Content of the Stack file

Example response

{
  "StackFileContent": "version: 3\n services:\n web:\n image:nginx"
}