Git Sync Errors
Contains APIs related to Git Sync Errors
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Search Term.
Name of the branch.
Git Sync Config Id. [Applicable for Old Git Sync only]
if true, return all the default entities
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Count of both Git to Harness Errors and Connectivity Errors
GET /gateway/ng/api/git-sync-errors/count?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"
}
]
}Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Search Term.
Name of the branch.
Git Sync Config Id. [Applicable for Old Git Sync only]
if true, return all the default entities
This specifies which errors to show - (Git to Harness or Connectivity), Put true to show Git to Harness Errors
trueBad Request
This is Failure entity as defied in Harness
Internal Server Error
Paginated list of Git to Harness Errors by file or connectivity errors
GET /gateway/ng/api/git-sync-errors?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"
}
]
}Commit Id
Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Name of the branch.
Git Sync Config Id. [Applicable for Old Git Sync only]
if true, return all the default entities
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Paginated list of Git to Harness Errors for given Commit Id
GET /gateway/ng/api/git-sync-errors/commits/{commitId}?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"
}
]
}Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Search Term.
Name of the branch.
Git Sync Config Id. [Applicable for Old Git Sync only]
if true, return all the default entities
Number of errors that will be displayed in the summary
5Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Paginated list of Git to Harness Errors grouped by Commit
GET /gateway/ng/api/git-sync-errors/aggregate?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"
}
]
}Last updated
Was this helpful?