ADDRESS
DISCORD
TWITTER
PROFILE
50
0
GET /api/v2/users/search HTTP/1.1 Host: api.ethos.network Accept: */*
Successful response
{ "values": [ { "id": 1, "profileId": 1, "displayName": "text", "username": "text", "avatarUrl": "https://example.com", "description": "text", "score": 1, "status": "ACTIVE", "userkeys": [ "text" ], "xpTotal": 1, "xpStreakDays": 1, "stats": { "review": { "received": { "negative": 1, "neutral": 1, "positive": 1 } }, "vouch": { "given": { "amountWeiTotal": 1, "count": 1 }, "received": { "amountWeiTotal": 1, "count": 1 } } } } ], "total": 1, "limit": 1, "offset": 1 }
GET /api/v2/user/{userId} HTTP/1.1 Host: api.ethos.network Accept: */*
{ "id": 1, "profileId": 1, "displayName": "text", "username": "text", "avatarUrl": "https://example.com", "description": "text", "score": 1, "status": "ACTIVE", "userkeys": [ "text" ], "xpTotal": 1, "xpStreakDays": 1, "stats": { "review": { "received": { "negative": 1, "neutral": 1, "positive": 1 } }, "vouch": { "given": { "amountWeiTotal": 1, "count": 1 }, "received": { "amountWeiTotal": 1, "count": 1 } } } }
GET /api/v2/user/by/address/{address} HTTP/1.1 Host: api.ethos.network Accept: */*
GET /api/v2/user/by/profile-id/{profileId} HTTP/1.1 Host: api.ethos.network Accept: */*
GET /api/v2/user/by/username/{username} HTTP/1.1 Host: api.ethos.network Accept: */*
GET /api/v2/user/by/x/{accountIdOrUsername} HTTP/1.1 Host: api.ethos.network Accept: */*
GET /api/v2/user/by/discord/{discordId} HTTP/1.1 Host: api.ethos.network Accept: */*
GET /api/v2/users/{userkey}/categories HTTP/1.1 Host: api.ethos.network Accept: */*
{ "overallRank": 1, "categoryRanks": [ { "rank": 1, "category": { "id": 1, "slug": "text", "name": "text", "description": "text", "showOnLeaderboard": true, "showInDailyService": true, "bannerImageUrl": "https://example.com", "userCount": 1 } } ] }
POST /api/v2/users/refresh/twitter HTTP/1.1 Host: api.ethos.network Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "ok": true, "message": "text" }
POST /api/v2/users/{userkey}/refresh/twitter HTTP/1.1 Host: api.ethos.network Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
POST /api/v2/users/by/ids HTTP/1.1 Host: api.ethos.network Content-Type: application/json Accept: */* Content-Length: 15 { "userIds": [ 1 ] }
[ { "id": 1, "profileId": 1, "displayName": "text", "username": "text", "avatarUrl": "https://example.com", "description": "text", "score": 1, "status": "ACTIVE", "userkeys": [ "text" ], "xpTotal": 1, "xpStreakDays": 1, "stats": { "review": { "received": { "negative": 1, "neutral": 1, "positive": 1 } }, "vouch": { "given": { "amountWeiTotal": 1, "count": 1 }, "received": { "amountWeiTotal": 1, "count": 1 } } } } ]
POST /api/v2/users/by/address HTTP/1.1 Host: api.ethos.network Content-Type: application/json Accept: */* Content-Length: 22 { "addresses": [ "text" ] }
POST /api/v2/users/by/profile-id HTTP/1.1 Host: api.ethos.network Content-Type: application/json Accept: */* Content-Length: 18 { "profileIds": [ 1 ] }
POST /api/v2/users/by/x HTTP/1.1 Host: api.ethos.network Content-Type: application/json Accept: */* Content-Length: 34 { "accountIdsOrUsernames": [ "text" ] }
POST /api/v2/users/by/discord HTTP/1.1 Host: api.ethos.network Content-Type: application/json Accept: */* Content-Length: 23 { "discordIds": [ "text" ] }