Vouches
⚠️ Warning: This is a beta endpoint. It is not guaranteed to be stable and may change or break without notice.
Body
idsnumber[]Optional
subjectUserkeysstring[]Optional
authorProfileIdsinteger[]Optional
subjectProfileIdsinteger[]Optional
subjectAddressesstring[]Optional
archivedbooleanOptional
afterDatestringOptional
durationstringOptional
limitinteger · max: 100OptionalDefault:
50
offsetnumberOptionalDefault:
0
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/vouches HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 282
{
"ids": [
1
],
"subjectUserkeys": [
"text"
],
"authorProfileIds": [
1
],
"subjectProfileIds": [
1
],
"subjectAddresses": [
"text"
],
"subjectAttestationHashes": [],
"archived": true,
"afterDate": "text",
"orderBy": {
"balance": "asc",
"vouchedAt": "asc",
"updatedAt": "asc"
},
"duration": "text",
"limit": 50,
"offset": 0
}
{
"values": [
{
"authorProfileId": 1,
"subjectProfileId": 1,
"authorUser": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
}
}
},
"subjectUser": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
}
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"total": 1,
"limit": 1,
"offset": 1
}