Get Custom Content Template Overlay
GET {{baseUrl}}/services/:serviceID/overlays/custom-content/:alertSource
This endpoint returns the custom content template overlay for a given alert source of your service.
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":{"created_at":"2023-07-05T10:30:03.78898+05:30","updated_at":"2023-07-05T17:38:55.712445+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"prometheus","overlay_template_type":"go","overlay":{"message":"{{.labels.alertname}}-{{.labels.deployment}}","description":"New template"},"created_by":"6163f3bdf839f32753ff4048","updated_by":"6163f3bdf839f32753ff4048","alert_source_type":"Prometheus"}}