GET
/api/v1/team/sessions
Geräteübergreifende Profilbelegung gebündelt abrufen
Anfrage#
POSIX-Shell · curl
curl --fail-with-body --request GET \
"$ADBR_API_URL/api/v1/team/sessions" \
-H "Authorization: Bearer $ADBR_API_TOKEN"Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs.
Authentifizierung und Rechte#
Authentifizierung: Bearer-Token
Scopes: profiles:read
Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.
Parameter#
Keine Pfad- oder Query-Parameter deklariert.
Anfragekörper#
Kein Anfragekörper deklariert.
Antworten#
200 · Standardantwort
OpenAPI JSON
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"supported",
"strict",
"observed_at",
"items"
],
"properties": {
"supported": {
"type": "boolean"
},
"strict": {
"type": "boolean"
},
"observed_at": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"profile_id",
"remote_id",
"lease"
],
"properties": {
"profile_id": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"forced_snapshot": {
"type": "boolean"
},
"recovery_checkpoint_at": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"member_id",
"member_name",
"email",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"expires_at"
],
"properties": {
"id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"last_seen_at": {
"type": "integer"
},
"online": {
"type": "boolean"
},
"local": {
"type": "boolean"
},
"can_resume": {
"type": "boolean"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"handover": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"source_session_id",
"generation",
"requester_id",
"target_member_id",
"mode",
"force",
"state",
"final_version"
],
"properties": {
"requester_name": {
"type": [
"string",
"null"
]
},
"target_device_name": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"source_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"requester_id": {
"type": "string"
},
"target_member_id": {
"type": [
"string",
"null"
]
},
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"takeover"
]
},
{
"type": "string",
"enum": [
"close"
]
}
]
},
"force": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string",
"enum": [
"requested"
]
},
{
"type": "string",
"enum": [
"awaiting_approval"
]
},
{
"type": "string",
"enum": [
"accepted"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"failed"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"completed"
]
},
{
"type": "string",
"enum": [
"cancelled"
]
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"target_session": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"member_id",
"base_version",
"expires_at",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"generation",
"phase",
"kernel_started",
"start_id",
"last_seen_at",
"kernel",
"termination",
"final_version",
"revoked"
],
"properties": {
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"member_id": {
"type": "string"
},
"base_version": {
"type": "integer"
},
"expires_at": {
"type": "integer"
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"start_id": {
"type": [
"string",
"null"
]
},
"last_seen_at": {
"type": "integer"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"termination": {
"anyOf": [
{
"type": "object",
"required": [
"start_id",
"tree_empty",
"end_kind",
"cookies_preserved"
],
"properties": {
"start_id": {
"type": "string"
},
"tree_empty": {
"type": "boolean"
},
"end_kind": {
"anyOf": [
{
"type": "string",
"enum": [
"clean"
]
},
{
"type": "string",
"enum": [
"forced"
]
},
{
"type": "string",
"enum": [
"crashed"
]
}
]
},
"cookies_preserved": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"revoked": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"can_approve": {
"type": "boolean"
},
"hard_end": {
"type": "boolean"
},
"created_at": {
"type": "integer"
},
"updated_at": {
"type": "integer"
},
"error": {
"type": [
"string",
"null"
]
},
"notices": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
},
"actions": {
"type": "object",
"properties": {
"takeover": {
"type": "boolean"
},
"close": {
"type": "boolean"
},
"force": {
"type": "boolean"
},
"discard": {
"type": "boolean"
},
"request_approval": {
"type": "boolean"
},
"stop": {
"type": "boolean"
}
}
},
"member_id": {
"type": "string"
},
"member_name": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"expires_at": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
},
"operation": {
"type": "object",
"required": [
"id",
"profile_id",
"source_session_id",
"generation",
"requester_id",
"target_member_id",
"mode",
"force",
"state",
"final_version",
"error",
"phase",
"can_cancel",
"can_retry"
],
"properties": {
"requester_name": {
"type": [
"string",
"null"
]
},
"target_device_name": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"source_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"requester_id": {
"type": "string"
},
"target_member_id": {
"type": [
"string",
"null"
]
},
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"takeover"
]
},
{
"type": "string",
"enum": [
"close"
]
}
]
},
"force": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string",
"enum": [
"requested"
]
},
{
"type": "string",
"enum": [
"awaiting_approval"
]
},
{
"type": "string",
"enum": [
"accepted"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"failed"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"completed"
]
},
{
"type": "string",
"enum": [
"cancelled"
]
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"target_session": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"member_id",
"base_version",
"expires_at",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"generation",
"phase",
"kernel_started",
"start_id",
"last_seen_at",
"kernel",
"termination",
"final_version",
"revoked"
],
"properties": {
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"member_id": {
"type": "string"
},
"base_version": {
"type": "integer"
},
"expires_at": {
"type": "integer"
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"start_id": {
"type": [
"string",
"null"
]
},
"last_seen_at": {
"type": "integer"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"termination": {
"anyOf": [
{
"type": "object",
"required": [
"start_id",
"tree_empty",
"end_kind",
"cookies_preserved"
],
"properties": {
"start_id": {
"type": "string"
},
"tree_empty": {
"type": "boolean"
},
"end_kind": {
"anyOf": [
{
"type": "string",
"enum": [
"clean"
]
},
{
"type": "string",
"enum": [
"forced"
]
},
{
"type": "string",
"enum": [
"crashed"
]
}
]
},
"cookies_preserved": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"revoked": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"can_approve": {
"type": "boolean"
},
"hard_end": {
"type": "boolean"
},
"created_at": {
"type": "integer"
},
"updated_at": {
"type": "integer"
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"notices": {
"type": "array",
"items": {
"type": "string"
}
},
"phase": {
"type": "string"
},
"server_state": {
"type": "string"
},
"target_error": {
"type": "object",
"required": [
"code",
"message",
"stage",
"recovery_required",
"target_session_id",
"generation",
"observed_at"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"stage": {
"anyOf": [
{
"type": "string",
"enum": [
"preflight"
]
},
{
"type": "string",
"enum": [
"download"
]
},
{
"type": "string",
"enum": [
"import"
]
},
{
"type": "string",
"enum": [
"start"
]
},
{
"type": "string",
"enum": [
"ack"
]
}
]
},
"recovery_required": {
"type": "boolean"
},
"target_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"observed_at": {
"type": "integer"
}
}
},
"can_cancel": {
"type": "boolean"
},
"can_retry": {
"type": "boolean"
}
}
},
"error": {
"type": "string"
}
}
}
}
}
}
}
}
}default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.
OpenAPI-Definition#
Vollständige Operationsdefinition
OpenAPI JSON
{
"summary": "Geräteübergreifende Profilbelegung gebündelt abrufen",
"tags": [
"Team"
],
"description": "Belegung einschließlich Aktualität und erlaubten Aktionen. Eine Anzeige erteilt keine Startberechtigung.",
"x-required-scopes": [
"profiles:read"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"supported",
"strict",
"observed_at",
"items"
],
"properties": {
"supported": {
"type": "boolean"
},
"strict": {
"type": "boolean"
},
"observed_at": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"profile_id",
"remote_id",
"lease"
],
"properties": {
"profile_id": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"forced_snapshot": {
"type": "boolean"
},
"recovery_checkpoint_at": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"member_id",
"member_name",
"email",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"expires_at"
],
"properties": {
"id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"last_seen_at": {
"type": "integer"
},
"online": {
"type": "boolean"
},
"local": {
"type": "boolean"
},
"can_resume": {
"type": "boolean"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"handover": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"source_session_id",
"generation",
"requester_id",
"target_member_id",
"mode",
"force",
"state",
"final_version"
],
"properties": {
"requester_name": {
"type": [
"string",
"null"
]
},
"target_device_name": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"source_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"requester_id": {
"type": "string"
},
"target_member_id": {
"type": [
"string",
"null"
]
},
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"takeover"
]
},
{
"type": "string",
"enum": [
"close"
]
}
]
},
"force": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string",
"enum": [
"requested"
]
},
{
"type": "string",
"enum": [
"awaiting_approval"
]
},
{
"type": "string",
"enum": [
"accepted"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"failed"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"completed"
]
},
{
"type": "string",
"enum": [
"cancelled"
]
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"target_session": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"member_id",
"base_version",
"expires_at",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"generation",
"phase",
"kernel_started",
"start_id",
"last_seen_at",
"kernel",
"termination",
"final_version",
"revoked"
],
"properties": {
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"member_id": {
"type": "string"
},
"base_version": {
"type": "integer"
},
"expires_at": {
"type": "integer"
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"start_id": {
"type": [
"string",
"null"
]
},
"last_seen_at": {
"type": "integer"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"termination": {
"anyOf": [
{
"type": "object",
"required": [
"start_id",
"tree_empty",
"end_kind",
"cookies_preserved"
],
"properties": {
"start_id": {
"type": "string"
},
"tree_empty": {
"type": "boolean"
},
"end_kind": {
"anyOf": [
{
"type": "string",
"enum": [
"clean"
]
},
{
"type": "string",
"enum": [
"forced"
]
},
{
"type": "string",
"enum": [
"crashed"
]
}
]
},
"cookies_preserved": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"revoked": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"can_approve": {
"type": "boolean"
},
"hard_end": {
"type": "boolean"
},
"created_at": {
"type": "integer"
},
"updated_at": {
"type": "integer"
},
"error": {
"type": [
"string",
"null"
]
},
"notices": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "null"
}
]
},
"actions": {
"type": "object",
"properties": {
"takeover": {
"type": "boolean"
},
"close": {
"type": "boolean"
},
"force": {
"type": "boolean"
},
"discard": {
"type": "boolean"
},
"request_approval": {
"type": "boolean"
},
"stop": {
"type": "boolean"
}
}
},
"member_id": {
"type": "string"
},
"member_name": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"expires_at": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
},
"operation": {
"type": "object",
"required": [
"id",
"profile_id",
"source_session_id",
"generation",
"requester_id",
"target_member_id",
"mode",
"force",
"state",
"final_version",
"error",
"phase",
"can_cancel",
"can_retry"
],
"properties": {
"requester_name": {
"type": [
"string",
"null"
]
},
"target_device_name": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"source_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"requester_id": {
"type": "string"
},
"target_member_id": {
"type": [
"string",
"null"
]
},
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"takeover"
]
},
{
"type": "string",
"enum": [
"close"
]
}
]
},
"force": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string",
"enum": [
"requested"
]
},
{
"type": "string",
"enum": [
"awaiting_approval"
]
},
{
"type": "string",
"enum": [
"accepted"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"failed"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"completed"
]
},
{
"type": "string",
"enum": [
"cancelled"
]
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"target_session": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"profile_id",
"member_id",
"base_version",
"expires_at",
"device_id",
"device_name",
"purpose",
"acquired_at",
"renewed_at",
"generation",
"phase",
"kernel_started",
"start_id",
"last_seen_at",
"kernel",
"termination",
"final_version",
"revoked"
],
"properties": {
"id": {
"type": "string"
},
"profile_id": {
"type": "string"
},
"member_id": {
"type": "string"
},
"base_version": {
"type": "integer"
},
"expires_at": {
"type": "integer"
},
"device_id": {
"type": [
"string",
"null"
]
},
"device_name": {
"type": [
"string",
"null"
]
},
"purpose": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"runtime"
]
},
{
"type": "string",
"enum": [
"publish"
]
}
]
},
{
"type": "null"
}
]
},
"acquired_at": {
"type": [
"integer",
"null"
]
},
"renewed_at": {
"type": [
"integer",
"null"
]
},
"generation": {
"type": "integer"
},
"phase": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing"
]
},
{
"type": "string",
"enum": [
"reserved"
]
},
{
"type": "string",
"enum": [
"running"
]
},
{
"type": "string",
"enum": [
"stopping"
]
},
{
"type": "string",
"enum": [
"stopped"
]
},
{
"type": "string",
"enum": [
"syncing"
]
},
{
"type": "string",
"enum": [
"sync_failed"
]
},
{
"type": "string",
"enum": [
"recovery_required"
]
}
]
},
"kernel_started": {
"type": "boolean"
},
"start_id": {
"type": [
"string",
"null"
]
},
"last_seen_at": {
"type": "integer"
},
"kernel": {
"anyOf": [
{
"type": "object",
"required": [
"engine",
"build"
],
"properties": {
"engine": {
"type": "string"
},
"build": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"termination": {
"anyOf": [
{
"type": "object",
"required": [
"start_id",
"tree_empty",
"end_kind",
"cookies_preserved"
],
"properties": {
"start_id": {
"type": "string"
},
"tree_empty": {
"type": "boolean"
},
"end_kind": {
"anyOf": [
{
"type": "string",
"enum": [
"clean"
]
},
{
"type": "string",
"enum": [
"forced"
]
},
{
"type": "string",
"enum": [
"crashed"
]
}
]
},
"cookies_preserved": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"final_version": {
"type": [
"integer",
"null"
]
},
"revoked": {
"type": "boolean"
}
}
},
{
"type": "null"
}
]
},
"can_approve": {
"type": "boolean"
},
"hard_end": {
"type": "boolean"
},
"created_at": {
"type": "integer"
},
"updated_at": {
"type": "integer"
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"notices": {
"type": "array",
"items": {
"type": "string"
}
},
"phase": {
"type": "string"
},
"server_state": {
"type": "string"
},
"target_error": {
"type": "object",
"required": [
"code",
"message",
"stage",
"recovery_required",
"target_session_id",
"generation",
"observed_at"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"stage": {
"anyOf": [
{
"type": "string",
"enum": [
"preflight"
]
},
{
"type": "string",
"enum": [
"download"
]
},
{
"type": "string",
"enum": [
"import"
]
},
{
"type": "string",
"enum": [
"start"
]
},
{
"type": "string",
"enum": [
"ack"
]
}
]
},
"recovery_required": {
"type": "boolean"
},
"target_session_id": {
"type": "string"
},
"generation": {
"type": "integer"
},
"observed_at": {
"type": "integer"
}
}
},
"can_cancel": {
"type": "boolean"
},
"can_retry": {
"type": "boolean"
}
}
},
"error": {
"type": "string"
}
}
}
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}