...
Aggiefeed REST API: POST /api/v1/activity
Headers:
Headers | Comments |
---|---|
Authorization: ApiKey <api key> | Requires API KEY |
...
Activity fields:
Include Page | ||||
---|---|---|---|---|
|
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" } }} |