{"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:oceandrivers/compare-station":{"get":{"operationId":"open_data_oceandrivers_compare_station","summary":"Get forecast and realtime information for known points None","description":"GET /v1.0/compareStation/{stationName}/","tags":["open-data"],"parameters":[{"name":"stationName","in":"query","required":true,"description":"Weather station to compare, values: cnareanl|rcnp | cmsap|boyaenderrocat|areopuertopalma | EWXXX","schema":{"type":"string","default":"cnarenal","description":"Weather station to compare, values: cnareanl|rcnp | cmsap|boyaenderrocat|areopuertopalma | EWXXX"}}],"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/open-data:oceandrivers/get-aemet-station":{"get":{"operationId":"open_data_oceandrivers_get_aemet_station","summary":"Get data from the aemet stations None","description":"GET /v1.0/getAemetStation/{stationName}/{period}/","tags":["open-data"],"parameters":[{"name":"stationName","in":"query","required":true,"description":"station name currently: aeropuertopalma | caboblanco","schema":{"type":"string","default":"aeropuertopalma","description":"station name currently: aeropuertopalma | caboblanco"}},{"name":"period","in":"query","required":true,"description":"Period of time to get the data. Options: lastdata lastday","schema":{"type":"string","default":"lastdata","description":"Period of time to get the data. Options: lastdata lastday"}}],"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/open-data:oceandrivers/get-easywind":{"get":{"operationId":"open_data_oceandrivers_get_easywind","summary":"Get data from the easywind weather stations None","description":"GET /v1.0/getEasyWind/{easywindId}/","tags":["open-data"],"parameters":[{"name":"easywindId","in":"query","required":true,"description":"currently: 'EW013'|'EW008'","schema":{"type":"string","default":"EW013","description":"currently: 'EW013'|'EW008'"}},{"name":"period","in":"query","required":true,"description":"Period of time to get the data latestdata|latesthour|latestday","schema":{"type":"string","default":"latestdata","description":"Period of time to get the data latestdata|latesthour|latestday"}}],"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/open-data:oceandrivers/get-event-stations":{"get":{"operationId":"open_data_oceandrivers_get_event_stations","summary":"Get stations in an event None","description":"GET /v1.0/getEventStations/{eventId}/","tags":["open-data"],"parameters":[{"name":"eventId","in":"query","required":true,"description":"currently: 'trofeoprincesasofia|palmavela'","schema":{"type":"string","default":"trofeoprincesasofia","description":"currently: 'trofeoprincesasofia|palmavela'"}}],"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/open-data:oceandrivers/get-forecast-points":{"get":{"operationId":"open_data_oceandrivers_get_forecast_points","summary":"Get forecast points of a yatchclub None","description":"GET /v1.0/getForecastPoints/{yatchclubid}/language/{language}","tags":["open-data"],"parameters":[{"name":"yatchclubid","in":"query","required":true,"description":"base URL for the the","schema":{"type":"string","default":"cnarenal","description":"base URL for the the"}},{"name":"language","in":"query","required":true,"schema":{"type":"string"}}],"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/open-data:oceandrivers/get-forecast-time-series":{"get":{"operationId":"open_data_oceandrivers_get_forecast_time_series","summary":"Get timeseries forecast information None","description":"GET /v1.0/getForecastTimeSeries/{latitude}/{longitude}/","tags":["open-data"],"parameters":[{"name":"latitude","in":"query","required":true,"description":"latitude for the forecast","schema":{"type":"number","default":39.49,"description":"latitude for the forecast"}},{"name":"longitude","in":"query","required":true,"description":"longitude for the forecast","schema":{"type":"number","default":2.74,"description":"longitude for the forecast"}},{"name":"inittime","in":"query","required":false,"description":"initial date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ","schema":{"type":"string","description":"initial date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ"}},{"name":"endtime","in":"query","required":false,"description":"end date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ","schema":{"type":"string","description":"end date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ"}},{"name":"days","in":"query","required":false,"description":"optional number of days in string. Will be added to init forecast date","schema":{"type":"integer","description":"optional number of days in string. Will be added to init forecast date"}},{"name":"hours","in":"query","required":false,"description":"optional number of hours in string. Will be added to init forecast date","schema":{"type":"integer","description":"optional number of hours in string. Will be added to init forecast date"}},{"name":"weather","in":"query","required":true,"description":"Comma separated values for the weather parameteres temperature,rain,wind_u,wind_v,gust,pressure,cloud,humidity&wave=height,direction,period","schema":{"type":"string","description":"Comma separated values for the weather parameteres temperature,rain,wind_u,wind_v,gust,pressure,cloud,humidity&wave=height,direction,period"}},{"name":"wave","in":"query","required":false,"description":"Comma separated values for the wave parameteres height,direction,period","schema":{"type":"string","description":"Comma separated values for the wave parameteres height,direction,period"}},{"name":"entryid","in":"query","required":false,"description":"Direct file I want to extract","schema":{"type":"string","description":"Direct file I want to extract"}}],"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/open-data:oceandrivers/get-forecast-time-series-wrf":{"get":{"operationId":"open_data_oceandrivers_get_forecast_time_series_wrf","summary":"Get timeseries forecast information None","description":"GET /v1.0/getForecastTimeSeriesWrf/{latitude}/{longitude}/","tags":["open-data"],"parameters":[{"name":"latitude","in":"query","required":true,"description":"latitude for the forecast","schema":{"type":"number","default":39.49,"description":"latitude for the forecast"}},{"name":"longitude","in":"query","required":true,"description":"longitude for the forecast","schema":{"type":"number","default":2.74,"description":"longitude for the forecast"}},{"name":"inittime","in":"query","required":false,"description":"initial date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ","schema":{"type":"string","description":"initial date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ"}},{"name":"endtime","in":"query","required":false,"description":"end date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ","schema":{"type":"string","description":"end date for the forecast ISO string YYYY-MM-DDTHH:mm:SS.SZ"}},{"name":"days","in":"query","required":false,"description":"optional number of days in string. Will be added to init forecast date","schema":{"type":"integer","description":"optional number of days in string. Will be added to init forecast date"}},{"name":"hours","in":"query","required":false,"description":"optional number of hours in string. Will be added to init forecast date","schema":{"type":"integer","description":"optional number of hours in string. Will be added to init forecast date"}},{"name":"weather","in":"query","required":true,"description":"Comma separated values for the weather parameteres temperature,rain,wind_u,wind_v,gust,pressure,cloud,humidity&wave=height,direction,period","schema":{"type":"string","description":"Comma separated values for the weather parameteres temperature,rain,wind_u,wind_v,gust,pressure,cloud,humidity&wave=height,direction,period"}},{"name":"wave","in":"query","required":false,"description":"Comma separated values for the wave parameteres height,direction,period","schema":{"type":"string","description":"Comma separated values for the wave parameteres height,direction,period"}},{"name":"entryid","in":"query","required":false,"description":"Direct file I want to extract","schema":{"type":"string","description":"Direct file I want to extract"}}],"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/open-data:oceandrivers/get-socib-weather-station":{"get":{"operationId":"open_data_oceandrivers_get_socib_weather_station","summary":"Get data from the socib bahia de palma buoy None","description":"GET /v1.0/getSocibWeatherStation/{stationName}/{period}/","tags":["open-data"],"parameters":[{"name":"stationName","in":"query","required":true,"description":"station name currently: boyaenderrocat | playadepalma","schema":{"type":"string","default":"boyaenderrocat","description":"station name currently: boyaenderrocat | playadepalma"}},{"name":"period","in":"query","required":true,"description":"Period of time to get the data. Options: lastdata lasthour lastday","schema":{"type":"string","default":"lastdata","description":"Period of time to get the data. Options: lastdata lasthour lastday"}}],"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/open-data:oceandrivers/get-weather-display":{"get":{"operationId":"open_data_oceandrivers_get_weather_display","summary":"Get data from the weather display software None","description":"GET /v1.0/getWeatherDisplay/{stationName}/","tags":["open-data"],"parameters":[{"name":"stationName","in":"query","required":true,"description":"currently: 'cnarenal'|'campastilla' | 'cncg'","schema":{"type":"string","default":"cnarenal","description":"currently: 'cnarenal'|'campastilla' | 'cncg'"}},{"name":"period","in":"query","required":true,"description":"Period of time to get the data latestdata|latesthour|latestday|dailylog","schema":{"type":"string","default":"latestdata","description":"Period of time to get the data latestdata|latesthour|latestday|dailylog"}}],"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/open-data:oceandrivers/get-web-cams":{"get":{"operationId":"open_data_oceandrivers_get_web_cams","summary":"Get forecast and realtime information for known points None","description":"GET /v1.0/getWebCams/","tags":["open-data"],"parameters":[],"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"}}}}}}}