{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:amadeus-amadeus-airport-city-search/get-airport-city-search":{"get":{"operationId":"open_data_amadeus_amadeus_airport_city_search_get_airport_city_search","summary":"Returns a list of airports and cities matching a given keyword.","description":"GET /reference-data/locations","tags":["open-data"],"parameters":[{"name":"subType","in":"query","required":true,"description":"sub type of the location (AIRPORT and/or CITY)","schema":{"type":"array","description":"sub type of the location (AIRPORT and/or CITY)"},"example":"CITY"},{"name":"keyword","in":"query","required":true,"description":"keyword that should represent the start of a word in a city or airport name or code. Supported charaters are: A-Za-z0-9./:-'()\"","schema":{"type":"string","description":"keyword that should represent the start of a word in a city or airport name or code. Supported charaters are: A-Za-z0-9./:-'()\""},"example":"MUC"},{"name":"countryCode","in":"query","required":false,"description":"Country code of the location using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code format (e.g. US).","schema":{"type":"string","description":"Country code of the location using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code format (e.g. US)."}},{"name":"page[limit]","in":"query","required":false,"description":"maximum items in one page","schema":{"type":"integer","default":10,"description":"maximum items in one page"}},{"name":"page[offset]","in":"query","required":false,"description":"start index of the requested page","schema":{"type":"integer","default":0,"description":"start index of the requested page"}},{"name":"sort","in":"query","required":false,"description":"defines on which attribute the sorting will be done: * analytics.travelers.score - sort by the number of travelers by airport or city, the…","schema":{"type":"string","enum":["analytics.travelers.score"],"default":"analytics.travelers.score","description":"defines on which attribute the sorting will be done: * analytics.travelers.score - sort by the number of travelers by airport or city, the…"}},{"name":"view","in":"query","required":false,"description":"select the level of information of the reply: * LIGHT - Gives only the IATACode, name, detailedName, cityName and countryName * FULL -…","schema":{"type":"string","enum":["LIGHT","FULL"],"default":"FULL","description":"select the level of information of the reply: * LIGHT - Gives only the IATACode, name, detailedName, cityName and countryName * FULL -…"}}],"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":"byok"}},"/v1/open-data:amadeus-amadeus-airport-city-search/get-airport-city":{"get":{"operationId":"open_data_amadeus_amadeus_airport_city_search_get_airport_city","summary":"Returns a specific airports or cities based on its id.","description":"GET /reference-data/locations/{locationId}","tags":["open-data"],"parameters":[{"name":"locationId","in":"query","required":true,"description":"identifier of the location","schema":{"type":"string","description":"identifier of the location"},"example":"CMUC"}],"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":"byok"}}},"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"}}}}}}}