events_events_top_per_user_list
GET/api/v3//events/events/top_per_user/
Get the top_n events grouped by user count
Request
Query Parameters
action string
top_n integer
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
application objectrequired
counted_eventsintegerrequired
unique_usersintegerrequired
[
{
"application": {},
"counted_events": 0,
"unique_users": 0
}
]
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/events/events/top_per_user/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());