Store watching time analytic for room
Room
Store watching time analytic for room
POST
Store watching time analytic for room
Documentation Index
Fetch the complete documentation index at: https://learn.social.plus/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
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.
RSA-SHA256 signature for request validation. Generated by:
- Sort data object keys alphabetically for each room
- Create key=value pairs (use ISO 8601 format for timestamps)
- Join pairs with '&' within each room
- Join multiple rooms with ';'
- Create signing string:
nonceStr={nonceStr}×tamp={timestamp}&data={dataStr}== - Sign with SHA256 using your RSA private key
- Base64 encode the signature
Example data string: endTime=2021-03-10T03:08:16.127Z&roomId=room123&sessionId=session1&startTime=2021-03-10T03:07:16.127Z&watchSeconds=60
unique string for each request, max length 50
timestamp string in UTC format
Example:
"2021-03-10T03:07:16.127Z"
Response
event is processed successfully
Example:
true