/api/metric
POST /api/metric/{id}/dimension/set-default
Changed onMark exactly one dimension as the metric's default, clearing any previous default. A null dimension_id clears the default without setting a new one, so the metric renders as a scalar. Returns the updated list of added dimensions.
post/api/metric/{id}/dimension/set-default
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Path parameters
idinteger required
value must be an integer greater than zero.
Request body
Response
Successful response
object[] required
Changes
- info
endpoint added
- info