{ "uuid": "7e6f615a-d759-43d4-81a1-7c4eb13cca53", "lastMigration": 29, "name": "Mtaa API Documentation", "endpointPrefix": "api", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "87363690-7f83-42da-97e5-b3441b7f45da", "documentation": "Returns all regions present in Tanzania", "method": "get", "endpoint": ":country", "responses": [ { "uuid": "abcd40b6-11fc-40f0-bd21-46a10f0eb8fe", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "43750874-f0e3-45da-baad-4ea32b7544a4", "documentation": "Returns all districts in region", "method": "get", "endpoint": ":country/:region", "responses": [ { "uuid": "e233f6b1-93e2-4497-9082-a5ee92352dbd", "body": "", "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": "208231f6-129e-4461-a9f0-1fc1a5fac9c5", "body": "", "latency": 0, "statusCode": 404, "label": "Resource 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": "4d788d1e-6a06-4ebd-a63f-985e07e83f63", "documentation": "Returns all wards in a district", "method": "get", "endpoint": ":country/:region/:district", "responses": [ { "uuid": "6ec19c76-6960-4956-846e-6c9c32227ad0", "body": "", "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": "df2a934e-344a-43f8-9fcf-98278dd5335c", "body": "", "latency": 0, "statusCode": 404, "label": "Resource 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": "8a7d1058-8b67-4c57-bd3c-ea6430957ea7", "documentation": "Returns all streets in a ward", "method": "get", "endpoint": ":country/:region/:district/:ward", "responses": [ { "uuid": "d01b786b-3b72-409d-89a2-706b6e108a2f", "body": "", "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": "e30deace-830e-43c1-a3a0-c5186ba31968", "body": "", "latency": 0, "statusCode": 404, "label": "Resource 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": "9894e262-215e-4c8a-b18c-d1f67284ffdc", "documentation": "Returns all neighborhood in a street", "method": "get", "endpoint": ":country/:region/:district/:ward/:street", "responses": [ { "uuid": "b9d102c4-9b70-41aa-8a29-2440c70fe9c3", "body": "", "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": "18cccf3c-1acb-46f0-a509-1610443a4db6", "body": "", "latency": 0, "statusCode": 404, "label": "Resource 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": "87363690-7f83-42da-97e5-b3441b7f45da" }, { "type": "route", "uuid": "43750874-f0e3-45da-baad-4ea32b7544a4" }, { "type": "route", "uuid": "4d788d1e-6a06-4ebd-a63f-985e07e83f63" }, { "type": "route", "uuid": "8a7d1058-8b67-4c57-bd3c-ea6430957ea7" }, { "type": "route", "uuid": "9894e262-215e-4c8a-b18c-d1f67284ffdc" } ] }