List a member's votes

How a member voted on key roll calls. Newest first. Each item is a roll call with memberVote.

GET https://www.chicagopolitics.org/api/v1/members/{id}/votes

Authorizations

HeaderValue
AuthorizationBearer <key>. Get a key; see authentication.

Path parameters

NameTypeRequiredDescription
idintegeryesWard number (1-50) for a current member; 100 + ward for a member who left during the term (e.g. 135).

Query parameters

NameTypeRequiredDescription
votestringOne of: yea, nay, absent, recused, excused, not_voting.
dividedbooleanOnly divided roll calls (at least one nay).
fromstring (date)
tostring (date)
limitintegerDefault 50.
cursorstringFrom meta.nextCursor of the previous page.

Response

200 Roll calls with the member's vote: a list in data, with meta and links (see pagination).

FieldTypeDescription
matterIdstring
recordstring
titlestring
nicknamestring | null
typestring
datestring (date)
resultstring
passedboolean
dividedboolean
tallyobject
sponsorstring | null
committeestring | null
meetingIdstring | null
memberVotestring
linksobject

Example request

curl "https://www.chicagopolitics.org/api/v1/members/12/votes" \
  -H "Authorization: Bearer $CHICAGO_POLITICS_KEY"

Errors: 400, 401, 404, 429 (see errors).