Activities
Successful response
Invalid input data
Not found
Internal server error
GET /api/v2/activities/{activityType}/{id} HTTP/1.1
Host: api.ethos.network
Accept: */*
No content
Successful response
Invalid input data
Internal server error
POST /api/v2/activities/bulk HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"activityType": "attestation",
"id": 1
}[]^0x[a-fA-F0-9]{64}$Successful response
Invalid input data
Not found
Internal server error
GET /api/v2/activities/{activityType}/tx/{txHash} HTTP/1.1
Host: api.ethos.network
Accept: */*
No content
descPossible values: 500Successful response
Invalid input data
Not found
Internal server error
GET /api/v2/activities/userkey?userkey=text&activityType=PROFILE HTTP/1.1
Host: api.ethos.network
Accept: */*
[]falsenull500Successful response
Invalid input data
Internal server error
POST /api/v2/activities/feed HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"filter": [
"attestation"
],
"cache": false,
"dayRange": 1,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"excludeSpam": true,
"limit": 50,
"offset": 0
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/v2/activities/notifications HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 157
{
"filter": [
"attestation"
],
"excludeHistorical": true,
"excludeSpam": true,
"pagination": {
"limit": 50,
"offset": 0
},
"orderBy": {
"field": "timestamp",
"direction": "asc"
}
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1,
"offsets": {
"attestation": 1,
"broker-post": 1,
"closed-slash": 1,
"invitation-accepted": 1,
"market": 1,
"market-vote": 1,
"open-slash": 1,
"project": 1,
"reply": 1,
"review": 1,
"slash": 1,
"unvouch": 1,
"vouch": 1,
"vote": 1
},
"counts": {
"attestation": 1,
"broker-post": 1,
"closed-slash": 1,
"invitation-accepted": 1,
"market": 1,
"market-vote": 1,
"open-slash": 1,
"project": 1,
"reply": 1,
"review": 1,
"slash": 1,
"unvouch": 1,
"vouch": 1,
"vote": 1
}
}500Successful response
Invalid input data
Internal server error
POST /api/v2/activities/profile/given HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 184
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"excludeSpam": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"reviewScore": "NEGATIVE",
"limit": 50,
"offset": 0
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}500Successful response
Invalid input data
Internal server error
POST /api/v2/activities/profile/received HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 184
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"excludeSpam": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"reviewScore": "NEGATIVE",
"limit": 50,
"offset": 0
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}500Successful response
Invalid input data
Internal server error
POST /api/v2/activities/profile/all HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 184
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"excludeSpam": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"reviewScore": "NEGATIVE",
"limit": 50,
"offset": 0
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}500Successful response
Invalid input data
Internal server error
POST /api/v2/activities/project HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 184
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"excludeSpam": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"reviewScore": "NEGATIVE",
"limit": 50,
"offset": 0
}{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}500Successful response
Invalid input data
Not found
Internal server error
GET /api/v2/activities/slash/{slashId}/impacted-supporters 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,
"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
}
}
},
"penaltyAmount": 1
}
],
"total": 1,
"limit": 1,
"offset": 1
}Last updated