Source Code Manager
Contains APIs related to Source Code Manager
Source Code manager Identifier
This contains details of Source Code Manager
Source Code Manager Identifier
Id of the User
Account Identifier for the Entity.
Name of Source Code Manager
Time at which this Source Code Manager was created
Time at which this Source Code Manager was last Updated
Type of SCM
Authentication Details of Source Code Manager
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
This contains details of the updated Source Code Manager for the specific Source Code Manager Id
PUT /gateway/ng/api/source-code-manager/{identifier} HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: */*
Accept: */*
Content-Length: 150
{
"id": "text",
"userIdentifier": "text",
"accountIdentifier": "text",
"name": "text",
"createdAt": 1,
"lastModifiedAt": 1,
"type": "BITBUCKET",
"authentication": {}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Source Code manager Identifier
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Successfully deleted Source Code Manager for the given Source Code Manager Id
DELETE /gateway/ng/api/source-code-manager/{identifier}?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.
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
Paginated list of Source Code Managers of given account
GET /gateway/ng/api/source-code-manager?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"
}
]
}This contains details of Source Code Manager
Source Code Manager Identifier
Id of the User
Account Identifier for the Entity.
Name of Source Code Manager
Time at which this Source Code Manager was created
Time at which this Source Code Manager was last Updated
Type of SCM
Authentication Details of Source Code Manager
Bad Request
This is Failure entity as defied in Harness
Internal Server Error
This contains details of the newly created Source Code Manager
POST /gateway/ng/api/source-code-manager HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: */*
Accept: */*
Content-Length: 150
{
"id": "text",
"userIdentifier": "text",
"accountIdentifier": "text",
"name": "text",
"createdAt": 1,
"lastModifiedAt": 1,
"type": "BITBUCKET",
"authentication": {}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?