Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required array length:
1 - 1000 elementsResponse
ok, not returning any data
curl --request POST \
--url https://apix.us.amity.co/api/v1/analytics/activities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activities": [
{
"contentId": "60e4b1b4b3b2b5c4c4b3b2b5",
"contentType": "post",
"activityType": "view",
"timestamp": "2017-07-21T17:32:28Z"
}
]
}'This response does not have an example.Send a batch of analytic activities to the server, currently only support viewing post/story and story link clicked activities.
impression and reach of the post/story will be updated list of users from /api/v1/analytics/views/posts/{postId}/users will be updated too. (but not immediately)curl --request POST \
--url https://apix.us.amity.co/api/v1/analytics/activities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activities": [
{
"contentId": "60e4b1b4b3b2b5c4c4b3b2b5",
"contentType": "post",
"activityType": "view",
"timestamp": "2017-07-21T17:32:28Z"
}
]
}'This response does not have an example.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 - 1000 elementsShow child attributes
ok, not returning any data