NationBuilder Ballots API
Ballots are a record of an election and how a person voted for said election. Each ballot is associated with a voter and an election and contains information such as when the ballot was cast, the party, and vote method. Further information about vote history and ballots available [here](https://support.nationbuilder.com/en/articles/2471330-import-vote-history).
NationBuilder Ballots API is one of 41 APIs that NationBuilder publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Ballots. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.
This API exposes 5 operations across 2 paths, and defines 21 schemas. It is described by OpenAPI 3.1.2, at version 2.0.
Requests are made against a single base URL, https://{subdomain}.nationbuilder.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
NationBuilder Ballots API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (JWT) (BearerAuth).
By default, every request must be authenticated.
BearerAuth— Authentication using a bearer token (JWT) issued via OAuth.
Paths & Operations 5
Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Ballots are a record of an election and how a person voted for said election. Each ballot is associated with a voter and an election and contains information such as when the ball…
Schemas 21
The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are validation_error (6 properties), pagination_links (5 properties), ballot_read_write_attributes (5 properties), index_document (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from NationBuilder 12
Other APIs NationBuilder publishes across the network.