POST
/
calculate-streak

Query Parameters

increase
boolean

Can be added to the query string to increase a user's streak. If needed, set increase = true

Body

application/json
userID
string
required

The unique identifier of the user to calculate the streak for.

Response

200 - application/json
200
integer

HTTP status code indicating a successful operation.

streak
string

Specifies the user's calculated streak.