Metrics

Get metrics.

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of metrics. (Note: when using ?include maximum is reduced to 25)

Default: 10
Responses
get
/metrics
200

The metrics

Create a new metric.

post
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Body
namestringRequired
descriptionstringOptional
aggregationTypestring · enumRequiredPossible values:
displayTypestring · enumRequiredPossible values:
interpolateGapsbooleanOptionalDefault: false
lockYAxisMaxnumber · doubleOptional
lockYAxisMinnumber · doubleOptional
mouseOverDecimalnumber · int32 · max: 6Optional
showValuesOnMouseOverbooleanOptionalDefault: false
unitLabelstringOptional
metadataone ofOptional

Only required if the metric has a dataSource. You may not change this after creation.

Default: null
or
Responses
post
/metrics
200

The newly created metric

Get a specific Metric

get
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
get
/metrics/{id}
200

The requested metric

Update the specific Metric

put
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Body
namestringRequired
descriptionstringOptional
aggregationTypestring · enumRequiredPossible values:
displayTypestring · enumRequiredPossible values:
interpolateGapsbooleanOptionalDefault: false
lockYAxisMaxnumber · doubleOptional
lockYAxisMinnumber · doubleOptional
mouseOverDecimalnumber · int32 · max: 6Optional
showValuesOnMouseOverbooleanOptionalDefault: false
unitLabelstringOptional
metadataone ofOptional

Only required if the metric has a dataSource. You may not change this after creation.

Default: null
or
Responses
put
/metrics/{id}
200

The updated metric

Delete the specific Metric

delete
Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
204

Empty body delete response

delete
/metrics/{id}
204

Empty body delete response

No content

Last updated

Was this helpful?