Get Tagging Rules
GET {{baseUrl}}/services/:serviceID/tagging-rules
This endpoint returns the default tagging rules for the service if not already created.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with read
scope.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"data":{"id":"5d89e22915e52fa3f8620d37","created_at":"2019-09-24T09:30:17.463Z","updated_at":"2019-09-24T09:30:17.463Z","deleted_at":null,"service_id":"5d81d9687000fb6b9def7e35","organization_id":"5d81d9187000fb6b9def7e32","rules":[{"expression":"re(current.labels.alertname, \"^CPUThrottlingHigh.*\") \u0026\u0026 re(past.labels.alertname, \"^CPUThrottlingHigh.*\")","tags":{"foo":"bar","severity":"asa","tag2":"as"}}]}}