Git Sync Settings

Contains APIs related to Git Sync Settings

Get Git Sync Setting for the given scope

Securityx-api-key
Request
query Parameters
projectIdentifier
string

Project Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal Server Error

default

Git Sync Setting of the given scope

get/ng/api/git-sync-settings
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

This updates the existing Git Sync settings within the scope. Only changing Connectivity Mode is allowed

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:
required

This contains details of Git Sync Settings

projectIdentifier
required
string

Project Identifier for the Entity.

orgIdentifier
required
string

Organization Identifier for the Entity.

executeOnDelegate
required
boolean

Specifies Connectivity Mode for Git Sync. If True, executes through Delegate, else executes through Platform. The default value is True

isGitSimplificationEnabled
boolean
isEnabledOnlyForFF
boolean
enabledOnlyForFF
boolean
gitSimplificationEnabled
boolean
Responses
400

Bad Request

500

Internal Server Error

default

Updated Git Sync Setting

put/ng/api/git-sync-settings
Request samples
{
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "executeOnDelegate": true,
  • "isGitSimplificationEnabled": true,
  • "isEnabledOnlyForFF": true,
  • "enabledOnlyForFF": true,
  • "gitSimplificationEnabled": true
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Creates Git Sync Setting in a scope

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:
required

This contains details of Git Sync settings like - (scope, executionOnDelegate)

projectIdentifier
required
string

Project Identifier for the Entity.

orgIdentifier
required
string

Organization Identifier for the Entity.

executeOnDelegate
required
boolean

Specifies Connectivity Mode for Git Sync. If True, executes through Delegate, else executes through Platform. The default value is True

isGitSimplificationEnabled
boolean
isEnabledOnlyForFF
boolean
enabledOnlyForFF
boolean
gitSimplificationEnabled
boolean
Responses
400

Bad Request

500

Internal Server Error

default

Successfully created Git Sync Setting

post/ng/api/git-sync-settings
Request samples
{
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "executeOnDelegate": true,
  • "isGitSimplificationEnabled": true,
  • "isEnabledOnlyForFF": true,
  • "enabledOnlyForFF": true,
  • "gitSimplificationEnabled": true
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}