Replies
⚠️ Warning: This is a beta endpoint. It is not guaranteed to be stable and may change or break without notice.
Query parameters
idsinteger[]Required
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/replies/by-id HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"id": 1,
"contractType": "attestation",
"targetContract": "text",
"parentId": 1,
"parentIsOriginalComment": true,
"authorProfileId": 1,
"createdAt": 1,
"content": "text",
"metadata": "text",
"user": {
"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
}
}
}
},
"url": "text"
}
}
⚠️ Warning: This is a beta endpoint. It is not guaranteed to be stable and may change or break without notice.
Path parameters
contractTypestring · enumRequiredPossible values:
parentIdintegerRequired
Query parameters
orderBystring · enumOptionalDefault:
createdAt
Possible values: orderDirectionstring · enumOptionalDefault:
desc
Possible values: limitinteger · max: 500OptionalDefault:
50
offsetnumberOptionalDefault:
0
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/replies/{contractType}/{parentId} HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"values": [
{
"id": 1,
"contractType": "attestation",
"targetContract": "text",
"parentId": 1,
"parentIsOriginalComment": true,
"authorProfileId": 1,
"createdAt": 1,
"content": "text",
"metadata": "text",
"user": {
"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
}
}
}
}
}
],
"total": 1,
"limit": 1,
"offset": 1
}