...
Activity fields:
Include Page |
---|
| Aggie Feed Aggiefeed Activity ModelAggie Feed |
---|
| Aggiefeed Activity Model |
---|
|
Sample request body containing the activity (JSON):
Code Block |
---|
|
{
"activity" : {
"icon": "icon-comment-alt",
"actor": {
"id" : "department identifier",
"objectType": "person",
"displayName": "Department Name",
"author" : {
"id" : "kName",
"displayName" : "FirstName LastName"
}
},
"verb": "post",
"title": "Test Notification",
"object": {
"ucdSrcId" : "content identifier",
"objectType": "notification",
"content": "This is a test notification",
"ucdEdusModel" : {
"url" : "http://ucdavis.edu",
"urlDisplayName" : "UC Davis"
}
},
"to" : [
{
"groupsid" : ["studentspublic",
"facultyg"]: true,
"usersi" : []false
}],
"ucdEdusMeta" : {
"labels" : ["~academic", "some-label"],
"authzId" : "<Same as actor.author.id>",
"startDate" : "date string",
"endDate" : "date string"
}
}}
|