Contents:
The Metrics API
Note
CORS The Metrics API can be used from scripts running in web browsers, as it allows cross-origin resource sharing (CORS).
Returns a count up to the current month or append a date in YYYY-MM format (i.e. /2018-01
) for a specific month.
curl https://demo.dataverse.org/api/info/metrics/dataverses/toMonth
Returns a count up to the current month or append a date in YYYY-MM format (i.e. /2018-01
) for a specific month.
curl https://demo.dataverse.org/api/info/metrics/datasets/toMonth
Returns a count up to the current month or append a date in YYYY-MM format (i.e. /2018-01
) for a specific month.
curl https://demo.dataverse.org/api/info/metrics/files/toMonth
Returns a count up to the current month or append a date in YYYY-MM format (i.e. /2018-01
) for a specific month.
curl https://demo.dataverse.org/api/info/metrics/downloads/toMonth
curl https://demo.dataverse.org/api/info/metrics/dataverses/byCategory
curl https://demo.dataverse.org/api/info/metrics/datasets/bySubject