api.congress.gov icon indicating copy to clipboard operation
api.congress.gov copied to clipboard

Beta house-vote endpoint contains incorrect parameter in JSON response

Open nerfnet opened this issue 1 month ago • 0 comments
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 }

nerfnet avatar Oct 04 '25 21:10 nerfnet