Xp
Authorizations
Query parameters
userIdsinteger[] · min: 1 · max: 100Required
weekStartstringRequired
weekEndstringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/admin/xp/weekly/stats HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
]
Authorizations
Query parameters
weekStartstringRequired
weekEndstringRequired
Responses
200
Successful response
application/json
Responseinteger[]
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/admin/xp/weekly/active-users HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
1
]
Path parameters
userkeystringRequired
Responses
200
Successful response
application/json
Responsenumber
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/user/{userkey} HTTP/1.1
Host: api.ethos.network
Accept: */*
1
Path parameters
userkeystringRequired
seasonIdnumberRequired
Responses
200
Successful response
application/json
Responsenumber
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/user/{userkey}/season/{seasonId} HTTP/1.1
Host: api.ethos.network
Accept: */*
1
Path parameters
userkeystringRequired
seasonIdnumberRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/user/{userkey}/season/{seasonId}/weekly HTTP/1.1
Host: api.ethos.network
Accept: */*
[
{
"week": 1,
"weeklyXp": 1,
"cumulativeXp": 1
}
]
Responses
200
Successful response
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/seasons HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"seasons": [
{
"id": 1,
"name": "text",
"startDate": "text"
}
],
"currentSeason": {
"id": 1,
"name": "text",
"startDate": "text",
"week": 1
}
}
Path parameters
seasonIdnumberRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/season/{seasonId}/weeks HTTP/1.1
Host: api.ethos.network
Accept: */*
[
{
"week": 1,
"startDate": "text",
"endDate": "text"
}
]
Path parameters
userkeystringRequired
Responses
200
Successful response
application/json
Responsenumber
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/xp/user/{userkey}/leaderboard-rank HTTP/1.1
Host: api.ethos.network
Accept: */*
1