| OLD | NEW |
| 1 { | 1 { |
| 2 "basePath": "/civicinfo/us_v1/", | 2 "basePath": "/civicinfo/us_v1/", |
| 3 "baseUrl": "https://www.googleapis.com/civicinfo/us_v1/", | 3 "baseUrl": "https://www.googleapis.com/civicinfo/us_v1/", |
| 4 "batchPath": "batch", | 4 "batchPath": "batch", |
| 5 "canonicalName": "Civic Info", | 5 "canonicalName": "Civic Info", |
| 6 "description": "An API for accessing civic information.", | 6 "description": "An API for accessing civic information.", |
| 7 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
| 8 "documentationLink": "https://developers.google.com/civic-information", | 8 "documentationLink": "https://developers.google.com/civic-information", |
| 9 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/xUdHq4Z75BUD9ZtUhNKiCTTAQpg\"", | 9 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/WNbUWEmcNA7tbz8oCLk_gd-5NpQ\"", |
| 10 "icons": { | 10 "icons": { |
| 11 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 11 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 12 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 12 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 13 }, | 13 }, |
| 14 "id": "civicinfo:us_v1", | 14 "id": "civicinfo:us_v1", |
| 15 "kind": "discovery#restDescription", | 15 "kind": "discovery#restDescription", |
| 16 "name": "civicinfo", | 16 "name": "civicinfo", |
| 17 "ownerDomain": "google.com", | 17 "ownerDomain": "google.com", |
| 18 "ownerName": "Google", | 18 "ownerName": "Google", |
| 19 "parameters": { | 19 "parameters": { |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "request": { | 155 "request": { |
| 156 "$ref": "RepresentativeInfoRequest" | 156 "$ref": "RepresentativeInfoRequest" |
| 157 }, | 157 }, |
| 158 "response": { | 158 "response": { |
| 159 "$ref": "RepresentativeInfoResponse" | 159 "$ref": "RepresentativeInfoResponse" |
| 160 } | 160 } |
| 161 } | 161 } |
| 162 } | 162 } |
| 163 } | 163 } |
| 164 }, | 164 }, |
| 165 "revision": "20140918", | 165 "revision": "20140814", |
| 166 "rootUrl": "https://www.googleapis.com/", | 166 "rootUrl": "https://www.googleapis.com/", |
| 167 "schemas": { | 167 "schemas": { |
| 168 "AdministrationRegion": { | 168 "AdministrationRegion": { |
| 169 "description": "Describes information about a regional election admi
nistrative area.", | 169 "description": "Describes information about a regional election admi
nistrative area.", |
| 170 "id": "AdministrationRegion", | 170 "id": "AdministrationRegion", |
| 171 "properties": { | 171 "properties": { |
| 172 "electionAdministrationBody": { | 172 "electionAdministrationBody": { |
| 173 "$ref": "AdministrativeBody", | 173 "$ref": "AdministrativeBody", |
| 174 "description": "The election administration body for this ar
ea." | 174 "description": "The election administration body for this ar
ea." |
| 175 }, | 175 }, |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 "$ref": "SimpleAddressType", | 836 "$ref": "SimpleAddressType", |
| 837 "description": "The normalized version of the requested addr
ess" | 837 "description": "The normalized version of the requested addr
ess" |
| 838 }, | 838 }, |
| 839 "pollingLocations": { | 839 "pollingLocations": { |
| 840 "description": "Locations where the voter is eligible to vot
e on election day. For states with mail-in voting only, these locations will be
nearby drop box locations. Drop box locations are free to the voter and may be u
sed instead of placing the ballot in the mail.", | 840 "description": "Locations where the voter is eligible to vot
e on election day. For states with mail-in voting only, these locations will be
nearby drop box locations. Drop box locations are free to the voter and may be u
sed instead of placing the ballot in the mail.", |
| 841 "items": { | 841 "items": { |
| 842 "$ref": "PollingLocation" | 842 "$ref": "PollingLocation" |
| 843 }, | 843 }, |
| 844 "type": "array" | 844 "type": "array" |
| 845 }, | 845 }, |
| 846 "precinctId": { |
| 847 "type": "string" |
| 848 }, |
| 846 "state": { | 849 "state": { |
| 847 "description": "Local Election Information for the state tha
t the voter votes in. For the US, there will only be one element in this array."
, | 850 "description": "Local Election Information for the state tha
t the voter votes in. For the US, there will only be one element in this array."
, |
| 848 "items": { | 851 "items": { |
| 849 "$ref": "AdministrationRegion" | 852 "$ref": "AdministrationRegion" |
| 850 }, | 853 }, |
| 851 "type": "array" | 854 "type": "array" |
| 852 }, | 855 }, |
| 853 "status": { | 856 "status": { |
| 854 "description": "The result of the request. One of: success,
noStreetSegmentFound, addressUnparseable, noAddressParameter, multipleStreetSegm
entsFound, electionOver, electionUnknown, internalLookupFailure", | 857 "description": "The result of the request. One of: success,
noStreetSegmentFound, addressUnparseable, noAddressParameter, multipleStreetSegm
entsFound, electionOver, electionUnknown, internalLookupFailure", |
| 855 "type": "string" | 858 "type": "string" |
| 856 } | 859 } |
| 857 }, | 860 }, |
| 858 "type": "object" | 861 "type": "object" |
| 859 } | 862 } |
| 860 }, | 863 }, |
| 861 "servicePath": "civicinfo/us_v1/", | 864 "servicePath": "civicinfo/us_v1/", |
| 862 "title": "Google Civic Information API", | 865 "title": "Google Civic Information API", |
| 863 "version": "us_v1" | 866 "version": "us_v1" |
| 864 } | 867 } |
| OLD | NEW |