Skip to main content

list-cloud-diagram-node-activities

dci list-cloud-diagram-node-activities [flags]

Returns individual activity records for the specified component node, ordered by timestamp descending.

Flags

--ss-id: (string)

--node-id: (string)

--limit: (integer)

--offset: (integer)

Output

OK - Node activity records returned.

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
[]._idstringActivity record ID.
[].activitystringActivity type. One of: "NODE_CREATE", "NODE_UPDATE", "NODE_DELETE".
[].metadataobjectActivity-specific payload (structure varies by activity type).
[].timestampstring (date-time)Timestamp of the activity.
[].userstringID of the user who performed the activity.
[].statussheetstringLayer ID where the activity occurred.
Raw JSON schema
{
"type": "array",
"items": {
"type": "object",
"required": [
"_id",
"activity",
"timestamp",
"user",
"statussheet"
],
"description": "An individual activity record scoped to a specific component node.",
"properties": {
"_id": {
"type": "string",
"description": "Activity record ID."
},
"activity": {
"type": "string",
"enum": [
"NODE_CREATE",
"NODE_UPDATE",
"NODE_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."
},
"user": {
"type": "string",
"description": "ID of the user who performed the activity."
},
"statussheet": {
"type": "string",
"description": "Layer ID where the activity occurred."
}
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.

Aliases: listclouddiagramnodeactivities