The Tennessee General Assembly Web API Help Page
The Tennessee General Assembly (TGA) Web API is a RESTful API that provides an interface that can be accessed with any application that supports the HTTP protocol.
A consumer client can access this service by authenticating itself to the server, and requesting a representation of a specific resource; usually, the root API resource. A client may consume additional information by exploring the API and discovering further resources. These are revealed to the client by the server through the use of hyperlinks.
The server can present information to the client using several known formats, identified by their Internet media-types. The format is chosen by the server, in cooperation with the client making the request.
A Word About Authentication
This service uses Basic Authorization through the HTTP request header. It is the clients responsibility to include their issued token as part of each request otherwise you will receive a "HTTP/1.1 401 Unauthorized" error message.
For example, include this in your header:
Authorization: Basic A4wOKoXxnFNlJ1151%2BxAE5Dy5WHk%3D
Note: The token provide here is for example purposes only and will not grant you access to the API!
Response Formats
This service returns data in one of two formats, json or xml. By default, json will be returned unless you are using a web browser. You can guarantee the return format by adding the 'Accept' verb in your request header.
Example:
Accept: application/json
Accept: application/xml
For more information about using Basic authentication, please go here.