Analysis API
SaaSus Analysis API Schema (1.0.0)
SaaSus Analysis API Schema
Analysis of user behavior on the day
Analysis of user behavior on the day.
Authorizations:
Bearer
Request Body schema: application/json
timestamp required | integer (Date subject to renewal) Date subject to renewal |
user_id required | string (Uuid) |
required | Array of objects (UserBehaviorHistory) user behavior history list |
Responses
Request samples
- Payload
Content type
application/json
{- "timestamp": 1640995200,
- "user_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775",
}
Response samples
- 500
Content type
application/json
{- "type": "permission_denied",
- "message": "Error message"
}
Acquisition of user behavior history
Obtain user activity history for the past month.
Authorizations:
Bearer
path Parameters
user_id required | string Example: f94bfffc-8be2-11ec-b41a-0242ac120004 User ID |
Responses
Response samples
- 200
- 500
Content type
application/json
{- "histories": [
- {
- "behaved_at": 1640995200,
}
]
}