The soc:activity node type has the following properties:
Property Name | Required Type | Multiple | Description |
---|---|---|---|
soc:identity | Reference | false | The identity whose activity stream contains an activity. |
soc:posterIdentity | Reference | false | The identity of the user who creates an activity. |
soc:title | String | false | The string which specifies the primary text of an activity. |
soc:titleId | String | false | The title Id of an activity. |
soc:appId | String | false | The application Id which creates an activity. |
soc:body | String | false | The string which specifies the body template message Id in the gadget specification. The body is an optional extended version of an activity. |
soc:bodyId | String | false | The body Id of an activity. |
soc:type | String | false | The application Id which creates an activity. |
soc:externalId | String | false | An optional string Id which is generated by the posting application. |
soc:url | String | false | The URL to access an activity. |
soc:priority | Float | false | A float number between '0' and '1' which represents the relative priority level of an activity in relation to other activities from the same source. |
soc:likes | String | true | The list of identity Ids who like the activity. |
soc:isComment | Boolean | false | Specifies if an activity is a comment or not. The default value is false, meaning that it is a normal activity. |
soc:postedTime | Long | false | The number which specifies the time at which an activity took place in milliseconds since the epoch. |
soc:lastUpdated | Long | false | Stores the latest update of an activity. |
soc:mentioners | String | true | Stores Id of identities mentioned in an activity. |
The soc:activity node type has the following child nodes:
Child Nodes | Default Primary Type | Description |
---|---|---|
* | soc:activity | All comments of the identity. The child is the posted time stamp. |
soc:params | soc:activityparam | The activity parameters. |
The soc:activity node type has two mixin types: soc:hidable, and soc:lockable
.The soc:hidable mixtin type has the following properties:
Property Name | Required Type | Multiple | Description |
---|---|---|---|
soc:isHidden | Boolean | false | Activities that are hidden on the activity stream. |
The soc:lockable mixtin type has the following properties:
Property Name | Required Type | Multiple | Description |
---|---|---|---|
soc:isLocked | Boolean | false | Disables the Comment feature on an activity. |