メインコンテンツへスキップ

get-cloud-diagram-layer-snapshot

dci get-cloud-diagram-layer-snapshot id [flags]

Returns a single snapshot of the specified diagram layer identified by its ID.

Flags

---id: (string)

Responses

200 (application/json)

OK - Snapshot returned.

{
"type": "object",
"required": [
"_id",
"createdAt"
],
"description": "A saved snapshot of a diagram layer's state.",
"properties": {
"_id": {
"type": "string",
"description": "Snapshot ID."
},
"name": {
"type": "string",
"description": "Snapshot name."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the snapshot was created."
},
"prevState": {
"type": "string",
"description": "ID of the previous snapshot in the chain."
}
}
}

400 (application/json)

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

404 (application/json)

Not Found - The requested resource does not exist.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: get-cloud-diagram-layer-snapshot, getclouddiagramlayersnapshot