This resource represents metrics. Use this resource to send metric values into a component's metric source.
Sends a metric value into a metric source for a component. This API is rate limited. Only 100 requests per user per minute are allowed.
oneOf [allOf [InsertMetricRequestDto, object], allOf [InsertMetricRequestDto, object]]
Returned if the request is successful.
The metric value that was sent into the metric source.
1
2
3
4
5
6
curl --request POST \
--url 'https://your-domain.atlassian.net/gateway/api/compass/v1/metrics' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{}'
1
2
3
4
5
{
"metricSourceId": "<string>",
"value": 24,
"timestamp": "<string>"
}
Rate this page: