Get Usage
GET
https://api.gamification.marshalldoes.dev/v1/player/usage
Records and fetches the usage of this service. It increments a counter every time it is called to count as one ‘access’, and returns the last X days of accesses. It uses days since the unix epoch and relies on a self-reported day to support varying timezones. Returns an array of the amount of times the user has accessed this service, one record per day for the last X days. The last entry is today
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” day
integer format: int32
The day since the unix epoch in users local timezone
Responses
Section titled “ Responses ”OK
object
accessDays
required
Array<integer>
startDay
required
integer format: int32
Unauthorized
string