{ "uuid": "ae84bb94-f95d-4ad0-98c2-fe8deff1bebb", "lastMigration": 29, "name": "Socio-demo API", "endpointPrefix": "sociodemo/sandbox/api", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "abd06d0c-4e43-4dec-ab29-d48ec5f960ae", "documentation": "Presence in a location aggregated by age", "method": "get", "endpoint": "age/:location", "responses": [ { "uuid": "0385f3d0-ba38-4570-bf8e-e5385e6012c0", "body": "{\n \"count\": \"62984\"\n}", "latency": 0, "statusCode": 200, "label": "Response with the requested content.", "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": "931270f6-b956-4c0d-9490-a8ba4fda082c", "body": "", "latency": 0, "statusCode": 204, "label": "The request is valid, but the platform is not able to serve the data. The reason may be restriction (e.g. differential privacy) or no data were 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" }, { "uuid": "86b429e3-204d-4839-afab-52706c55c9b8", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 400, "label": "Invalid request provided, missing or invalid parameter.", "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": "ecb85c85-97d5-4003-9f76-2cb520f18018", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a9341fa0-05df-4d5e-8af6-33e0fab652c5", "documentation": "Presence in a location aggregated by gender", "method": "get", "endpoint": "gender/:location", "responses": [ { "uuid": "beae8897-beef-4712-9cb7-eb93e00b7811", "body": "{\n \"count\": \"62984\"\n}", "latency": 0, "statusCode": 200, "label": "Response with the requested content.", "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": "fa71c6d7-9d00-4cb2-9c07-a11752e4f258", "body": "", "latency": 0, "statusCode": 204, "label": "The request is valid, but the platform is not able to serve the data. The reason may be restriction (e.g. differential privacy) or no data were 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" }, { "uuid": "2414c651-7b3d-4adf-bbc9-d7417dfa99d1", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 400, "label": "Invalid request provided, missing or invalid parameter.", "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": "dbfb1a03-f088-4fae-8a8f-ca9b1b1ec687", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d48a80bb-ee0f-496a-bc2f-85cafd14194a", "documentation": "Information about versions of application and data.", "method": "get", "endpoint": "info", "responses": [ { "uuid": "3af2822d-9b5a-4f00-afdd-878a6102200f", "body": "{\n \"appName\": \"Mobility API Frontend\",\n \"appVendor\": \"O2 Czech Republic a.s.\",\n \"appVersion\": \"1.0-M6-SNAPSHOT\",\n \"backendAppName\": \"Mobility API Backend\",\n \"backendAppVendor\": \"O2 Czech Republic a.s.\",\n \"backendAppVersion\": \"1.0-M6-SNAPSHOT\",\n \"backendDataFrom\": \"2017-07-31\"\n}", "latency": 0, "statusCode": 200, "label": "Response with the requested content.", "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" } ], "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": "abd06d0c-4e43-4dec-ab29-d48ec5f960ae" }, { "type": "route", "uuid": "a9341fa0-05df-4d5e-8af6-33e0fab652c5" }, { "type": "route", "uuid": "d48a80bb-ee0f-496a-bc2f-85cafd14194a" } ] }