components: securitySchemes: api_key: in: header name: X-Auth type: apiKey x-apikeyInfoFunc: user.controller.apikey_auth info: title: EMD-API - for access to EMD Online Data Services version: '1.1' openapi: 3.0.0 paths: /calibrated/: get: operationId: windindex.controller.get_windindexcalibrated responses: '200': content: application/json: schema: items: properties: turbine_id: type: string type: object type: array description: Successful operation - list of turbines returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Return list of wind turbines with the calibrated wind-index tags: - wind-index /calibrated/details/{turbine_id}: get: operationId: windindex.controller.get_windindexcalibrateddetails parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string responses: '200': content: application/json: schema: properties: data_ready: type: boolean hub_height: type: number last_wind_index: properties: month: type: integer year: type: integer type: object latitude: type: number longitude: type: number name: type: string power_curve: properties: power: items: properties: power: type: number wind_speed: type: number type: object type: array power_control: enum: - pcStall - pcPitch type: string type: object rated_power: type: number rotor_diameter: type: number time_zone: type: string training_end: type: string training_start: type: string turbine_id: type: string type: object description: Successful operation - turbine details returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Returns details if a turbine tags: - wind-index /calibrated/model_data/{turbine_id}: get: operationId: windindex.controller.get_windindexcalibratedmodeldata parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string - description: First date - load data starting at this date, if not provided first available date in: query name: start_date required: false schema: default: '2020-01-01' format: date type: string - description: End date - load data before this date in: query name: end_date required: false schema: default: '2030-12-01' format: date type: string responses: '200': content: text/csv: schema: type: string description: Successful operation - csv file with model data is returned '400': description: No data found '401': description: License or token is expired. '404': description: No access to turbine security: - api_key: [] summary: Return comma seperated csv file with model used for prediction (site and hub_height adjusted), the returned data is in turbine time zone tags: - wind-index /calibrated/wind_indices/{turbine_id}: get: operationId: windindex.controller.get_windindexcalibratedwindindices parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string responses: '200': content: text/csv: schema: type: string description: Successful operation - list of turbines returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Return comma seperated csv file with different wind indices tags: - wind-index /calibrated/wind_indices/{turbine_id}/{year}/{month}/: get: operationId: windindex.controller.get_windindexcalibratedwindindicesmonth parameters: - description: Turbine_id of request in: path name: turbine_id required: true schema: type: string - description: Year of month in: path name: year required: true schema: type: integer - description: Month to get wind index information for in: path name: month required: true schema: type: integer responses: '200': content: application/json: schema: properties: last12_month_index: type: number last_full_quarter_index: type: number last_full_year_index: type: number month: type: integer monthIndex: type: number month_abnormality_index: type: number predicted_production: type: number turbine_id: type: string year: type: integer type: object description: Successful operation - list of turbines returned '400': description: No data found '401': description: License or token is expired. security: - api_key: [] summary: Return json with wind index information for the given turbine, year, month tags: - wind-index servers: - url: /wind-index tags: - description: Calibrated wind-energy index data for specific wind turbine locations name: wind-index