{ "uuid": "1614d806-9298-488e-a384-20447e1ae1a1", "lastMigration": 29, "name": "Open States API v3", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e520d47b-08a5-4963-b731-41090c9c8932", "documentation": "Bills Search", "method": "get", "endpoint": "bills", "responses": [ { "uuid": "2e59905f-f577-431f-b3be-44f8c59cae13", "body": "{\n \"pagination\": {\n \"max_page\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"total_items\": 52\n },\n \"results\": [\n {\n \"abstracts\": [\n {\n \"abstract\": \"This bill designates a new state arachnid.\",\n \"note\": \"house abstract\"\n }\n ],\n \"actions\": [\n {\n \"classification\": [\n \"passed\"\n ],\n \"date\": \"2020-03-14\",\n \"description\": \"Passed 1st Reading\",\n \"order\": {{faker 'number.int' max=99999}},\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n }\n }\n ],\n \"classification\": [\n \"resolution\"\n ],\n \"created_at\": \"{{faker 'date.recent' 365}}\",\n \"documents\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"extras\": {},\n \"first_action_date\": \"2020-01-01\",\n \"from_organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"id\": \"ocd-bill/f0049138-1ad8-4506-a2a4-f4dd1251bbba\",\n \"identifier\": \"SB 113\",\n \"jurisdiction\": {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"name\": \"North Carolina\"\n },\n \"latest_action_date\": \"2020-02-01\",\n \"latest_action_description\": \"Introduced in House\",\n \"latest_passage_date\": \"2020-03-01\",\n \"openstates_url\": \"https://openstates.org/nc/bills/2019/HB1105/\",\n \"other_identifiers\": [\n {\n \"identifier\": \"HB 74\"\n }\n ],\n \"other_titles\": [\n {\n \"note\": \"short title\",\n \"title\": \"Designating the scorpion as the state arachnid.\"\n }\n ],\n \"session\": \"2020\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"sponsorships\": [\n {\n \"classification\": \"primary\",\n \"entity_type\": \"person\",\n \"name\": \"JONES\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"person\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"primary\": {{faker 'datatype.boolean'}}\n }\n ],\n \"subject\": [\n \"SCORPIONS\",\n \"SYMBOLS\"\n ],\n \"title\": \"Adopting a State Scorpion\",\n \"updated_at\": \"{{faker 'date.recent' 365}}\",\n \"versions\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"votes\": [\n {\n \"counts\": [\n {\n \"option\": \"yes\",\n \"value\": 48\n }\n ],\n \"id\": \"\",\n \"identifier\": \"HV #3312\",\n \"motion_classification\": [\n \"passage\"\n ],\n \"motion_text\": \"Shall the bill be passed?\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"result\": \"pass\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"start_date\": \"2020-09-18\",\n \"votes\": [\n {\n \"option\": \"no\",\n \"voter\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"voter_name\": \"Wu\"\n }\n ]\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3546e687-0da0-4536-bf14-ff0032f46008", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f27a1ff9-2ca9-45a1-b953-b33dbfd76644", "documentation": "Bill Detail By Id", "method": "get", "endpoint": "bills/ocd-bill/:openstates_bill_id", "responses": [ { "uuid": "ff6a96e1-a5e8-4bd5-b3ba-6d418252049f", "body": "{\n \"abstracts\": [\n {\n \"abstract\": \"This bill designates a new state arachnid.\",\n \"note\": \"house abstract\"\n }\n ],\n \"actions\": [\n {\n \"classification\": [\n \"passed\"\n ],\n \"date\": \"2020-03-14\",\n \"description\": \"Passed 1st Reading\",\n \"order\": {{faker 'number.int' max=99999}},\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n }\n }\n ],\n \"classification\": [\n \"resolution\"\n ],\n \"created_at\": \"{{faker 'date.recent' 365}}\",\n \"documents\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"extras\": {},\n \"first_action_date\": \"2020-01-01\",\n \"from_organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"id\": \"ocd-bill/f0049138-1ad8-4506-a2a4-f4dd1251bbba\",\n \"identifier\": \"SB 113\",\n \"jurisdiction\": {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"name\": \"North Carolina\"\n },\n \"latest_action_date\": \"2020-02-01\",\n \"latest_action_description\": \"Introduced in House\",\n \"latest_passage_date\": \"2020-03-01\",\n \"openstates_url\": \"https://openstates.org/nc/bills/2019/HB1105/\",\n \"other_identifiers\": [\n {\n \"identifier\": \"HB 74\"\n }\n ],\n \"other_titles\": [\n {\n \"note\": \"short title\",\n \"title\": \"Designating the scorpion as the state arachnid.\"\n }\n ],\n \"session\": \"2020\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"sponsorships\": [\n {\n \"classification\": \"primary\",\n \"entity_type\": \"person\",\n \"name\": \"JONES\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"person\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"primary\": {{faker 'datatype.boolean'}}\n }\n ],\n \"subject\": [\n \"SCORPIONS\",\n \"SYMBOLS\"\n ],\n \"title\": \"Adopting a State Scorpion\",\n \"updated_at\": \"{{faker 'date.recent' 365}}\",\n \"versions\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"votes\": [\n {\n \"counts\": [\n {\n \"option\": \"yes\",\n \"value\": 48\n }\n ],\n \"id\": \"\",\n \"identifier\": \"HV #3312\",\n \"motion_classification\": [\n \"passage\"\n ],\n \"motion_text\": \"Shall the bill be passed?\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"result\": \"pass\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"start_date\": \"2020-09-18\",\n \"votes\": [\n {\n \"option\": \"no\",\n \"voter\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"voter_name\": \"Wu\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b8ddd107-6f72-4886-a1b7-173d7835fc08", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "672b352f-8b03-4fd4-97fc-3f813efea112", "documentation": "Bill Detail", "method": "get", "endpoint": "bills/:jurisdiction/:session/:bill_id", "responses": [ { "uuid": "cd81d802-6028-41b8-baa3-cb86fa4684de", "body": "{\n \"abstracts\": [\n {\n \"abstract\": \"This bill designates a new state arachnid.\",\n \"note\": \"house abstract\"\n }\n ],\n \"actions\": [\n {\n \"classification\": [\n \"passed\"\n ],\n \"date\": \"2020-03-14\",\n \"description\": \"Passed 1st Reading\",\n \"order\": {{faker 'number.int' max=99999}},\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n }\n }\n ],\n \"classification\": [\n \"resolution\"\n ],\n \"created_at\": \"{{faker 'date.recent' 365}}\",\n \"documents\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"extras\": {},\n \"first_action_date\": \"2020-01-01\",\n \"from_organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"id\": \"ocd-bill/f0049138-1ad8-4506-a2a4-f4dd1251bbba\",\n \"identifier\": \"SB 113\",\n \"jurisdiction\": {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"name\": \"North Carolina\"\n },\n \"latest_action_date\": \"2020-02-01\",\n \"latest_action_description\": \"Introduced in House\",\n \"latest_passage_date\": \"2020-03-01\",\n \"openstates_url\": \"https://openstates.org/nc/bills/2019/HB1105/\",\n \"other_identifiers\": [\n {\n \"identifier\": \"HB 74\"\n }\n ],\n \"other_titles\": [\n {\n \"note\": \"short title\",\n \"title\": \"Designating the scorpion as the state arachnid.\"\n }\n ],\n \"session\": \"2020\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"sponsorships\": [\n {\n \"classification\": \"primary\",\n \"entity_type\": \"person\",\n \"name\": \"JONES\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"person\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"primary\": {{faker 'datatype.boolean'}}\n }\n ],\n \"subject\": [\n \"SCORPIONS\",\n \"SYMBOLS\"\n ],\n \"title\": \"Adopting a State Scorpion\",\n \"updated_at\": \"{{faker 'date.recent' 365}}\",\n \"versions\": [\n {\n \"date\": \"2020-10-01\",\n \"links\": [\n {\n \"media_type\": \"application/pdf\",\n \"url\": \"https://example.com/doc.pdf\"\n }\n ],\n \"note\": \"Latest Version\"\n }\n ],\n \"votes\": [\n {\n \"counts\": [\n {\n \"option\": \"yes\",\n \"value\": 48\n }\n ],\n \"id\": \"\",\n \"identifier\": \"HV #3312\",\n \"motion_classification\": [\n \"passage\"\n ],\n \"motion_text\": \"Shall the bill be passed?\",\n \"organization\": {\n \"classification\": \"legislature\",\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n },\n \"result\": \"pass\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"start_date\": \"2020-09-18\",\n \"votes\": [\n {\n \"option\": \"no\",\n \"voter\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"voter_name\": \"Wu\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "84008ad2-6f46-450b-ac67-49a3d4f9dc57", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "073c64fd-c898-4471-abf0-1685c7ef794c", "documentation": "Committee List", "method": "get", "endpoint": "committees", "responses": [ { "uuid": "65f4efb7-6fee-40ce-9cf7-e847b285870d", "body": "{\n \"pagination\": {\n \"max_page\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"total_items\": 52\n },\n \"results\": [\n {\n \"classification\": \"{{oneOf (array 'committee' 'subcommittee')}}\",\n \"extras\": {\n \"room\": \"Room 4B\"\n },\n \"id\": \"ocd-organization/aabbbbcc-dddd-eeee-ffff-0123456789ab\",\n \"links\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"memberships\": [\n {\n \"person\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"person_name\": \"\",\n \"role\": \"\"\n }\n ],\n \"name\": \"Health & Public Services\",\n \"other_names\": [\n {\n \"name\": \"Auggie\",\n \"note\": \"nickname\"\n }\n ],\n \"parent_id\": \"ocd-organization/aabbbbcc-dddd-eeee-ffff-999988887777\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7d55fe29-3d30-475f-b151-f5fa74ef1573", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd243a7b-2d37-48c6-8b79-df9bafdb4134", "documentation": "Committee Detail", "method": "get", "endpoint": "committees/:committee_id", "responses": [ { "uuid": "e1ef772c-495b-4427-aa38-6877e3bc8168", "body": "{\n \"classification\": \"{{oneOf (array 'committee' 'subcommittee')}}\",\n \"extras\": {\n \"room\": \"Room 4B\"\n },\n \"id\": \"ocd-organization/aabbbbcc-dddd-eeee-ffff-0123456789ab\",\n \"links\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"memberships\": [\n {\n \"person\": {\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"name\": \"Angela Augusta\",\n \"party\": \"Democratic\"\n },\n \"person_name\": \"\",\n \"role\": \"\"\n }\n ],\n \"name\": \"Health & Public Services\",\n \"other_names\": [\n {\n \"name\": \"Auggie\",\n \"note\": \"nickname\"\n }\n ],\n \"parent_id\": \"ocd-organization/aabbbbcc-dddd-eeee-ffff-999988887777\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2e036856-7440-4b3c-8b61-0880f265ca78", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d55a118c-9774-45f5-b093-cb8fb809065f", "documentation": "Jurisdiction List", "method": "get", "endpoint": "jurisdictions", "responses": [ { "uuid": "32020cc2-cc5f-4212-acef-76439213fc78", "body": "{\n \"pagination\": {\n \"max_page\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"total_items\": 52\n },\n \"results\": [\n {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"division_id\": \"ocd-division/country:us/state:nc\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"latest_runs\": [\n {\n \"end_time\": \"{{faker 'date.recent' 365}}\",\n \"start_time\": \"{{faker 'date.recent' 365}}\",\n \"success\": {{faker 'datatype.boolean'}}\n }\n ],\n \"legislative_sessions\": [\n {\n \"classification\": \"\",\n \"end_date\": \"\",\n \"identifier\": \"\",\n \"name\": \"\",\n \"start_date\": \"\"\n }\n ],\n \"name\": \"North Carolina\",\n \"organizations\": [\n {\n \"classification\": \"legislature\",\n \"districts\": [\n {\n \"division_id\": \"ocd-division/country:us/state:mn/sldu:4\",\n \"label\": \"2\",\n \"maximum_memberships\": 1,\n \"role\": \"Senator\"\n }\n ],\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n }\n ],\n \"url\": \"https://nc.gov\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d8c950a6-72f6-4045-8d67-0e1781533da7", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "498366b6-1942-4593-b185-d9b19902f0cc", "documentation": "Jurisdiction Detail", "method": "get", "endpoint": "jurisdictions/:jurisdiction_id", "responses": [ { "uuid": "2a3f2511-01a4-48b5-8e5f-478807604f47", "body": "{\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"division_id\": \"ocd-division/country:us/state:nc\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"latest_runs\": [\n {\n \"end_time\": \"{{faker 'date.recent' 365}}\",\n \"start_time\": \"{{faker 'date.recent' 365}}\",\n \"success\": {{faker 'datatype.boolean'}}\n }\n ],\n \"legislative_sessions\": [\n {\n \"classification\": \"\",\n \"end_date\": \"\",\n \"identifier\": \"\",\n \"name\": \"\",\n \"start_date\": \"\"\n }\n ],\n \"name\": \"North Carolina\",\n \"organizations\": [\n {\n \"classification\": \"legislature\",\n \"districts\": [\n {\n \"division_id\": \"ocd-division/country:us/state:mn/sldu:4\",\n \"label\": \"2\",\n \"maximum_memberships\": 1,\n \"role\": \"Senator\"\n }\n ],\n \"id\": \"ocd-organization/32aab083-d7a0-44e0-9b95-a7790c542605\",\n \"name\": \"North Carolina General Assembly\"\n }\n ],\n \"url\": \"https://nc.gov\"\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b56700e-4ffe-42dc-8a1e-d79f6ac73272", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "de4da59c-b348-4131-a93b-226a613f3585", "documentation": "People Search", "method": "get", "endpoint": "people", "responses": [ { "uuid": "d8251e04-07bf-4d5b-aa3b-6d2a7fd38b16", "body": "{\n \"pagination\": {\n \"max_page\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"total_items\": 52\n },\n \"results\": [\n {\n \"birth_date\": \"1960-05-04\",\n \"created_at\": \"{{faker 'date.recent' 365}}\",\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"death_date\": \"2019-04-10\",\n \"email\": \"aperson@example.com\",\n \"extras\": {\n \"profession\": \"Doctor\"\n },\n \"family_name\": \"Augusta\",\n \"gender\": \"female\",\n \"given_name\": \"Angela\",\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"image\": \"https://example.com/ncimg/3.png\",\n \"jurisdiction\": {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"name\": \"North Carolina\"\n },\n \"links\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"name\": \"Angela Augusta\",\n \"offices\": [\n {\n \"address\": \"212 Maple Lane; Raleigh NC; 27526\",\n \"fax\": \"919-555-1234\",\n \"name\": \"District Office\",\n \"voice\": \"919-555-0064\"\n }\n ],\n \"openstates_url\": \"https://openstates.org/person/amos-l-quick-iii-28NRPPfJA6FGVl9RrjpKjl/\",\n \"other_identifiers\": [\n {\n \"identifier\": \"NCL000123\",\n \"scheme\": \"legacy_openstates\"\n }\n ],\n \"other_names\": [\n {\n \"name\": \"Auggie\",\n \"note\": \"nickname\"\n }\n ],\n \"party\": \"Democratic\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"updated_at\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6d227d36-8cc5-4f94-b81a-ca37379c57cd", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dec3bab4-4b57-4c48-8da9-e6518b46204c", "documentation": "People Geo", "method": "get", "endpoint": "people.geo", "responses": [ { "uuid": "ea1bd513-5c4c-43ab-8740-2e0e06b195b9", "body": "{\n \"pagination\": {\n \"max_page\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"total_items\": 52\n },\n \"results\": [\n {\n \"birth_date\": \"1960-05-04\",\n \"created_at\": \"{{faker 'date.recent' 365}}\",\n \"current_role\": {\n \"district\": 3,\n \"division_id\": \"ocd-division/country:us/state:nc/sldu:3\",\n \"org_classification\": \"{{oneOf (array 'legislature' 'executive' 'lower' 'upper' 'government')}}\",\n \"title\": \"Senator\"\n },\n \"death_date\": \"2019-04-10\",\n \"email\": \"aperson@example.com\",\n \"extras\": {\n \"profession\": \"Doctor\"\n },\n \"family_name\": \"Augusta\",\n \"gender\": \"female\",\n \"given_name\": \"Angela\",\n \"id\": \"ocd-person/adb58f21-f2fd-4830-85b6-f490b0867d14\",\n \"image\": \"https://example.com/ncimg/3.png\",\n \"jurisdiction\": {\n \"classification\": \"{{oneOf (array 'state' 'municipality' 'country')}}\",\n \"id\": \"ocd-jurisdiction/country:us/state:nc/government\",\n \"name\": \"North Carolina\"\n },\n \"links\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"name\": \"Angela Augusta\",\n \"offices\": [\n {\n \"address\": \"212 Maple Lane; Raleigh NC; 27526\",\n \"fax\": \"919-555-1234\",\n \"name\": \"District Office\",\n \"voice\": \"919-555-0064\"\n }\n ],\n \"openstates_url\": \"https://openstates.org/person/amos-l-quick-iii-28NRPPfJA6FGVl9RrjpKjl/\",\n \"other_identifiers\": [\n {\n \"identifier\": \"NCL000123\",\n \"scheme\": \"legacy_openstates\"\n }\n ],\n \"other_names\": [\n {\n \"name\": \"Auggie\",\n \"note\": \"nickname\"\n }\n ],\n \"party\": \"Democratic\",\n \"sources\": [\n {\n \"note\": \"homepage\",\n \"url\": \"https://example.com/\"\n }\n ],\n \"updated_at\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a7122cef-5df8-4522-9ff8-6a586f7f3678", "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "e520d47b-08a5-4963-b731-41090c9c8932" }, { "type": "route", "uuid": "f27a1ff9-2ca9-45a1-b953-b33dbfd76644" }, { "type": "route", "uuid": "672b352f-8b03-4fd4-97fc-3f813efea112" }, { "type": "route", "uuid": "073c64fd-c898-4471-abf0-1685c7ef794c" }, { "type": "route", "uuid": "dd243a7b-2d37-48c6-8b79-df9bafdb4134" }, { "type": "route", "uuid": "d55a118c-9774-45f5-b093-cb8fb809065f" }, { "type": "route", "uuid": "498366b6-1942-4593-b185-d9b19902f0cc" }, { "type": "route", "uuid": "de4da59c-b348-4131-a93b-226a613f3585" }, { "type": "route", "uuid": "dec3bab4-4b57-4c48-8da9-e6518b46204c" } ] }