source-code-manager

get source code manager information

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

successful operation

get/ng/api/source-code-manager
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/source-code-manager?accountIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

save source code manager

Request
Security:
ApiKey (readwrite)
Request Body schema: */*
id
string
userIdentifier
string
accountIdentifier
string
name
required
string
createdAt
integer <int64>
lastModifiedAt
integer <int64>
required
object
type
string
Responses
200

successful operation

post/ng/api/source-code-manager
Request samples
curl -i -X POST \
  https://app.harness.io/gateway/ng/api/source-code-manager \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

update source code manager

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
Request Body schema: */*
id
string
userIdentifier
string
accountIdentifier
string
name
required
string
createdAt
integer <int64>
lastModifiedAt
integer <int64>
required
object
type
string
Responses
200

successful operation

put/ng/api/source-code-manager/{identifier}
Request samples
curl -i -X PUT \
  https://app.harness.io/gateway/ng/api/source-code-manager/:identifier \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

delete source code manager

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
query Parameters
accountIdentifier
required
string
Responses
200

successful operation

delete/ng/api/source-code-manager/{identifier}
Request samples
curl -i -X DELETE \
  'https://app.harness.io/gateway/ng/api/source-code-manager/:identifier?accountIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}