Activities describe any past activity in a site, for example creating an item of content,
commenting on a node, liking an item of content.
Activity object
| Property | Type | JSON Type | Description |
|---|---|---|---|
| postPersonId | email id | string | The id of the person who performed the activity |
| id | id | string | The unique id of the activity |
| siteId | id | string | The unique id of the site on which the activity was performed |
| postedAt | Date Time | string | The date time at which the activity was performed |
| feedPersonId | email id | string | The feed on which this activity was posted |
| activitySummary | object | object | An object summarizing the activity |
| activityType | enumerated string | string | The type of activity. The following are the possible values:-
|
Example of a network object
"postPersonId" : "fred.bloggs@yourcompany.com",
"id" : 554,
"siteId" : "fred-bloggs-yourcompany-com",
"networkId" : "yourcompany.com",
"feedPersonId" : "fred.bloggs@yourcompany.com",
"activitySummary" : {
"lastName" : "Bloggs",
"title" : "testing",
"objectId" : "e8680e58-0701-4b64-950d-66cce277fbc7",
"firstName" : "Fred",
},
"activityType" : "org.alfresco.comments.comment-deleted",
"postedAt" : "2012-08-22T19:45:00.000+0000"
List order
Lists of these entities are returned ordered by descending postedAt.