Metrics
Authorizations
AuthorizationstringRequired
The Bearer API key of your user more info.
Query parameters
start-indexinteger · int32OptionalDefault:
an integer specifying the starting point (beginning with 0) when paging through a list of entities
0max-resultsinteger · int32 · max: 100OptionalDefault:
the maximum number of results when paging through a list of metrics. (Note: when using ?include maximum is reduced to 25)
10Responses
200
The metrics
application/json
get
/metrics200
The metrics
Authorizations
AuthorizationstringRequired
The Bearer API key of your user more info.
Body
namestringRequired
descriptionstringOptional
aggregationTypestring · enumRequiredPossible values:
displayTypestring · enumRequiredPossible values:
interpolateGapsbooleanOptionalDefault:
falselockYAxisMaxnumber · doubleOptional
lockYAxisMinnumber · doubleOptional
mouseOverDecimalnumber · int32 · max: 6Optional
showValuesOnMouseOverbooleanOptionalDefault:
falseunitLabelstringOptional
metadataone ofOptionalDefault:
Only required if the metric has a dataSource. You may not change this after creation.
nullor
Responses
200
The newly created metric
application/json
post
/metrics200
The newly created metric
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:
falselockYAxisMaxnumber · doubleOptional
lockYAxisMinnumber · doubleOptional
mouseOverDecimalnumber · int32 · max: 6Optional
showValuesOnMouseOverbooleanOptionalDefault:
falseunitLabelstringOptional
metadataone ofOptionalDefault:
Only required if the metric has a dataSource. You may not change this after creation.
nullor
Responses
200
The updated metric
application/json
put
/metrics/{id}200
The updated metric
Last updated
Was this helpful?