Srm Notification
This contains APIs related to CRUD operations of srm notifications
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
GET /notification-rule/{identifier}?accountId=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the Notification Rule entity defined in Harness
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
PUT /notification-rule/{identifier}?accountId=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: */*
Accept: */*
Content-Length: 226
{
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"type": "MonitoredService",
"conditions": [
{
"type": "ErrorBudgetRemainingPercentage",
"spec": {}
}
],
"notificationMethod": {
"type": "Email",
"spec": {}
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
DELETE /notification-rule/{identifier}?accountId=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
GET /notification-rule?accountId=text&pageNumber=1&pageSize=1 HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}This is the Notification Rule entity defined in Harness
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
POST /notification-rule?accountId=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: */*
Accept: */*
Content-Length: 226
{
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"type": "MonitoredService",
"conditions": [
{
"type": "ErrorBudgetRemainingPercentage",
"spec": {}
}
],
"notificationMethod": {
"type": "Email",
"spec": {}
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?