List App Versions
Lists every version of an App, newest first. page_size and page_token are not applied yet: the whole history is returned in one page.
Access: namespace VIEWER or above (read)
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 64validate:skip not read by the server today; every version is returned
Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.AppService/ListAppVersions" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"versions": [
{
"versionId": "string",
"appId": "string",
"environmentId": "string",
"port": 0,
"workspace": {
"snapshotId": "string",
"mountPath": "string",
"readOnly": true,
"workspaceId": "string",
"ephemeral": true,
"ephemeralFromSnapshotId": "string",
"volume": {
"sizeMb": "string",
"seedSnapshotId": "string",
"cacheKey": "string"
}
},
"state": "APP_VERSION_STATE_UNSPECIFIED",
"label": "string",
"createdAtUnix": "string",
"workspaces": [
{
"snapshotId": "string",
"mountPath": "string",
"readOnly": true,
"workspaceId": "string",
"ephemeral": true,
"ephemeralFromSnapshotId": "string",
"volume": {
"sizeMb": "string",
"seedSnapshotId": "string",
"cacheKey": "string"
}
}
],
"workingDir": "string"
}
],
"nextPageToken": "string"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}List Apps POST
Lists Apps in a namespace, newest first. page_size defaults to 100 and is clamped to 1000. **Access:** namespace VIEWER or above (read). `namespace` is required unless the caller is a platform admin, for whom empty covers every namespace.
Promote App Version POST
Moves the App's traffic pointer to a version and marks the previously active one superseded. Returns immediately without waiting for the version to warm; running instances of the old version are reaped once idle. InvalidArgument if the version belongs to another App. **Access:** namespace OPERATOR or above (write)