You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Session is a rolling 5 minutes window. If an event schema is send before 5 minutes from the last event schema passed - it's the same session.
If an event is sent after 5 minutes since previous event - it's a new session.
Also, if it is a first event schema sent from current app instance - it's a new session.
Session is identified by a session id - a UUID.
API doc
Endpoint: api.avo.app/inspector/v1/track
Method: POST
Every time new session starts we need to send the following payload to the API:
### HTTP Responses
- Server returns a `200` response for successful API requests.
- Server returns a `400` response for invalid requests.
Invalid requests include:
- `Content-type header missing`
- `Invalid API key
Write tests for the session tracking and the payload generated for the API calls.
Client should group event schemas into sessions.
Session is a rolling 5 minutes window. If an event schema is send before 5 minutes from the last event schema passed - it's the same session.
If an event is sent after 5 minutes since previous event - it's a new session.
Also, if it is a first event schema sent from current app instance - it's a new session.
Session is identified by a session id - a UUID.
API doc
Endpoint:
api.avo.app/inspector/v1/track
Method:
POST
Every time new session starts we need to send the following payload to the API:
Write tests for the session tracking and the payload generated for the API calls.
Reference
https://github.com/avohq/node-avo-inspector/blob/main/src/AvoSessionTracker.ts
https://github.com/avohq/node-avo-inspector/blob/main/src/__tests__/Sessions.ts
The text was updated successfully, but these errors were encountered: