Activity
Path parameters
activityTypestring · enumRequiredPossible values:
idintegerRequired
Responses
200
Successful response
application/json
Responseany
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/activities/{activityType}/{id} HTTP/1.1
Host: api.ethos.network
Accept: */*
No content
Body
activityTypestring · enumRequiredPossible values:
idintegerRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/activities/bulk HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"activityType": "attestation",
"id": 1
}
[]
Path parameters
activityTypestring · enumRequiredPossible values:
txHashstringRequiredPattern:
^0x[a-fA-F0-9]{64}$
Responses
200
Successful response
application/json
Responseany
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/activities/{activityType}/tx/{txHash} HTTP/1.1
Host: api.ethos.network
Accept: */*
No content
Query parameters
userkeystringRequired
directionstring · enumOptionalPossible values:
orderBystring · enumOptionalPossible values:
sortstring · enumOptionalDefault:
desc
Possible values: reviewTypestring · enumOptionalPossible values:
includeArchivedbooleanOptional
limitinteger · max: 1000OptionalDefault:
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/activities/userkey HTTP/1.1
Host: api.ethos.network
Accept: */*
[]
Body
cachebooleanOptionalDefault:
false
dayRangeinteger | nullableOptionalDefault:
null
limitinteger · max: 1000OptionalDefault:
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/activities/feed HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"filter": [
"attestation"
],
"cache": false,
"dayRange": 1,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"limit": 50,
"offset": 0
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}
Authorizations
Body
excludeHistoricalbooleanOptional
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /api/v2/activities/notifications HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"filter": [
"attestation"
],
"excludeHistorical": true,
"pagination": {
"limit": 50,
"offset": 0
},
"orderBy": {
"field": "timestamp",
"direction": "asc"
}
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1,
"offsets": {
"attestation": 1,
"invitation-accepted": 1,
"review": 1,
"vouch": 1,
"unvouch": 1,
"open-slash": 1,
"closed-slash": 1,
"slash": 1
},
"counts": {
"attestation": 1,
"invitation-accepted": 1,
"review": 1,
"vouch": 1,
"unvouch": 1,
"open-slash": 1,
"closed-slash": 1,
"slash": 1
}
}
Body
userkeystringRequired
excludeHistoricalbooleanOptional
limitinteger · max: 1000OptionalDefault:
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/activities/profile/given HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"limit": 50,
"offset": 0
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}
Body
userkeystringRequired
excludeHistoricalbooleanOptional
limitinteger · max: 1000OptionalDefault:
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/activities/profile/received HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"limit": 50,
"offset": 0
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}
Body
userkeystringRequired
excludeHistoricalbooleanOptional
limitinteger · max: 1000OptionalDefault:
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/activities/profile/all HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"limit": 50,
"offset": 0
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}
Body
userkeystringRequired
excludeHistoricalbooleanOptional
limitinteger · max: 1000OptionalDefault:
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/activities/project HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"userkey": "text",
"filter": [
"attestation"
],
"excludeHistorical": true,
"orderBy": {
"field": "timestamp",
"direction": "asc"
},
"limit": 50,
"offset": 0
}
{
"values": [],
"total": 1,
"limit": 1,
"offset": 1
}