List party activity streak
Get a party's activity across epochs.
Path Parameters
partyId string required
Party ID to get the activity streak for.
Query Parameters
epoch uint64
Epoch to get the activity streak for. If not set, the last complete epoch is used.
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
activityStreak object
{
"activityStreak": {
"activeFor": "string",
"epoch": "string",
"inactiveFor": "string",
"isActive": true,
"openVolume": "string",
"party": "string",
"rewardDistributionActivityMultiplier": "string",
"rewardVestingActivityMultiplier": "string",
"tradedVolume": "string"
}
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/party/activity/streak/:partyId
Request
Request
curl / cURL
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/party/activity/streak/:partyId' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/party/activity/streak/:partyId' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/party/activity/streak/:partyId' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/party/activity/streak/:partyId' \
-H 'Accept: application/json'