{ "uuid": "ca99957b-8de0-4ee5-b72c-f4bf1de8ecfb", "lastMigration": 29, "name": "GeoDB Cities API", "endpointPrefix": "v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "2173685c-89b8-4f00-8cfc-6ef92870287d", "documentation": "Find administrative divisions", "method": "get", "endpoint": "geo/adminDivisions", "responses": [ { "uuid": "0e4979db-fdf3-4cf0-9ea0-c7c9b29d9502", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "cee663c1-e76d-4d7e-8d86-dfb68fc76302", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ba172b17-b1de-43f2-a198-b7dac1661917", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e137c6fd-dcf7-4033-a2ac-a8b7ae7d0676", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "3eaf5a68-92eb-4a03-aa17-5700b0e720a6", "documentation": "Get administrative division details", "method": "get", "endpoint": "geo/adminDivisions/:divisionId", "responses": [ { "uuid": "b9e92b2d-4469-405f-913f-9d52bad00449", "body": "{\n \"data\": {\n \"country\": \"United States of America\",\n \"countryCode\": \"US\",\n \"deleted\": false,\n \"elevationMeters\": 10,\n \"id\": 123214,\n \"latitude\": 40.67,\n \"longitude\": -73.94,\n \"name\": \"New York City\",\n \"population\": 8398748,\n \"region\": \"New York\",\n \"regionCode\": \"NY\",\n \"timezone\": \"America__New_York\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q60\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Populated-place details", "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": "10837ac9-c378-4449-b053-acc81d06a08a", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "699813bd-4440-493c-b628-f9bd8cd4246a", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6423166a-4226-47df-87f8-e232de3a464e", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "183feee7-1f5b-4e99-a549-e515e25daa84", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "28ff5dce-c311-4f6a-aa19-189d93ad4f54", "documentation": "Find cities near division", "method": "get", "endpoint": "geo/adminDivisions/:divisionId/nearbyCities", "responses": [ { "uuid": "0b51cffa-af79-48ce-80e2-e072eb100b8a", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "4380c4de-ceba-4f06-af08-2d0843f18ca0", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "16127105-c532-465c-b7d4-dedd7bd9dee2", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9fabd70f-a80e-4831-a063-84f8045d09b2", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d98d1367-20c9-4a35-bb8b-538bff3ca4be", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "9676dbef-c6be-4d3b-9197-e99dc9b17e18", "documentation": "Find divisions near division", "method": "get", "endpoint": "geo/adminDivisions/:divisionId/nearbyDivisions", "responses": [ { "uuid": "c76289fb-b4d1-401a-8bca-eb08e4687149", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "b4aeaefd-ee10-42ef-b8f6-ed2f633686f9", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1f38976f-ce10-4aad-92b7-2734b391dc36", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c543ca46-1c73-4ced-bf24-12902feeed84", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "66dba280-b6a6-405b-8472-5ab467a804dd", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "defdaae1-a313-499c-b48e-becbafa15503", "documentation": "Find cities", "method": "get", "endpoint": "geo/cities", "responses": [ { "uuid": "8517db00-6f93-4db0-b28e-4ca34cd57669", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "e69a8110-be52-4e76-8da2-60cc4d3a19d9", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e42c0e5b-1a86-4b8d-8e32-55175b1af3a7", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12da108e-4582-4c96-a141-8186a9092464", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "8014485f-e8e5-4d4a-ade6-da0e4e3bad3d", "documentation": "Get city details", "method": "get", "endpoint": "geo/cities/:cityId", "responses": [ { "uuid": "8e987a05-cc24-427d-bb12-d5a2b2b40e06", "body": "{\n \"data\": {\n \"country\": \"United States of America\",\n \"countryCode\": \"US\",\n \"deleted\": false,\n \"elevationMeters\": 10,\n \"id\": 123214,\n \"latitude\": 40.67,\n \"longitude\": -73.94,\n \"name\": \"New York City\",\n \"population\": 8398748,\n \"region\": \"New York\",\n \"regionCode\": \"NY\",\n \"timezone\": \"America__New_York\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q60\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Populated-place details", "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": "dde3541a-cad4-42f0-978e-fe29e14427f0", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2390cce5-3e4f-4740-a437-c0df87cc910d", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ab58e899-3331-4b2d-97e4-34564d68a374", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "451876f9-bd39-46c6-8cca-5f241e6fca57", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "f659bfbc-c15d-4bd7-9e4a-b639d24144cf", "documentation": "Get city date-time", "method": "get", "endpoint": "geo/cities/:cityId/dateTime", "responses": [ { "uuid": "9d292146-cf35-4a4a-be9a-abd76e639623", "body": "{\n \"data\": \"2020-10-05T01:16:53.504604+04:30\"\n}", "latency": 0, "statusCode": 200, "label": "An ISO-6801 date-time", "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": "5227cdda-b89c-4373-a9e3-ebf2f2fbdee2", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "97c31b35-56c3-412f-9e48-c0185ee882b2", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4cd9353f-ffdb-445c-a2f4-e91f897ecd09", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3e9fa38f-ae17-455c-9d0d-7f1e7d603d58", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "0ba0635a-4d71-47d4-a5ff-52adf1b08f1f", "documentation": "Get city distance", "method": "get", "endpoint": "geo/cities/:cityId/distance", "responses": [ { "uuid": "8e1ce85f-7022-446a-81a1-552b11dc1ce3", "body": "{\n \"data\": 6707.9\n}", "latency": 0, "statusCode": 200, "label": "A decimal distance (in miles or kilometers)", "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": "2d091e08-5afd-44f8-a4e7-038ea593a8f2", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f5a5ace-8fa1-46ab-856f-f1ebf20ff0cb", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e1166d3-2246-47c4-bbd7-b8d12bdd39de", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd17d85b-141d-46bc-b757-f04ee3a2517c", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "9d6f3e96-8acc-4163-82e9-2f7c2ad172db", "documentation": "Get city admin region", "method": "get", "endpoint": "geo/cities/:cityId/locatedIn", "responses": [ { "uuid": "f0f5f2c5-0b6c-49d9-bc4b-e5427dd09ea4", "body": "{\n \"data\": {\n \"country\": \"United States of America\",\n \"countryCode\": \"US\",\n \"deleted\": false,\n \"elevationMeters\": 10,\n \"id\": 123214,\n \"latitude\": 40.67,\n \"longitude\": -73.94,\n \"name\": \"New York City\",\n \"population\": 8398748,\n \"region\": \"New York\",\n \"regionCode\": \"NY\",\n \"timezone\": \"America__New_York\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q60\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Populated-place details", "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": "8f848c64-0027-4db7-965b-833e4037cd1f", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e7722d90-dcd7-40fe-bbdf-9ff79be19a91", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db9b5b25-e5b8-490d-9af4-a60efef194ab", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1262f2a1-1227-4f84-b028-20758154926b", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "1ee159ce-0845-4ba8-b625-e577d6946b0b", "documentation": "Find cities near city", "method": "get", "endpoint": "geo/cities/:cityId/nearbyCities", "responses": [ { "uuid": "fa92e0da-8c1d-463a-bf40-6e5e1b20a478", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "c5a44ca2-5eba-4338-8856-2585fb2aa970", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ba48dc5-69c3-44cf-9f04-9abb81dec956", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0c4ffb1f-ef0b-4898-8d59-f50adbdaad50", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a14bd83b-946d-497e-a96a-79f286e07620", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "3f602903-203e-47b0-91d3-e489ecc37a33", "documentation": "Get city time", "method": "get", "endpoint": "geo/cities/:cityId/time", "responses": [ { "uuid": "56c66a19-fd0e-4e7f-8a61-0853c40bdd96", "body": "{\n \"data\": \"19:21:38.796217\"\n}", "latency": 0, "statusCode": 200, "label": "An ISO-8601 time 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": "86dfaf4c-b0df-447f-9e9a-beef53e0cf7e", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2d9c9621-c015-41d9-9cda-c1cd6c9d861d", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "481941a8-de62-4dda-a971-a7ae7bffab79", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0d294de1-0548-4d66-ae14-348c3b41be96", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "b1dfab2c-3274-4a3e-b017-24d2f2c01f5b", "documentation": "Find countries", "method": "get", "endpoint": "geo/countries", "responses": [ { "uuid": "02e913b5-e783-4dd7-b0ef-9f6eee597140", "body": "{\n \"data\": [\n {\n \"code\": \"SM\",\n \"currencyCodes\": [\n \"EUR\"\n ],\n \"name\": \"San Marino\",\n \"wikiDataId\": \"Q238\"\n },\n {\n \"code\": \"NE\",\n \"currencyCodes\": [\n \"XOF\"\n ],\n \"name\": \"Niger\",\n \"wikiDataId\": \"Q1032\"\n },\n {\n \"code\": \"MT\",\n \"currencyCodes\": [\n \"EUR\"\n ],\n \"name\": \"Malta\",\n \"wikiDataId\": \"Q233\"\n },\n {\n \"code\": \"KZ\",\n \"currencyCodes\": [\n \"KZT\"\n ],\n \"name\": \"Kazakhstan\",\n \"wikiDataId\": \"Q232\"\n },\n {\n \"code\": \"KE\",\n \"currencyCodes\": [\n \"KES\"\n ],\n \"name\": \"Kenya\",\n \"wikiDataId\": \"Q114\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/countries?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries?offset=195&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 198\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of countries", "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": "a1b92dcb-5de2-4ecb-a3b9-448fab33d0d0", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "de4e6366-280d-4cfa-8ed3-eefb6b092795", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7a576dcd-b2aa-4b92-8681-7623bcc28f3a", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "4e440bab-21b9-400d-b0d8-c7a27bdd54a5", "documentation": "Get country details", "method": "get", "endpoint": "geo/countries/:countryId", "responses": [ { "uuid": "05bf8107-509a-4154-bc3a-ae217787d215", "body": "{\n \"data\": {\n \"code\": \"US\",\n \"currencyCodes\": [\n \"USD\"\n ],\n \"flagImageUri\": \"http://commons.wikimedia.org/wiki/Special:FilePath/Flag%20of%20the%20United%20States.svg\",\n \"name\": \"United States\",\n \"numRegions\": 56,\n \"wikiDataId\": \"Q30\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Country detail", "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": "25553f3b-602a-4681-9c6c-5855ae6a83d0", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "63727712-10c9-4f93-b396-31cf8b2c9c11", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ac80776-014e-41d8-9c52-5c7e9f46b8d0", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6cdda764-565b-4fe5-b1e4-c2e31828839b", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "8027be6a-aed5-4378-a5c9-176b94ba8049", "documentation": "Find country regions", "method": "get", "endpoint": "geo/countries/:countryId/regions", "responses": [ { "uuid": "18b7fe4f-d367-47d5-8b99-ce6da0bf2bbe", "body": "{\n \"data\": [\n {\n \"countryCode\": \"US\",\n \"fipsCode\": 48,\n \"isoCode\": \"TX\",\n \"name\": \"Texas\",\n \"wikiDataId\": \"Q1439\"\n },\n {\n \"countryCode\": \"US\",\n \"fipsCode\": 39,\n \"isoCode\": \"OH\",\n \"name\": \"Ohio\",\n \"wikiDataId\": \"Q1397\"\n },\n {\n \"countryCode\": \"US\",\n \"fipsCode\": 31,\n \"isoCode\": \"NE\",\n \"name\": \"Nebraska\",\n \"wikiDataId\": \"Q1553\"\n },\n {\n \"countryCode\": \"US\",\n \"fipsCode\": 50,\n \"isoCode\": \"VT\",\n \"name\": \"Vermont\",\n \"wikiDataId\": \"Q16551\"\n },\n {\n \"countryCode\": \"US\",\n \"fipsCode\": 15,\n \"isoCode\": \"HI\",\n \"name\": \"Hawaii\",\n \"wikiDataId\": \"Q782\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/countries/US/regions?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries/US/regions?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries/US/regions?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/countries/US/regions?offset=55&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 56\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of country regions", "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": "2223fb08-3a5a-4888-b002-cce9b9878e44", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "beba62f5-460f-49df-b64f-3e4227b98ee3", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9dd649e-2f6b-441a-b611-b33d05a46b27", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ef1ee511-539c-44a0-8f1e-9a9dc4d2d21a", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "46629770-344e-4ebf-941b-0fa23661f879", "documentation": "Get region details", "method": "get", "endpoint": "geo/countries/:countryId/regions/:regionCode", "responses": [ { "uuid": "b0e5b070-a4f2-4854-b445-14e8c54b2bca", "body": "{\n \"data\": {\n \"capital\": \"Sacramento\",\n \"countryCode\": \"US\",\n \"fipsCode\": 6,\n \"isoCode\": \"CA\",\n \"name\": \"California\",\n \"numCities\": 1532,\n \"wikiDataId\": \"Q99\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Country region details", "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": "9912925f-f1dc-44c5-9879-f297f7a0a532", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f6fa54b-7622-4809-ad20-227298e8081c", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c37c46c5-5b77-4470-9c93-1f93ea2a99b3", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4dd2f7eb-2f53-4ab9-b15e-377c4bb6a152", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "f3894687-5287-4b1c-b839-a35836f74f8a", "documentation": "Find country region administrative divisions", "method": "get", "endpoint": "geo/countries/:countryId/regions/:regionCode/adminDivisions", "responses": [ { "uuid": "54e60180-7508-4874-87b7-b305dbeb31d3", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "357d2b98-9546-4676-ba3d-dd3450bfa6d1", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "740588ab-441b-40a7-8cda-c8fcfaa5b01a", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db72522a-d362-4654-81f8-1255f9cbf6c9", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9d692cfa-fee7-4284-86c8-86227c89d9b6", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "09784074-0aab-4f98-a158-313721a5a5c5", "documentation": "Find country region cities", "method": "get", "endpoint": "geo/countries/:countryId/regions/:regionCode/cities", "responses": [ { "uuid": "1d3b93c0-f8d0-40ad-bc0f-f81ed89286c7", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "c7c0e682-cf8f-48c2-9ba2-5c25eba4fac6", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d33dbf96-6ff3-4366-9f60-98190f5fd67f", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e81edea0-4227-465c-aaa1-4a6deeb423ff", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7bd20898-5038-40b0-8ec5-b6f6e1397c36", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "67c8904c-12d8-4dee-b020-7bea3aee7770", "documentation": "Find cities near location", "method": "get", "endpoint": "geo/locations/:locationId/nearbyCities", "responses": [ { "uuid": "7a6db823-bbb8-4cc9-b754-ef33e6d7cf37", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "97a27baa-2b23-4215-be84-95dd25f13b0d", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4ccf511f-798b-42d3-b89f-072e0d261778", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e7936ea7-d322-4707-8235-2367a6d08001", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "f7d56df7-338f-4977-8d1d-e1be87136daf", "documentation": "Find divisions near location", "method": "get", "endpoint": "geo/locations/:locationId/nearbyDivisions", "responses": [ { "uuid": "4e3435bb-387e-4975-8189-478be765cada", "body": "{\n \"data\": [\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 2987553,\n \"latitude\": 42.57777778,\n \"longitude\": 1.61944444,\n \"name\": \"L'Aldosa de Canillo\",\n \"region\": \"Canillo\",\n \"regionCode\": 2,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24371\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3086756,\n \"latitude\": 42.57667,\n \"longitude\": 1.51773,\n \"name\": \"La Cortinada\",\n \"region\": \"Ordino\",\n \"regionCode\": 5,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q24486\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 3056764,\n \"latitude\": 42.4859,\n \"longitude\": 1.49045,\n \"name\": \"La Margineda\",\n \"region\": \"Andorra la Vella\",\n \"regionCode\": 7,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q2536296\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 978,\n \"latitude\": 42.544354,\n \"longitude\": 1.515427,\n \"name\": \"La Massana\",\n \"region\": \"La Massana\",\n \"regionCode\": 4,\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q3820973\"\n },\n {\n \"country\": \"Andorra\",\n \"countryCode\": \"AD\",\n \"id\": 759,\n \"latitude\": 42.5,\n \"longitude\": 1.53333333,\n \"name\": \"Les Escaldes\",\n \"region\": \"Escaldes-Engordany\",\n \"regionCode\": \"08\",\n \"type\": \"CITY\",\n \"wikiDataId\": \"Q1050185\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/geo/cities?offset=273685&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 273690\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of populated places", "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": "eb5c9504-9dbf-4cb4-87aa-e85a7bc94e01", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a98b9397-b2be-4b53-adfe-22090e67c1c1", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f907b81-7b51-4728-ab6a-0c265e5f4d45", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "7bf95486-f6e3-44fc-9e65-c0528f5074df", "documentation": "Find currencies", "method": "get", "endpoint": "locale/currencies", "responses": [ { "uuid": "10fa6f78-4a52-4be6-8e9c-cbb6236fb729", "body": "{\n \"data\": [\n {\n \"code\": \"AWG\",\n \"countryCodes\": [\n \"AW\"\n ]\n },\n {\n \"code\": \"AZN\",\n \"countryCodes\": [\n \"AZ\"\n ]\n },\n {\n \"code\": \"BAM\",\n \"countryCodes\": [\n \"BA\"\n ]\n },\n {\n \"code\": \"BBD\",\n \"countryCodes\": [\n \"BB\"\n ]\n },\n {\n \"code\": \"BDT\",\n \"countryCodes\": [\n \"BD\"\n ]\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/locale/currencies?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/locale/currencies?offset=5&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/locale/currencies?offset=15&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/locale/currencies?offset=200&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 10,\n \"totalCount\": 205\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of currencies", "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": "5c1e18c5-633b-4f2e-aab5-74bd54c36957", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b61f2637-9a70-4875-b337-92a5e4a3810d", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d00e0392-3426-4da5-bc15-689cb73022a9", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "04bf0c53-0e99-4b8e-9431-a0b327019b8d", "documentation": "Get languages", "method": "get", "endpoint": "locale/languages", "responses": [ { "uuid": "33c3b61d-f8b2-41c5-9a1c-dd3e3c0da1e4", "body": "{\n \"data\": [\n {\n \"code\": \"fr\",\n \"name\": \"French\"\n },\n {\n \"code\": \"it\",\n \"name\": \"Italian\"\n },\n {\n \"code\": \"pt\",\n \"name\": \"Portuguese\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/locale/languages?offset=0&limit=3\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/locale/languages?offset=0&limit=3\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/locale/languages?offset=6&limit=3\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/locale/languages?offset=6&limit=3\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 3,\n \"totalCount\": 8\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of languages supported by the system", "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": "c0e99b7d-0839-4336-85fd-84171fadede7", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "152e457f-261d-4590-99fa-b0a785fd3239", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "584ccfc4-eae1-49af-8984-590bb8703f0f", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "fabfe5da-c4a0-43b5-b397-a48b6ea2d07e", "documentation": "Get locales", "method": "get", "endpoint": "locale/locales", "responses": [ { "uuid": "6f7e8cad-bd1d-4d67-bf34-68a033b5efab", "body": "{\n \"data\": [\n {\n \"code\": \"eu\"\n },\n {\n \"code\": \"ar_MR\"\n },\n {\n \"code\": \"es_DO\"\n },\n {\n \"code\": \"ru\"\n },\n {\n \"code\": \"az\"\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/locale/locales?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/locale/locales?offset=45&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/locale/locales?offset=55&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/locale/locales?offset=770&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 50,\n \"totalCount\": 772\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of locales", "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": "7132f625-6672-44fc-8876-8ee1e78d126d", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "02f0161f-3e21-4a66-a991-9823a55a6145", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0649d9a9-0c8b-4ecd-b0dd-3fcb69b279e0", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "f3dc5ab3-1e89-4639-8647-ac063cb5aefe", "documentation": "Get time-zones", "method": "get", "endpoint": "locale/timezones", "responses": [ { "uuid": "eb1b9bf5-ac30-4865-b52d-1242068f102d", "body": "{\n \"data\": [\n {\n \"id\": \"America__Marigot\",\n \"name\": \"Atlantic Standard Time\",\n \"rawUtcOffsetHours\": -4\n },\n {\n \"id\": \"Asia__Aqtau\",\n \"name\": \"West Kazakhstan Time\",\n \"rawUtcOffsetHours\": 5\n },\n {\n \"id\": \"Pacific__Kwajalein\",\n \"name\": \"Marshall Islands Time\",\n \"rawUtcOffsetHours\": 12\n },\n {\n \"id\": \"America__El_Salvador\",\n \"name\": \"Central Standard Time\",\n \"rawUtcOffsetHours\": -6\n },\n {\n \"id\": \"Asia__Pontianak\",\n \"name\": \"Western Indonesia Time\",\n \"rawUtcOffsetHours\": 7\n }\n ],\n \"links\": [\n {\n \"href\": \"/data/world/v1/locale/timezones?offset=0&limit=5\",\n \"rel\": \"first\"\n },\n {\n \"href\": \"/data/world/v1/locale/timezones?offset=0&limit=5\",\n \"rel\": \"prev\"\n },\n {\n \"href\": \"/data/world/v1/locale/timezones?offset=10&limit=5\",\n \"rel\": \"next\"\n },\n {\n \"href\": \"/data/world/v1/locale/timezones?offset=595&limit=5\",\n \"rel\": \"last\"\n }\n ],\n \"metadata\": {\n \"currentOffset\": 5,\n \"totalCount\": 600\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of time-zones", "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": "a9b75ca5-ff47-4360-9752-8db7755631ad", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f7a6726b-1a26-428a-807b-57d29ce28b3a", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e5611f8d-8b69-4b13-909e-e77f380af704", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "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": "514fe729-6f9e-4b8b-b30e-e79e9ec35de0", "documentation": "Get time-zone date-time", "method": "get", "endpoint": "locale/timezones/:zoneId/dateTime", "responses": [ { "uuid": "d1ef0c04-19c4-4825-a3c8-06db5f2b9e67", "body": "{\n \"data\": \"2020-10-05T01:16:53.504604+04:30\"\n}", "latency": 0, "statusCode": 200, "label": "An ISO-6801 date-time", "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": "54987d27-f57e-409b-80e7-a30b253dc4af", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d7ee8e4a-cf0d-43fd-93ff-264ca77b599d", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "95ccda68-7a10-4d2c-a176-24230be0dda7", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c43f6746-93c1-4897-a0b0-de809703e094", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "9340607b-3181-42c1-b7ca-fc9f7136641a", "documentation": "Get time-zone time", "method": "get", "endpoint": "locale/timezones/:zoneId/time", "responses": [ { "uuid": "91ee74ec-6cbc-4762-9e0b-90970a0f4bec", "body": "{\n \"data\": \"19:21:38.796217\"\n}", "latency": 0, "statusCode": 200, "label": "An ISO-8601 time 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": "65d1c195-ac0e-4d38-8b63-d2b3da9398f3", "body": "{\n \"errors\": [\n {\n \"code\": \"PARAM_INVALID\",\n \"message\": \"Param [someParam] has invalid value: invalidValue\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "400 - Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9b4bd568-4790-4598-87d6-e0aafeacadb6", "body": "", "latency": 0, "statusCode": 401, "label": "401 - Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "95d6e896-5299-43ea-ad40-81036861d0fc", "body": "{\n \"errors\": [\n {\n \"code\": \"ACCESS_DENIED\",\n \"message\": \"The reason why access was denied\"\n }\n ]\n}", "latency": 0, "statusCode": 403, "label": "403 - Forbidden", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cf200c17-d30e-4b1c-b33b-5b2dcfaa1d19", "body": "{\n \"errors\": [\n {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity not found for id: someEntityId\"\n }\n ]\n}", "latency": 0, "statusCode": 404, "label": "404 - Not Found", "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": "2173685c-89b8-4f00-8cfc-6ef92870287d" }, { "type": "route", "uuid": "3eaf5a68-92eb-4a03-aa17-5700b0e720a6" }, { "type": "route", "uuid": "28ff5dce-c311-4f6a-aa19-189d93ad4f54" }, { "type": "route", "uuid": "9676dbef-c6be-4d3b-9197-e99dc9b17e18" }, { "type": "route", "uuid": "defdaae1-a313-499c-b48e-becbafa15503" }, { "type": "route", "uuid": "8014485f-e8e5-4d4a-ade6-da0e4e3bad3d" }, { "type": "route", "uuid": "f659bfbc-c15d-4bd7-9e4a-b639d24144cf" }, { "type": "route", "uuid": "0ba0635a-4d71-47d4-a5ff-52adf1b08f1f" }, { "type": "route", "uuid": "9d6f3e96-8acc-4163-82e9-2f7c2ad172db" }, { "type": "route", "uuid": "1ee159ce-0845-4ba8-b625-e577d6946b0b" }, { "type": "route", "uuid": "3f602903-203e-47b0-91d3-e489ecc37a33" }, { "type": "route", "uuid": "b1dfab2c-3274-4a3e-b017-24d2f2c01f5b" }, { "type": "route", "uuid": "4e440bab-21b9-400d-b0d8-c7a27bdd54a5" }, { "type": "route", "uuid": "8027be6a-aed5-4378-a5c9-176b94ba8049" }, { "type": "route", "uuid": "46629770-344e-4ebf-941b-0fa23661f879" }, { "type": "route", "uuid": "f3894687-5287-4b1c-b839-a35836f74f8a" }, { "type": "route", "uuid": "09784074-0aab-4f98-a158-313721a5a5c5" }, { "type": "route", "uuid": "67c8904c-12d8-4dee-b020-7bea3aee7770" }, { "type": "route", "uuid": "f7d56df7-338f-4977-8d1d-e1be87136daf" }, { "type": "route", "uuid": "7bf95486-f6e3-44fc-9e65-c0528f5074df" }, { "type": "route", "uuid": "04bf0c53-0e99-4b8e-9431-a0b327019b8d" }, { "type": "route", "uuid": "fabfe5da-c4a0-43b5-b397-a48b6ea2d07e" }, { "type": "route", "uuid": "f3dc5ab3-1e89-4639-8647-ac063cb5aefe" }, { "type": "route", "uuid": "514fe729-6f9e-4b8b-b30e-e79e9ec35de0" }, { "type": "route", "uuid": "9340607b-3181-42c1-b7ca-fc9f7136641a" } ] }