Committees - gaodp/gga-api GitHub Wiki
The Committees Resource describes information about the legislative committees in the Georgia General Assembly.
Field | Description |
---|---|
_id | The ID of the committee in the API database. |
sessionId | The session id that this committee belongs to. |
type | The type of committee: either "house" or "senate". |
parentId | If this is a subcommittee, the committee ID of the parent will appear here. |
assemblyCode | Code used by the assembly to represent the committee. |
assemblyId | The ID of the committee on the General Assembly website. |
name | The name of the committee. |
description | A description for the committee, if provided. |
members |
An array of JSON objects describing people on a committee. Each object has the following format.
|
This API call will retrieve a list of committees active for the current session. It accepts the following query parameters:
- sessionId (Session ID) - If you wish to search for committees active in a session other than the current one, provide a sessionId parameter to indicate which session.
- parentId (Committee ID) - To find only committees that are subcommittees of another committee, provide a parentId attribute here. Or, if you wish to only find the list of top-level committees, provide the string "none".
On success, this API call will return an HTTP 200 with a list of committees represented as a JSON array of objects, where the objects are in the format of the model described above. In the event no matches are found an HTTP 204 is returned, and if something goes wrong, you'll get an error of the format outlined in Error Handling.
This API call will return the JSON representation of one committee as outlined in the model above. The :id
above should be replaced with the unique ID of the committee you'd like information on. In the event we can't find a matching committee, the API will return an HTTP 404 error. If something goes horribly wrong, you'll get an HTTP code and error as outlined in Error Handling.