git-sync-settings

Get git sync settings

Request
Security:
ApiKey (readwrite)
query Parameters
projectIdentifier
string
orgIdentifier
string
accountIdentifier
string
Responses
200

successful operation

get/ng/api/git-sync-settings
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/git-sync-settings?projectIdentifier=string&orgIdentifier=string&accountIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Update a Git Sync Setting

Request
Security:
ApiKey (readwrite)
Request Body schema:
accountIdentifier
required
string
projectIdentifier
required
string
organizationIdentifier
required
string
executeOnDelegate
required
boolean
Responses
200

successful operation

put/ng/api/git-sync-settings
Request samples
{
  • "accountIdentifier": "string",
  • "projectIdentifier": "string",
  • "organizationIdentifier": "string",
  • "executeOnDelegate": true
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Create a Git Sync Setting

Request
Security:
ApiKey (readwrite)
Request Body schema:
accountIdentifier
required
string
projectIdentifier
required
string
organizationIdentifier
required
string
executeOnDelegate
required
boolean
Responses
200

successful operation

post/ng/api/git-sync-settings
Request samples
{
  • "accountIdentifier": "string",
  • "projectIdentifier": "string",
  • "organizationIdentifier": "string",
  • "executeOnDelegate": true
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}