Project Votes
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
projectIdinteger · max: 2147483647Required
Body
voteTypestring · enumRequiredPossible values:
amountintegerRequired
voteReasonstring · min: 1 · max: 50Optional
Responses
200
Successful response
application/json
successbooleanRequired
messagestring · min: 1Required
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
/projects/{projectId}/votesAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
projectIdinteger · max: 2147483647Optional
yearintegerOptional
periodintegerOptional
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/projects/votes/balancePath parameters
projectIdinteger · max: 2147483647Required
Query parameters
orderBystring · enumOptionalDefault:
scorePossible values: orderDirectionstring · enumOptionalDefault:
descPossible values: sentimentstring · enumOptionalPossible values:
scopestring · enumOptionalDefault:
current-periodPossible values: startDatestringOptional
endDatestringOptional
yearintegerOptional
periodintegerOptional
limitinteger · max: 100OptionalDefault:
50offsetnumberOptionalDefault:
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
/projects/{projectId}/votersAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
operationTypestring · enumOptionalDefault:
new_period_resetPossible values: Responses
200
Successful response
application/json
allocationsCreatedintegerRequired
totalVotesAllocatedintegerRequired
usersAffectedintegerRequired
messagestring · min: 1Required
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
/projects/votes/reallocateQuery parameters
projectIdinteger · max: 2147483647Required
profileIdsinteger[] · min: 1 · max: 100Required
scopestring · enumOptionalDefault:
current-periodPossible values: startDatestringOptional
endDatestringOptional
yearintegerOptional
periodintegerOptional
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/projects/votes/bulk-totalsPath parameters
projectIdinteger · max: 2147483647Required
Query parameters
bucketstring · enumOptionalPossible values:
scopestring · enumOptionalDefault:
current-periodPossible values: startDatestringOptional
endDatestringOptional
yearintegerOptional
periodintegerOptional
Responses
200
Successful response
application/json
timeBucketstringRequired
totalBullishVotesinteger · int64Optional
totalBearishVotesinteger · int64Optional
bullishVotesinteger · int64Optional
bearishVotesinteger · int64Optional
uniqueVotersinteger · int64Optional
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
/projects/{projectId}/chartLast updated