f0f28319e448
Get metric versions
Retrieve the versions of a metric.
Permissions
This endpoint requires the following permissions:
- Metric:GetMetric for the metric whose versions to retrieve.
Path parameters
The ID of the metric to retrieve versions for.
The ID of the metric to retrieve versions for.
Query parameters
The versions of the metric to retrieve. One can specify an exact version to retrieve, which is either the version number or latest, which retrieves the latest version. Alternatively, one can specify a range of inclusive lower and upper bound for the version number separated by -, and every version within the range would be retrieved.
The versions of the metric to retrieve. One can specify an exact version to retrieve, which is either the version number or latest, which retrieves the latest version. Alternatively, one can specify a range of inclusive lower and upper bound for the version number separated by -, and every version within the range would be retrieved.
The maximum number of metric versions to return.
The maximum number of metric versions to return.
The continuation token from the previous request used to retrieve the next page of metric versions.
The continuation token from the previous request used to retrieve the next page of metric versions.
The fields to sort the versions by. Supported fields are version. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.
The fields to sort the versions by. Supported fields are version. Specify a + before the field name to indicate ascending sorting and - for descending sorting. Multiple fields can be specified to break ties.
Headers
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Response
Succeeded.