Admin Analytics

Get Users Resource Statistics ๐Ÿ“Š

Get all users with their resource counts (trackers, offers, PWAs) for a specific time range. If no time range is provided, counts for all time are returned. SUPERUSER only

get/api/v1/analytics/users/resources

Query parameters

startDatestring date-time nullable

Start date for filtering resources (ISO 8601 format). If not provided, all resources from the beginning are included.

Start date for filtering resources (ISO 8601 format). If not provided, all resources from the beginning are included.

endDatestring date-time nullable

End date for filtering resources (ISO 8601 format). If not provided, all resources until now are included.

End date for filtering resources (ISO 8601 format). If not provided, all resources until now are included.

pageinteger
sizeinteger

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required
pagesinteger required

Example response

{
  "items": [
    {
      "email": "user@example.com",
      "firstName": "John",
      "lastName": "Doe",
      "totalOffers": 10,
      "totalPwas": 3,
      "totalTrackers": 5,
      "userId": "123e4567-e89b-12d3-a456-426614174000",
      "username": "johndoe"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.