Setting
This contains APIs related to Settings as defined in Harness
This is the Identifier of 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
This returns a setting value by the Identifier
GET /gateway/ng/api/settings/{identifier}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
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.
Category of the Setting.
Group Id of the setting
Flag to include the settings which only exist at the parent scopes
Bad Request
This is Failure entity as defied in Harness
Internal server error
This contains a list of Settings
GET /gateway/ng/api/settings?accountIdentifier=text&category=CD HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
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.
Identifier of the Setting.
Value of the setting
Allow override of the Setting in sub-scopes.
Type of the update operation. When update type is RESTORE, field [value] is ignored
Bad Request
This is Failure entity as defied in Harness
Internal server error
This updates the settings
PUT /gateway/ng/api/settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 82
[
{
"identifier": "text",
"value": "text",
"allowOverrides": true,
"updateType": "UPDATE"
}
]{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?