v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13132276.2 KB
users

Lists sessions previously created.

get/{userId}/sessions

Path parameters

userIdstring required

List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

Query parameters

activityTypeinteger[]

If non-empty, only sessions with these activity types should be returned.

endTimestring

An RFC3339 timestamp. Only sessions starting before endTime and ending after startTime up to (endTime + 1 day) will be included in the response. If this time is omitted but startTime is specified, all sessions ending after startTime to the end of time will be returned.

includeDeletedboolean

If true, and if both startTime and endTime are omitted, session deletions will be returned.

pageTokenstring

The continuation token, which is used for incremental syncing. To get the next batch of changes, set this parameter to the value of nextPageToken from the previous response. The page token is ignored if either start or end time is specified. If none of start time, end time, and the page token is specified, sessions modified in the last 30 days are returned.

startTimestring

An RFC3339 timestamp. Only sessions starting before endTime and ending after startTime up to (endTime + 1 day) will be included in the response. If this time is omitted but endTime is specified, all sessions starting before endTime and ending after the start of time up to (endTime + 1 day) will be returned.

Response

Successful response