Execution Config

This contains APIs for execution config for image tags

Your DELETE endpoint

Delete the Execution config overrides for the customer

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Boolean response for execution config response

400

Error Response body

403

Error Response body

404

Error Response body

500

Error Response body

delete/v1/dbops/execution-config
Request samples
Response samples
application/json
false

Get Customer Execution Config overrides

Securityx-api-key
Request
query Parameters
overridesOnly
boolean
Default: true

Returns the non-default images if true

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Response Body for Execution Config for Image tags

400

Error Response body

403

Error Response body

404

Error Response body

500

Error Response body

get/v1/dbops/execution-config/get-customer-config
Request samples
Response samples
application/json
{
  • "artifactoryTag": "string",
  • "defaultTag": "string",
  • "gitCloneTag": "string",
  • "mongoTag": "string",
  • "spannerTag": "string"
}

Get Default Execution Config

Get list of the latest Harness Dbops images and tags

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Response Body for Execution Config for Image tags

400

Error Response body

403

Error Response body

404

Error Response body

500

Error Response body

get/v1/dbops/execution-config/get-default-config
Request samples
Response samples
application/json
{
  • "artifactoryTag": "string",
  • "defaultTag": "string",
  • "gitCloneTag": "string",
  • "mongoTag": "string",
  • "spannerTag": "string"
}

Reset execution Config for DBOPs image tags

To reset one or more images to their defaults with a list of the images to reset.

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Request Body schema: application/json

List of Image tags which need to be reset to default

Array
string
Responses
201

Boolean response for execution config response

400

Error Response body

403

Error Response body

404

Error Response body

500

Error Response body

post/v1/dbops/execution-config/reset-config
Request samples
application/json
[
  • "gitCloneTag"
]
Response samples
application/json
false

Override execution Config for DBOPs image tags

Override execution Config for DBOPs image tags

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Request Body schema: application/json

Details of the Update Operations

Array
field
required
string

Image tag field names which can be retrieved from get-default-config

value
required
string

Value of the image tag

Responses
201

Boolean response for execution config response

400

Error Response body

403

Error Response body

404

Error Response body

500

Error Response body

post/v1/dbops/execution-config/update-config
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
false