Download the compose YAML for a version
GET
/apps/{slug}/versions/{id}/download
const url = 'https://your-server.example/api/apps/example/versions/1/download';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-server.example/api/apps/example/versions/1/download \ --cookie session=<session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
App slug (lowercase, dash-separated).
id
required
integer format: int64
Responses
Section titled “Responses”Raw compose file.
Media typetext/yaml
string