Get All Custom Content Template Overlay by Service
GET {{baseUrl}}/services/:serviceID/overlays/custom-content
This endpoint returns the list of all custom content overlays for the configured alert sources for 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:38:55.557709+05:30","updated_at":"2023-07-05T10:47:21.128624+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"datadog","overlay_template_type":"go","overlay":{"message":"{{.labels.alertname}}-{{.labels.deployment}}","description":"New template"},"created_by":"6163f3bdf839f32753ff4048","updated_by":"6163f3bdf839f32753ff4048","alert_source_type":"Datadog"},{"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"},{"created_at":"2023-06-30T00:58:18.08781+05:30","updated_at":"2023-06-30T03:45:27.299615+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"rollbar","overlay_template_type":"go","overlay":{"message":"{{.labels.alertname}}-{{.labels.deployment}}","description":"New template"},"created_by":"6163f3bdf839f32753ff4048","updated_by":"6163f3bdf839f32753ff4048","alert_source_type":"Rollbar"}]}