artifacts

Gets docker labels

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema:
tag
string
tagRegex
string
tagsList
Array of strings
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/docker/getLabels
Request samples
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate docker artifact server

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

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/docker/validateArtifactServer
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/docker/validateArtifactServer?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Validate docker artifact with tag/tagregx if given

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema:
tag
string
tagRegex
string
tagsList
Array of strings
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/docker/validateArtifact
Request samples
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Gets docker build details with yaml input for expression resolution

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
required
string
fqnPath
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Request Body schema:
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/docker/getBuildDetailsV2
Request samples
"string"
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets docker last successful build

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema:
tag
string
tagRegex
string
tagsList
Array of strings
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/docker/getLastSuccessfulBuild
Request samples
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets docker build details

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/docker/getBuildDetails
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/docker/getBuildDetails?imagePath=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate docker image

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
string
connectorRef
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/docker/validateArtifactSource
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/docker/validateArtifactSource?imagePath=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Validate ecr artifact server

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
connectorRef
required
string
region
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/ecr/validateArtifactServer
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/ecr/validateArtifactServer?imagePath=string&connectorRef=string&region=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Validate Ecr Artifact

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
region
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema: application/json
tag
string
tagRegex
string
tagsList
Array of strings
region
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/ecr/validateArtifact
Request samples
application/json
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ],
  • "region": "string"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Gets ecr build details with yaml expression

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
region
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
required
string
fqnPath
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Request Body schema: application/json
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/ecr/getBuildDetailsV2
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets ecr last successful build

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema: application/json
tag
string
tagRegex
string
tagsList
Array of strings
region
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/ecr/getLastSuccessfulBuild
Request samples
application/json
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ],
  • "region": "string"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets ecr build details

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
region
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/ecr/getBuildDetails
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/ecr/getBuildDetails?imagePath=string&region=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate Ecr image

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
region
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/ecr/validateArtifactSource
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/ecr/validateArtifactSource?imagePath=string&region=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Gets ecr images

Request
Security:
ApiKey (readwrite)
query Parameters
region
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/ecr/getImages
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/ecr/getImages?region=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate gcr artifact server

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
connectorRef
required
string
registryHostname
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/gcr/validateArtifactServer
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/gcr/validateArtifactServer?imagePath=string&connectorRef=string&registryHostname=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Validate Gcr Artifact

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
registryHostname
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema: application/json
tag
string
tagRegex
string
tagsList
Array of strings
registryHostname
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/gcr/validateArtifact
Request samples
application/json
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ],
  • "registryHostname": "string"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}

Gets gcr last successful build

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Request Body schema: application/json
tag
string
tagRegex
string
tagsList
Array of strings
registryHostname
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/gcr/getLastSuccessfulBuild
Request samples
application/json
{
  • "tag": "string",
  • "tagRegex": "string",
  • "tagsList": [
    ],
  • "registryHostname": "string"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets gcr build details with Yaml expression

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
registryHostname
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
pipelineIdentifier
required
string
fqnPath
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Request Body schema: application/json
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/artifacts/gcr/getBuildDetailsV2
Request samples
application/json
"string"
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets gcr build details

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
registryHostname
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/gcr/getBuildDetails
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/gcr/getBuildDetails?imagePath=string&registryHostname=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate Gcr image

Request
Security:
ApiKey (readwrite)
query Parameters
imagePath
required
string
registryHostname
required
string
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
required
string
projectIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/artifacts/gcr/validateArtifactSource
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/artifacts/gcr/validateArtifactSource?imagePath=string&registryHostname=string&connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}