Closed earth2travis closed 2 months ago
halfway there with #32
halfway there with #32
@santteegt should be already unblocked as of #32 being merged
/protocols/{cname}
/protocols/{cname}/proposals
/proposals/{refId}/votes
/discourseCategories?protocol={cname}
/discourseTopics?protocol={cname}
/discourseTopicPosts?protocol={cname}
/protocols/{cname}/voters
/protocols/{cname}/voters
/voters/{address}/votes
(doesn't work as described on docs)/delegates/getDelegatorsByProtocol/{protocol}
/delegates/{address}/getDelegatorCount
/getDelegationPitch/{protocol}
added following endpoints in total to cleaned openapi spec
/protocols
/protocols/{cname}
/protocols/{cname}/proposals
/proposals
/proposals/{refId}
/proposals/{refId}/votes
/proposals/{refId}/pendingVotes
/voters/{address}/votes
/discourseTopics
/discourseCategories
/discourseTopicPosts
/protocols/{cname}/voters
/delegates/getDelegatorsByProtocol/{cname}
/delegates/{address}/getDelegatorCount
/getDelegationPitchesByProtocol/{protocol}
// API not good returns only limited results/getDelegationPitch/{protocol}/{address}
@wtfsayo please help me including the missing /delegates/getDelegatedVotingPowerByProtocol/{cname}
endpoint to the spec.
Also pushes a couple quick fixes in 3e9f36e9a860d89b0af30f52a204912e34168d60
@santteegt added
Added some final minor fixes and validated the open API spec in #4
https://swagger.boardroom.info/#/
The spec they gave us is not complete. They made it by hand or generated it. But it does not include some of the request parameters we need. Some sections are missing and there are errors that need to be manually fixed.
Some of what we thought was missing is actually at the bottom of the page. We need to identify if there is anything else missing and update the YAML file.