Git Sync Settings
Contains APIs related to Git Sync Settings
Project Identifier for the Entity.
Organization Identifier for the Entity.
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Git Sync Setting of the given scope
GET /gateway/ng/api/git-sync-settings?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.
This contains details of Git Sync Settings
Project Identifier for the Entity.
Organization Identifier for the Entity.
Specifies Connectivity Mode for Git Sync. If True, executes through Delegate, else executes through Platform. The default value is True
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Successfully created Git Sync Setting
POST /gateway/ng/api/git-sync-settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 192
{
"projectIdentifier": "text",
"orgIdentifier": "text",
"executeOnDelegate": true,
"isGitSimplificationEnabled": true,
"isEnabledOnlyForFF": true,
"gitSimplificationEnabled": true,
"enabledOnlyForFF": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}This updates the existing Git Sync settings within the scope. Only changing Connectivity Mode is allowed
Account Identifier for the Entity.
This contains details of Git Sync Settings
Project Identifier for the Entity.
Organization Identifier for the Entity.
Specifies Connectivity Mode for Git Sync. If True, executes through Delegate, else executes through Platform. The default value is True
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Updated Git Sync Setting
PUT /gateway/ng/api/git-sync-settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 192
{
"projectIdentifier": "text",
"orgIdentifier": "text",
"executeOnDelegate": true,
"isGitSimplificationEnabled": true,
"isEnabledOnlyForFF": true,
"gitSimplificationEnabled": true,
"enabledOnlyForFF": true
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?