List team members' statistics
GEThttps://api.n00.testnet.vega.rocks/api/v2/teams/:teamId/stats
Get the statistics for all members of a given team, or for a specific member by using party ID, over a number of epochs. If a team does not have at least the number of epochs' worth of data, it is ignored.
Request
Path Parameters
Restrict team statistics to those with the given team ID.
Query Parameters
Restrict team members' statistics to those with the given party ID.
Defines the number of past epochs to aggregate data from. By default, it takes the last 10 epochs.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Whether to order the results with the newest records first. If not set, the default value is true.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
statistics object
{
"statistics": {
"edges": [
{
"cursor": "string",
"node": {
"gamesPlayed": [
"string"
],
"partyId": "string",
"quantumRewards": [
{
"epoch": "string",
"totalQuantumRewards": "string"
}
],
"quantumVolumes": [
{
"epoch": "string",
"totalQuantumVolumes": "string"
}
],
"totalGamesPlayed": "string",
"totalQuantumRewards": "string",
"totalQuantumVolume": "string"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
An internal server error
- application/json
- Schema
- Example (from schema)
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://api.n00.testnet.vega.rocks/api/v2/teams/:teamId/stats' \
-H 'Accept: application/json'