{ "uuid": "01ddc569-f5c9-4358-be19-43e00e6041d3", "lastMigration": 29, "name": "Betriebsstellen", "endpointPrefix": "betriebsstellen/v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "5152e493-37bd-485d-baf4-754e5a5b0d7b", "documentation": "Get information of stations matching a given text", "method": "get", "endpoint": "betriebsstellen", "responses": [ { "uuid": "6840f4e9-6dd3-4fab-842e-4f6a5c4dd457", "body": "[\n {\n \"RB\": {{faker 'number.int' max=99999}},\n \"UIC\": \"\",\n \"abbrev\": \"\",\n \"borderStation\": {{faker 'datatype.boolean'}},\n \"id\": {{faker 'number.int' max=99999}},\n \"locationCode\": \"\",\n \"name\": \"\",\n \"short\": \"\",\n \"status\": \"{{oneOf (array 'in use' 'out of service' 'formerly' 'planned' 'study')}}\",\n \"timeTableRelevant\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'Abzw' 'Anst' 'Awanst' 'Bf')}}\",\n \"validFrom\": \"\",\n \"validTill\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "List was generated", "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": "4c6778ab-66e6-4f2b-8035-f6f7faa39dee", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"message\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "No stations or stops could be found matching the given name", "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": "6d185252-dc2d-4caa-812d-614f81c6d8ef", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"message\": \"\"\n}", "latency": 0, "statusCode": 416, "label": "Filtering required - specify a name fragment of at least 3 characters", "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": "d5afcb6d-8d3b-45e2-b771-ce5de72424ed", "documentation": "Get information about a specific station or stop by abbrevation", "method": "get", "endpoint": "betriebsstellen/:abbrev", "responses": [ { "uuid": "224d0215-3101-42ad-818f-22efde0e1fae", "body": "", "latency": 0, "statusCode": 200, "label": "Entry found", "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": "d8f70bf5-7ea3-45f3-be8e-2b91b45437dc", "body": "", "latency": 0, "statusCode": 404, "label": "Entry 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": "5152e493-37bd-485d-baf4-754e5a5b0d7b" }, { "type": "route", "uuid": "d5afcb6d-8d3b-45e2-b771-ce5de72424ed" } ] }