NG SLOs
This contains APIs related to CRUD operations of SLOs (simple & composite)
Identifier for the Entity.
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
Gets the SLO's data
GET /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2/identifier/{identifier} HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier for the Entity.
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the Service Level Objective V2 entity defined in Harness
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Gets the updated SLO
PUT /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2/identifier/{identifier} HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: application/json
Accept: */*
Content-Length: 431
{
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"userJourneyRefs": [
"text"
],
"sloTarget": {
"type": "Rolling",
"sloTargetPercentage": 1,
"spec": {
"type": "text"
}
},
"type": "Simple",
"spec": {
"type": "text"
},
"notificationRuleRefs": [
{
"notificationRuleRef": "text",
"enabled": true
}
],
"errorBudgetCalculationPeriod": 1,
"errorBudgetCalculationValidity": 1
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Identifier for the Entity.
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
Returns true if the SLO is deleted
DELETE /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2/identifier/{identifier} 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
Gets the time series data points for composite slo onBoarding graph
POST /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2/composite-slo/onboarding-graph HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: */*
Accept: */*
Content-Length: 239
{
"type": "text",
"serviceLevelObjectivesDetails": [
{
"accountId": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"serviceLevelObjectiveRef": "text",
"weightagePercentage": 1
}
],
"evaluationType": "Window",
"sloFormulaType": "WeightedAverage"
}{
"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.
Page Index of the results to fetch.Default Value: 0
0Results per page
10Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Gets the SLOs for list view
POST /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2/status-list HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: */*
Accept: */*
Content-Length: 365
{
"userJourneyIdentifiers": [
"text"
],
"monitoredServiceIdentifier": "text",
"targetTypes": [
"Rolling"
],
"errorBudgetRisks": [
"EXHAUSTED"
],
"searchFilter": "text",
"type": "Simple",
"sloTargetFilterDTO": {
"type": "Rolling",
"spec": {
"type": "text"
}
},
"compositeSLOIdentifier": "text",
"evaluationType": "Window",
"evaluationTypes": [
"Window"
],
"childResource": true,
"envIdentifiers": [
"text"
]
}{
"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.
Page Index of the results to fetch.Default Value: 0
Results per page
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Gets the SLOs
GET /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2?offset=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"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This is the Service Level Objective V2 entity defined in Harness
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Gets the saved SLO
POST /account/{accountIdentifier}/org/{orgIdentifier}/project/{projectIdentifier}/slo/v2 HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: application/json
Accept: */*
Content-Length: 431
{
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"description": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"userJourneyRefs": [
"text"
],
"sloTarget": {
"type": "Rolling",
"sloTargetPercentage": 1,
"spec": {
"type": "text"
}
},
"type": "Simple",
"spec": {
"type": "text"
},
"notificationRuleRefs": [
{
"notificationRuleRef": "text",
"enabled": true
}
],
"errorBudgetCalculationPeriod": 1,
"errorBudgetCalculationValidity": 1
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?