Returns monthly download statistics of data from all sites in Finland:
Returns monthly download statistics of data from all sites in Finland:
...
@@ -64,9 +71,14 @@ If relevant; For each period, include campaign data if there are measurements fo
...
@@ -64,9 +71,14 @@ If relevant; For each period, include campaign data if there are measurements fo
### GET /api/download/provision
### GET /api/download/provision
Return download statistics based on the following query parameters:
Return download statistics based on the following query parameters:
*dimensions:* Comma-separated list of dimensions. Supported combinations are yearMonth variable, yearMonth facility and yearMonth instrument, yearMonth country
**dimensions:** Comma-separated list of dimensions. Supported combinations are yearMonth variable, yearMonth facility and yearMonth instrument, yearMonth country
*facility:* (optional) Filter available datasets based on measurement facility. See https://head-office.fi/api/facility for available facilities.
*country:* (optional) Filter available datasets based on the country of measurement facilities. The country is specified using ISO 3166-1 alpha-2 code.
**facility:** (optional) Filter available datasets based on measurement facility. See https://head-office.fi/api/facility for available facilities.
*productTypes:* (optional) Filter available datasets based on product type. Supported values are observation, model and fundamentalParameter.
*downloadDateFrom:* (optional) Include available datasets on or after this date. Expects date in YYYY-MM-DD format.
**country:** (optional) Filter available datasets based on the country of measurement facilities. The country is specified using ISO 3166-1 alpha-2 code.
*downloadDateTo:* (optional) Include available datasets on or before this date. Expects date in YYYY-MM-DD format.
**productTypes:** (optional) Filter available datasets based on product type. Supported values are observation, model and fundamentalParameter.
**downloadDateFrom:** (optional) Include available datasets on or after this date. Expects date in YYYY-MM-DD format.
**downloadDateTo:** (optional) Include available datasets on or before this date. Expects date in YYYY-MM-DD format.