Content Services event data payload/attributes:
Property | Type | Description |
---|---|---|
data.eventGroupId | String | Optional unique identifier for events group, i.e. a transaction ID. Multiple nodes can be created in the same transaction. |
data.resource | Object (varies) | The object representing the resource affected. Here the resource represents a node in the Alfresco Repository. |
data.resource.@type | String | The type of resource object (NodeResource, ChildAssociationResource). |
data.resource.id | String | The Alfresco Repository Node Id for the resource (e.g. node such as folder or file) that the data represent. |
data.resource.primaryHierarchy | Array | Optional primary hierarchy of ancestors of the resource affected, i.e. folder path for the node. Note that the first element is the immediate parent. |
data.resource.name | String | The name of the resource. This is the name of the node, e.g. the name of a folder or a file. |
data.resource.nodeType | String | A content model type, such as cm:content for a file or cm:folder for a folder. See Content Model Extension Point. |
data.resource.createdByUser | Object | The id (String) and display name (String) of the user that created the node. |
data.resource.createdAt | String | The time a node was created. |
data.resource.modifiedByUser | Object | The id (String) and display name (String) of the user that modified/updated the node. |
data.resource.modifiedAt | String | The time a node was modified/updated. |
data.resource.content | Object | If the node is of content type cm:content (i.e. a file), then this object contains information about the file, such as MIME-type and size. |
data.resource.properties | Object | Content model properties corresponding to the data.resource.nodeType. For more information, see Content Model Extension Point. |
data.resource.aspectNames | Array | Content model aspects that have been applied to the node. For more information, see Content Model Extension Point. |
data.resource.isFolder | Boolean | true if this node is of type cm:folder. |
data.resource.isFile | Boolean | true if this node is of type cm:content. |
data.resource.resourceReaderAuthorities | Array | (Enterprise Only) The authority IDs, such as
GROUP_EVERYONE, that have READ access to the
resource affected by the event. Note: This property
will not be present in the event when authorities
generation is disabled.
|
data.resource.resourceDeniedAuthorities | Array | (Enterprise Only) The authority IDs, such as
GROUP_EVERYONE, that are denied READ access to the
resource affected by the event. Note: This
property will not be present in the event when authorities
generation is disabled.
|
data.resource.resourceReaderSecurityControls | Array | (Enterprise Only) The Governance security
controls that have been placed on the resource affected by the
event. Note: This property is only available
for AGS. Also, it will not be present in the event response when
authorities generation is disabled or when the
AGS module is not installed.
|
data.resourceBefore | Object (varies) | The object representing the old values of the changed resource’s
attributes. Note: This object is only available on
the org.alfresco.event.node.Updated event
type.
|
For a detailed view of the event data refer to Repo Event JSON schema.