Xp
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
/admin/xp/weekly/statsGET /api/v2/admin/xp/weekly/stats?userIds=1&weekStart=text&weekEnd=text HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"ANY_ADDITIONAL_PROPERTY": "text"
}
]Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
/admin/xp/weekly/active-usersGET /api/v2/admin/xp/weekly/active-users?weekStart=text&weekEnd=text 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
/xp/user/{userkey}GET /api/v2/xp/user/{userkey} HTTP/1.1
Host: api.ethos.network
Accept: */*
1Path 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
/xp/user/{userkey}/season/{seasonId}GET /api/v2/xp/user/{userkey}/season/{seasonId} HTTP/1.1
Host: api.ethos.network
Accept: */*
1Path 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
/xp/user/{userkey}/season/{seasonId}/weeklyGET /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
/xp/seasonsGET /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
/xp/season/{seasonId}/weeksGET /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
/xp/user/{userkey}/leaderboard-rankGET /api/v2/xp/user/{userkey}/leaderboard-rank HTTP/1.1
Host: api.ethos.network
Accept: */*
1Last updated