Authorizations
Path Parameters
ID of the user.
Query Parameters
The number of past streak periods to include in the streakHistory field of the response.
Response
Successful operation
An object representing the user's streak.
The length of the user's current streak.
The frequency of the streak.
Available options:
daily
, weekly
, monthly
, yearly
The date the streak started.
The start date of the current streak period.
The end date of the current streak period.
The date the streak will expire if the user does not increment a metric.
A list of the user's past streak periods up through the current period. Each period includes the start and end dates and the length of the streak.
The user's rank across all users. Null if the user has no active streak.
Example:
5