list-cloud-diagram-layer-snapshots
dci list-cloud-diagram-layer-snapshots id [flags]
Returns the list of saved snapshots for the specified diagram layer.
Flagsβ
--offset: (integer)
--limit: (integer)
--sort: (string)
Responsesβ
200 (application/json)β
OK - Snapshots returned.
{
"type": "array",
"items": {
"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: list-cloud-diagram-layer-snapshots, listclouddiagramlayersnapshots