api.congress.gov
api.congress.gov copied to clipboard
Beta house-vote endpoint contains incorrect parameter in JSON response
trafficstars
The [/house-vote/{congress}/{session}/{voteNumber}/members] endpoint returns 'houseRollCallVoteMemberVotes' as JSON root instead of 'houseRollCallMemberVotes' as outlined in the example on api.congress.gov.
To reproduce:
curl --get "https://api.congress.gov/v3/house-vote/119/1/1/members?api_key=key"
Returns:
{ "houseRollCallVoteMemberVotes": { // ETC }
But expected is:
{ "houseRollCallMemberVotes": { // ETC }