Marketplace Resource Metrics
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/marketplace-resource-metrics/ |
Get a resource's metric figures |
Get a resource's metric figures
Figures for the current and the previous calendar month. A resource has no goals: they apply to a project's combined figure.
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
- API Source:
marketplace_resource_metrics_list
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
resource_uuid |
string (uuid) | ✓ |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
offering_metric |
object | |
offering_metric.uuid |
string (uuid) | |
offering_metric.offering |
string (uuid) | |
offering_metric.offering_name |
string | |
offering_metric.definition |
string (uuid) | |
offering_metric.key |
string | Name services report against. Cannot be changed. |
offering_metric.name |
string | |
offering_metric.display_name |
string | Empty shows the definition's name. |
offering_metric.unit |
string | UCUM unit, for example h, % or {learners}. |
offering_metric.kind |
any | |
offering_metric.good_direction |
any | |
offering_metric.attribute_keys |
array of strings | |
offering_metric.project_aggregation |
any | How the figures of a project's resources combine. An average is unweighted: every resource counts once. |
offering_metric.state |
any | |
offering_metric.created |
string (date-time) | |
period |
string | |
period_start |
string (date-time) | |
current |
number (double) | |
previous |
number (double) |