{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:deutschebahn-stada/get-stations":{"get":{"operationId":"transport_deutschebahn_stada_get_stations","summary":"This operation provides the master data for german railway stations.","description":"GET /stations","tags":["transport"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,…","schema":{"type":"integer","description":"Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,…"}},{"name":"limit","in":"query","required":false,"description":"The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and…","schema":{"type":"integer","description":"The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and…"}},{"name":"searchstring","in":"query","required":false,"description":"String to search for a station name. The wildcards * (indicating an arbitrary number of characters) and ? (indicating one single…","schema":{"type":"string","description":"String to search for a station name. The wildcards * (indicating an arbitrary number of characters) and ? (indicating one single…"}},{"name":"category","in":"query","required":false,"description":"Filter by station category. Category ranges are supported as well as lists of categories (e.g. category=2-4 or category=1,3-5). The…","schema":{"type":"string","description":"Filter by station category. Category ranges are supported as well as lists of categories (e.g. category=2-4 or category=1,3-5). The…"}},{"name":"federalstate","in":"query","required":false,"description":"Filter by German federal state. Lists of federal states are also supported (e.g. federalstate=bayern,hamburg). Wildcards are not allowed…","schema":{"type":"string","description":"Filter by German federal state. Lists of federal states are also supported (e.g. federalstate=bayern,hamburg). Wildcards are not allowed…"}},{"name":"eva","in":"query","required":false,"description":"Filter by EVA number. Wildcards are not allowed here.","schema":{"type":"integer","description":"Filter by EVA number. Wildcards are not allowed here."}},{"name":"ril","in":"query","required":false,"description":"Filter by Ril100-identifier. Wildcards are not allowed here.","schema":{"type":"string","description":"Filter by Ril100-identifier. Wildcards are not allowed here."}},{"name":"logicaloperator","in":"query","required":false,"description":"Logical operator to combine query parameters (default=AND). See above for further details. Allowed values: or, and","schema":{"type":"string","description":"Logical operator to combine query parameters (default=AND). See above for further details. Allowed values: or, and"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-stada/get-stations-id":{"get":{"operationId":"transport_deutschebahn_stada_get_stations_id","summary":"This operation provides the master data for a german railway station selected by its station-id.","description":"GET /stations/{id}","tags":["transport"],"parameters":[{"name":"id","in":"query","required":true,"description":"Station ID (Bahnhofsnummer)","schema":{"type":"integer","description":"Station ID (Bahnhofsnummer)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-stada/get-szentralen":{"get":{"operationId":"transport_deutschebahn_stada_get_szentralen","summary":"This operation provides the master data for 3-S-Zentralen.","description":"GET /szentralen","tags":["transport"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,…","schema":{"type":"integer","description":"Offset of the first hit returned in the QueryResult object with respect to all hits returned by the query. If this parameter is omitted,…"}},{"name":"limit","in":"query","required":false,"description":"The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and…","schema":{"type":"integer","description":"The maximum number of hits to be returned by that query. If 'limit' is set greater than 10000, it will be reset to 10000 internally and…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:deutschebahn-stada/get-szentralen-id":{"get":{"operationId":"transport_deutschebahn_stada_get_szentralen_id","summary":"This operation provides the master data for 3-S-Zentralen select by its id.","description":"GET /szentralen/{id}","tags":["transport"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of the 3-S-Zentrale.","schema":{"type":"integer","description":"id of the 3-S-Zentrale."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}