{ "uuid": "525c63b7-4621-4db5-bb50-15bef7ed08e0", "lastMigration": 19, "name": "Socio-demo API", "endpointPrefix": "sociodemo/sandbox/api", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "d1875223-88ea-4553-8ced-9938ce6bcde6", "documentation": "Presence in a location aggregated by age", "method": "get", "endpoint": "age/:location", "responses": [ { "uuid": "938aa496-3bf3-48a3-97ba-0431e9d28a16", "body": "{\n \"count\": \"62984\"\n}", "latency": 0, "statusCode": 200, "label": "Response with the requested content.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "7496467a-52c4-4ce2-ba66-a9b409672457", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "fb47768d-a052-48e5-b67c-413a20f456e5", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "9b4d31db-f87a-4566-84d3-6308d4c5f4e6", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "54a62c75-e478-40a4-b5f0-8a97d1dccd8b", "documentation": "Presence in a location aggregated by gender", "method": "get", "endpoint": "gender/:location", "responses": [ { "uuid": "e26c9039-5a26-49f4-9673-dbb9ac5aff9e", "body": "{\n \"count\": \"62984\"\n}", "latency": 0, "statusCode": 200, "label": "Response with the requested content.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "22f571b0-896f-4db8-9ceb-15fefc82220a", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "3e7a58ee-dfe0-488d-a603-8f005be6d847", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "c7b2b67c-a71d-4280-9ce0-533c68896210", "body": "{\n \"message\": \"Error message example.\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "80253555-da8d-4796-ae2a-1f6a979bee95", "documentation": "Information about versions of application and data.", "method": "get", "endpoint": "info", "responses": [ { "uuid": "f0d54f5c-22f1-4b25-b882-47a69b3cb179", "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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }