Vouches
Body
idsnumber[]Optional
subjectUserkeysstring[]Optional
authorProfileIdsinteger[]Optional
subjectProfileIdsinteger[]Optional
subjectAddressesstring[]Optional
Ethereum address (0x-prefixed, 20 bytes)
subjectAttestationHashesstring[]Optional
0x-prefixed 32-byte hex string (bytes32)
archivedbooleanOptional
afterDatestringOptional
durationstringOptional
limitinteger · max: 100OptionalDefault:
50offsetinteger · max: 2147483647OptionalDefault:
0Responses
200
Successful response
application/json
totalnumberRequired
limitnumberRequired
offsetnumberRequired
400
Invalid input data
application/json
500
Internal server error
application/json
post/vouches
POST /api/v2/vouches HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 288
{
"ids": [
1
],
"subjectUserkeys": [
"text"
],
"authorProfileIds": [
1
],
"subjectProfileIds": [
1
],
"subjectAddresses": [
"text"
],
"subjectAttestationHashes": [
"text"
],
"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,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 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
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"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,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 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
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"total": 1,
"limit": 1,
"offset": 1
}Query parameters
profileIdinteger · max: 2147483647Required
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get/vouches/authored-subject-userkeys
GET /api/v2/vouches/authored-subject-userkeys?profileId=1 HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"userkeys": []
}Query parameters
profileIdinteger · max: 2147483647Required
Responses
200
Successful response
application/json
authorProfileIdsinteger[]Required
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get/vouches/incoming-author-profile-ids
GET /api/v2/vouches/incoming-author-profile-ids?profileId=1 HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"authorProfileIds": [
1
]
}Query parameters
viewerProfileIdinteger · max: 2147483647Required
targetProfileIdinteger · max: 2147483647Required
limitinteger · max: 50OptionalDefault:
50offsetinteger · max: 2147483647OptionalDefault:
0Responses
200
Successful response
application/json
totalnumberRequired
limitnumberRequired
offsetnumberRequired
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get/vouches/mutual-vouchers
GET /api/v2/vouches/mutual-vouchers?viewerProfileId=1&targetProfileId=1 HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"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,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 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
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
}
],
"total": 1,
"limit": 1,
"offset": 1
}Responses
200
Successful response
application/json
entryDonationFeeBasisPointsinteger · int64Required
entryProtocolFeeBasisPointsinteger · int64Required
entryVouchersPoolFeeBasisPointsinteger · int64Required
exitFeeBasisPointsinteger · int64Required
500
Internal server error
application/json
get/vouches/fees
GET /api/v2/vouches/fees HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"entryDonationFeeBasisPoints": 1,
"entryProtocolFeeBasisPoints": 1,
"entryVouchersPoolFeeBasisPoints": 1,
"exitFeeBasisPoints": 1
}Last updated