POST
/
api
/
v3
/
user-event
/
video-streaming
create user event for video streaming
curl --request POST \
  --url https://apix.us.amity.co/api/v3/user-event/video-streaming \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "signature": "<string>",
  "nonceStr": "<string>",
  "timestamp": "2021-03-10T03:07:16.127Z",
  "streams": [
    {
      "sessionId": "<string>",
      "streamId": "<string>",
      "startTime": "2021-03-10T03:07:16.127Z",
      "endTime": "2021-03-10T03:07:16.127Z",
      "watchSeconds": 120
    }
  ]
}'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

A group of user activity on startTime, endTime and watchSeconds.

The body is of type object.

Response

200
application/json

event is processed successfully

The response is of type object.