{"openapi":"3.0.3","info":{"title":"ICOS Carbon Portal download statistics","version":"demo"},"paths":{"/stats/static/":{"get":{"summary":"the stylesheet and the script","responses":{"200":{"description":"the stylesheet and the script","content":{"application/octet-stream":{}}}}}},"/stats/api/downloadsByCountry":{"get":{"summary":"downloads per download country under the filter","responses":{"200":{"description":"downloads per download country under the filter","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"downloads per download country under the filter","responses":{"200":{"description":"downloads per download country under the filter","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/dlfrom":{"get":{"summary":"every download country ever seen, with its count","responses":{"200":{"description":"every download country ever seen, with its count","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"every download country ever seen, with its count","responses":{"200":{"description":"every download country ever seen, with its count","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/downloadsPerWeek":{"get":{"summary":"downloads per ISO week under the filter","responses":{"200":{"description":"downloads per ISO week under the filter","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"downloads per ISO week under the filter","responses":{"200":{"description":"downloads per ISO week under the filter","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/downloadsPerMonth":{"get":{"summary":"downloads per month under the filter","responses":{"200":{"description":"downloads per month under the filter","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"downloads per month under the filter","responses":{"200":{"description":"downloads per month under the filter","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/downloadsPerYear":{"get":{"summary":"downloads per year under the filter","responses":{"200":{"description":"downloads per year under the filter","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"downloads per year under the filter","responses":{"200":{"description":"downloads per year under the filter","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/downloadStats":{"get":{"summary":"the most downloaded objects under the filter, paged (page, pagesize)","responses":{"200":{"description":"the most downloaded objects under the filter, paged (page, pagesize)","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}},{"name":"page","in":"query","description":"the page, from 1 (also pageOpt)","schema":{"type":"integer"}},{"name":"pagesize","in":"query","description":"objects a page, 1 to 100000 (also pagesizeOpt)","schema":{"type":"integer"}}]},"post":{"summary":"the most downloaded objects under the filter, paged (page, pagesize)","responses":{"200":{"description":"the most downloaded objects under the filter, paged (page, pagesize)","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"},"page":{"type":"integer","description":"the page, from 1 (also pageOpt)"},"pagesize":{"type":"integer","description":"objects a page, 1 to 100000 (also pagesizeOpt)"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/specifications":{"get":{"summary":"every data type ever seen, with its count","responses":{"200":{"description":"every data type ever seen, with its count","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"every data type ever seen, with its count","responses":{"200":{"description":"every data type ever seen, with its count","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/contributors":{"get":{"summary":"every contributor ever seen, with its count","responses":{"200":{"description":"every contributor ever seen, with its count","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"every contributor ever seen, with its count","responses":{"200":{"description":"every contributor ever seen, with its count","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/submitters":{"get":{"summary":"every submitter ever seen, with its count","responses":{"200":{"description":"every submitter ever seen, with its count","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"every submitter ever seen, with its count","responses":{"200":{"description":"every submitter ever seen, with its count","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/stations":{"get":{"summary":"every station ever seen, with its count","responses":{"200":{"description":"every station ever seen, with its count","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"every station ever seen, with its count","responses":{"200":{"description":"every station ever seen, with its count","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/customDownloadsPerYearCountry":{"get":{"summary":"downloads per year and download country, the filter ignored","responses":{"200":{"description":"downloads per year and download country, the filter ignored","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"downloads per year and download country, the filter ignored","responses":{"200":{"description":"downloads per year and download country, the filter ignored","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/downloadCount":{"get":{"summary":"the downloads of one object (hashId)","responses":{"200":{"description":"the downloads of one object (hashId)","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}}]},"post":{"summary":"the downloads of one object (hashId)","responses":{"200":{"description":"the downloads of one object (hashId)","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/lastDownloads":{"get":{"summary":"the most recent downloads (limit, itemType)","responses":{"200":{"description":"the most recent downloads (limit, itemType)","content":{"application/json":{}}}},"parameters":[{"name":"specs","in":"query","description":"data type URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"stations","in":"query","description":"station URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"contributors","in":"query","description":"contributor URIs (people and organisations)","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"submitters","in":"query","description":"submitter URIs","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlfrom","in":"query","description":"download countries, ISO 3166-1 alpha-2 codes","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"originStations","in":"query","description":"URIs of the stations the data originates from","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"dlStart","in":"query","description":"from this instant or day on, ISO 8601, UTC","schema":{"type":"string"}},{"name":"dlEnd","in":"query","description":"up to this instant or day","schema":{"type":"string"}},{"name":"includeGrayDl","in":"query","description":"true to count the gray-listed downloads too (also includeGray)","schema":{"type":"boolean"}},{"name":"hashId","in":"query","description":"one data object, by its hash id; downloadCount needs it","schema":{"type":"string"}},{"name":"limit","in":"query","description":"how many, 1 to 100000","schema":{"type":"integer"}},{"name":"itemType","in":"query","description":"data, collection or document","schema":{"type":"string"}}]},"post":{"summary":"the most recent downloads (limit, itemType)","responses":{"200":{"description":"the most recent downloads (limit, itemType)","content":{"application/json":{}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"specs":{"type":"array","items":{"type":"string"},"description":"data type URIs"},"stations":{"type":"array","items":{"type":"string"},"description":"station URIs"},"contributors":{"type":"array","items":{"type":"string"},"description":"contributor URIs (people and organisations)"},"submitters":{"type":"array","items":{"type":"string"},"description":"submitter URIs"},"dlfrom":{"type":"array","items":{"type":"string"},"description":"download countries, ISO 3166-1 alpha-2 codes"},"originStations":{"type":"array","items":{"type":"string"},"description":"URIs of the stations the data originates from"},"dlStart":{"type":"string","description":"from this instant or day on, ISO 8601, UTC"},"dlEnd":{"type":"string","description":"up to this instant or day"},"includeGrayDl":{"type":"boolean","description":"true to count the gray-listed downloads too (also includeGray)"},"hashId":{"type":"string","description":"one data object, by its hash id; downloadCount needs it"},"limit":{"type":"integer","description":"how many, 1 to 100000"},"itemType":{"type":"string","description":"data, collection or document"}}}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/api/openapi.json":{"get":{"summary":"this route table as an OpenAPI 3.0 document","responses":{"200":{"description":"this route table as an OpenAPI 3.0 document","content":{"application/json":{}}}}}},"/stats/api/swagger":{"get":{"summary":"Swagger UI over openapi.json: browse the endpoints and try them","responses":{"200":{"description":"Swagger UI over openapi.json: browse the endpoints and try them","content":{"text/html; charset=utf-8":{}}}}}},"/stats/api/":{"get":{"summary":"any other name: 404, no such endpoint","responses":{"200":{"description":"any other name: 404, no such endpoint","content":{"application/json":{}}}}},"post":{"summary":"any other name: 404, no such endpoint","responses":{"200":{"description":"any other name: 404, no such endpoint","content":{"application/json":{}}}}},"options":{"summary":"CORS preflight","responses":{"200":{"description":"CORS preflight","content":{"":{}}}}}},"/stats/":{"get":{"summary":"the Downloads page","responses":{"200":{"description":"the Downloads page","content":{"text/html":{}}}}}},"/stats":{"get":{"summary":"the Downloads page","responses":{"200":{"description":"the Downloads page","content":{"text/html":{}}}}}},"/stats/object/":{"get":{"summary":"one data object: its downloads","responses":{"200":{"description":"one data object: its downloads","content":{"text/html":{}}}}}},"/stats/csv":{"get":{"summary":"the downloads series as CSV","responses":{"200":{"description":"the downloads series as CSV","content":{"text/csv":{}}}}}},"/stats/csv/":{"get":{"summary":"the downloads series as CSV","responses":{"200":{"description":"the downloads series as CSV","content":{"text/csv":{}}}}}},"/stats/pylib":{"get":{"summary":"the Python library page","responses":{"200":{"description":"the Python library page","content":{"text/html":{}}}}}},"/stats/pylib/":{"get":{"summary":"the Python library page","responses":{"200":{"description":"the Python library page","content":{"text/html":{}}}}}},"/stats/pylib/object/":{"get":{"summary":"one data object: its library downloads","responses":{"200":{"description":"one data object: its library downloads","content":{"text/html":{}}}}}},"/stats/pylib/csv":{"get":{"summary":"the library series as CSV","responses":{"200":{"description":"the library series as CSV","content":{"text/csv":{}}}}}},"/stats/pylib/csv/":{"get":{"summary":"the library series as CSV","responses":{"200":{"description":"the library series as CSV","content":{"text/csv":{}}}}}},"/stats/zarr":{"get":{"summary":"the Zarr page","responses":{"200":{"description":"the Zarr page","content":{"text/html":{}}}}}},"/stats/zarr/":{"get":{"summary":"the Zarr page","responses":{"200":{"description":"the Zarr page","content":{"text/html":{}}}}}},"/stats/zarr/object/":{"get":{"summary":"one dataset (store/group): its transfers","responses":{"200":{"description":"one dataset (store/group): its transfers","content":{"text/html":{}}}}}},"/stats/zarr/csv":{"get":{"summary":"the zarr series as CSV","responses":{"200":{"description":"the zarr series as CSV","content":{"text/csv":{}}}}}},"/stats/zarr/csv/":{"get":{"summary":"the zarr series as CSV","responses":{"200":{"description":"the zarr series as CSV","content":{"text/csv":{}}}}}},"/stats/previews":{"get":{"summary":"the Previews page","responses":{"200":{"description":"the Previews page","content":{"text/html":{}}}}}},"/stats/previews/":{"get":{"summary":"the Previews page","responses":{"200":{"description":"the Previews page","content":{"text/html":{}}}}}},"/stats/docs":{"get":{"summary":"this API and these pages, documented","responses":{"200":{"description":"this API and these pages, documented","content":{"text/html":{}}}}}},"/stats/docs/":{"get":{"summary":"this API and these pages, documented","responses":{"200":{"description":"this API and these pages, documented","content":{"text/html":{}}}}}},"/":{"get":{"summary":"redirects to /stats/","responses":{"200":{"description":"redirects to /stats/","content":{"":{}}}}}},"/healthz":{"get":{"summary":"ok after a round trip to the database","responses":{"200":{"description":"ok after a round trip to the database","content":{"text/plain":{}}}}}},"/version":{"get":{"summary":"the build stamp","responses":{"200":{"description":"the build stamp","content":{"application/json":{}}}}}}}}