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

list-cloud-diagram-activity-groups

dci list-cloud-diagram-activity-groups [flags]

Returns snapshot activity groups for the specified diagram layer, ordered by timestamp descending. Each group contains a snapshot reference and the individual activity records that belong to it.

Flags

--ss-id: (string)

--limit: (integer)

--offset: (integer)

--tags: (array)

Responses

200 (application/json)

OK - Activity groups returned.

{
"type": "array",
"items": {
"type": "object",
"required": [
"_id",
"statussheet",
"timestamp",
"snapshot"
],
"description": "A snapshot activity group containing the individual activity records that produced it.",
"properties": {
"_id": {
"type": "string",
"description": "Activity group ID."
},
"statussheet": {
"type": "string",
"description": "Layer ID this group belongs to."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the activity group."
},
"tags": {
"type": "array",
"description": "Tags associated with the group.",
"items": {
"type": "string"
}
},
"snapshot": {
"type": "string",
"description": "ID of the associated snapshot (equal to the group ID)."
},
"items": {
"type": "array",
"description": "Individual activity records within this group.",
"items": {
"type": "object",
"required": [
"_id",
"group",
"activity",
"timestamp"
],
"description": "An individual activity record within an activity group.",
"properties": {
"_id": {
"type": "string",
"description": "Activity record ID."
},
"group": {
"type": "string",
"description": "ID of the activity group this record belongs to."
},
"activity": {
"type": "string",
"enum": [
"NODE_CREATE",
"NODE_UPDATE",
"NODE_DELETE",
"LINK_CREATE",
"LINK_UPDATE",
"LINK_DELETE",
"GROUP_CREATE",
"GROUP_UPDATE",
"GROUP_DELETE",
"ATTACHMENT_CREATE",
"ATTACHMENT_UPDATE",
"ATTACHMENT_DELETE"
],
"description": "Activity type."
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Activity-specific payload (structure varies by activity type)."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the activity."
},
"service_type": {
"type": "string",
"description": "Cloud service type the activity applies to."
},
"group_type": {
"type": "string",
"description": "Activity group sub-type."
},
"tags": {
"type": "array",
"description": "Tags associated with the activity.",
"items": {
"type": "string"
}
}
}
}
}
}
}
}

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."
}
}
}

Aliases: list-cloud-diagram-activity-groups, listclouddiagramactivitygroups