action openaq_averages_v2_get_v2_averages_get { label: "Averages V2 Get" provider: openaq method: GET path: "/v2/averages" encoding: json input: { type: "object" properties: { country: { type: "array" description: "\n Limit results by a certain country using two letter country code.\n (ex. ?country=US or ?country=US&country=MX)\n " items: { type: "string" } } country_id: { type: "string" description: "\n Limit results by a certain country using two letter country code.\n (ex. /US)\n " } date_from: { type: "object" } date_to: { type: "object" } group: { type: "boolean" } limit: { type: "integer" description: "Change the number of results returned." } location: { type: "array" items: { type: "string" } } offset: { type: "integer" } page: { type: "integer" description: "Paginate through results." } parameter: { type: "array" items: { type: "object" } } parameter_id: { type: "integer" } project: { type: "array" items: { type: "object" } } project_id: { type: "integer" } sort: { description: "Define sort order." type: "object" } spatial: { type: "string" description: "An enumeration." enum: ["country", "location", "project", "total"] } temporal: { type: "string" description: "An enumeration." enum: ["day", "month", "year", "moy", "dow", "hour", "hod"] } unit: { type: "array" items: { type: "string" } } } required: ["spatial", "temporal"] additionalProperties: false } output: { type: "object" properties: { meta: { type: "object" } results: { type: "array" items: { type: "object" } } } } }