git-sync-entities

Get Git Sync Entity By Type

Request
Security:
ApiKey (readwrite)
path Parameters
entityType
required
string
Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
query Parameters
projectIdentifier
string
orgIdentifier
string
accountIdentifier
string
gitSyncConfigId
string
branch
string
page
integer <int32>
Default: 0
size
integer <int32>
moduleType
string
Responses
200

successful operation

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

List Git Sync Entity by product for List of Repos and Entities

Request
Security:
ApiKey (readwrite)
query Parameters
projectIdentifier
string
orgIdentifier
string
accountIdentifier
string
size
integer <int32>
Request Body schema:
moduleType
string
Enum: "CD" "CI" "CV" "CF" "CE" "CORE" "PMS" "TEMPLATESERVICE"
gitSyncConfigIdentifiers
Array of strings
entityTypes
Array of strings
Items Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
searchTerm
string
Responses
200

successful operation

post/ng/api/git-sync-entities/summary
Request samples
{
  • "moduleType": "CD",
  • "gitSyncConfigIdentifiers": [
    ],
  • "entityTypes": [
    ],
  • "searchTerm": "string"
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

List Git Sync Entity by product for Repo and Branch and List of Entities

Request
Security:
ApiKey (readwrite)
path Parameters
branch
required
string
query Parameters
projectIdentifier
string
orgIdentifier
string
accountIdentifier
string
size
integer <int32>
gitSyncConfigId
string
Request Body schema:
moduleType
string
Enum: "CD" "CI" "CV" "CF" "CE" "CORE" "PMS" "TEMPLATESERVICE"
entityTypes
Array of strings
Items Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
searchTerm
string
Responses
200

successful operation

post/ng/api/git-sync-entities/branch/{branch}
Request samples
{
  • "moduleType": "CD",
  • "entityTypes": [
    ],
  • "searchTerm": "string"
}
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}