{"components":{"parameters":{"AccountHeader":{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}},"ChangeSetParam":{"description":"FQN of the changeSet deployed. It is the combination of fileName, changeSetId and author separated by ::","in":"query","name":"changeSet","required":true,"schema":{"example":"folder1/fileName.yaml::changeSet1::author1","type":"string"}},"ChangesetMetadataContentType":{"description":"changesetMetadata contentType. Example : Yaml, Sql, Json","in":"query","name":"contentType","required":true,"schema":{"enum":["Yaml","Sql","Json"],"example":"Yaml","type":"string"}},"DBInstanceParam":{"description":"database instance unique id","in":"path","name":"dbinstance","required":true,"schema":{"type":"string"}},"DBSchemaParam":{"description":"Identifier of the database schema","in":"path","name":"dbschema","required":true,"schema":{"maxLength":128,"type":"string"}},"DbInstanceQuery":{"description":"Identifier for the DBInstance","in":"query","name":"dbInstance","required":true,"schema":{"type":"string"}},"DbSchemaQuery":{"description":"DB Schema identifier","in":"query","name":"dbSchema","required":true,"schema":{"type":"string"}},"FlywayVersion":{"description":"Version of flyway migration script","in":"query","name":"flywayVersion","required":true,"schema":{"type":"string"}},"HarnessCommand":{"description":"Harness command  Example : Update, Rollback","in":"query","name":"harnessCommand","required":true,"schema":{"enum":["Update","Rollback","DBOPSUpdateSQL","DBOPSRollbackSQL","DBOPSRollbackCountSQL","DBOPSSnapshot","RollbackOneChangesetSQL"],"example":"Update","type":"string"}},"InstanceListLimit":{"description":"Pagination: Number of items to return. Allows a larger page size than the standard limit for bulk instance listing.","in":"query","name":"limit","schema":{"default":10,"maximum":1000,"type":"integer"}},"Limit":{"description":"Pagination: Number of items to return.","in":"query","name":"limit","schema":{"default":10,"maximum":100,"type":"integer"}},"LogParam":{"in":"path","name":"log","required":true,"schema":{"type":"string"}},"MigrationTypeParam":{"description":"DB Migration tool type","in":"query","name":"migrationType","schema":{"enum":["Liquibase","Flyway"],"type":"string"}},"Order":{"description":"Order on the basis of which sorting is done.","in":"query","name":"order","schema":{"default":"DESC","enum":["ASC","DESC"],"type":"string"}},"OrgIdentifier":{"description":"Identifier of the organization","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"OrgIdentifierRequired":{"description":"orgIdentifier as required param","in":"query","name":"orgIdentifier","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},"PageIndex":{"description":"Pagination page number strategy: Specify the page number within the paginated collection related to the number of items on each page.","in":"query","name":"page","schema":{"default":0,"format":"int64","type":"integer"}},"ParentId":{"description":"parent unique id for the scope","in":"query","name":"parent_id","schema":{"type":"string"}},"ParentIdRequired":{"description":"parent_id as a required param","in":"query","name":"parent_id","required":true,"schema":{"type":"string"}},"PipelineExecutionId":{"description":"plan execution Id of the pipeline execution","in":"query","name":"pipelineExecutionId","required":true,"schema":{"type":"string"}},"PipelineIdentifier":{"description":"Pipeline Identifier of the pipeline","in":"path","name":"pipelineIdentifier","required":true,"schema":{"type":"string"}},"PipelineIdentifierQuery":{"description":"Identifier for the Pipeline","in":"query","name":"pipelineIdentifier","required":true,"schema":{"type":"string"}},"ProjectIdentifier":{"description":"Identifier of the project","in":"query","name":"projectIdentifier","schema":{"type":"string"}},"ProjectIdentifierRequired":{"description":"projectIdentifier as a required param","in":"query","name":"projectIdentifier","required":true,"schema":{"type":"string"}},"ProjectParam":{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},"SearchTerm":{"allowEmptyValue":true,"description":"This would be used to filter resources having attributes matching the search term.","in":"query","name":"search_term","schema":{"type":"string"}},"Sort":{"description":"Parameter on the basis of which sorting is done.","in":"query","name":"sort","schema":{"default":"created","enum":["name","updated","created"],"type":"string"}},"StageExecutionId":{"description":"stage execution id of the pipeline execution","in":"query","name":"stageExecutionId","required":true,"schema":{"type":"string"}},"StageNodeId":{"description":"Stage Node Id of the pipeline execution","in":"query","name":"stageNodeId","schema":{"type":"string"}}},"requestBodies":{"ChangeAuthoringEventRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeAuthoringEventIn"}}},"description":"Request body for creating a change authoring execution event","required":true},"ChangeSetExistenceRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSetExistenceIn"}}},"description":"Request body for checking changeset existence for a schema","required":true},"ConsumeFlywayPluginOutputRespRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"update","harnessCommand":"Migrate","instanceIdentifier":"instance1","lastChunk":false,"orgId":"myOrg","parentId":"parentId","pipelineExecutionId":"exec1","pipelineIdentifier":"pip1","projectId":"myProject","schemaIdentifier":"schema1","stageExecutionId":"stage1","stepResponse":"base64-compressed"}}},"schema":{"properties":{"command":{"type":"string","x-stoplight":{"id":"zprby0nmdhugg"}},"harnessCommand":{"$ref":"#/components/schemas/FlywayCommand"},"instanceIdentifier":{"type":"string","x-stoplight":{"id":"e5hwdp3vd6g3k"}},"lastChunk":{"description":"if sync is paginated, whether this is the last chunk","type":"boolean","x-stoplight":{"id":"wkk715cb96nc1"}},"parentId":{"type":"string","x-stoplight":{"id":"tjhcrfjkcvjy8"}},"pipelineExecutionId":{"type":"string","x-stoplight":{"id":"ol0rbt3gjzj7n"}},"pipelineIdentifier":{"type":"string","x-stoplight":{"id":"cfke77225v14t"}},"schemaIdentifier":{"type":"string","x-stoplight":{"id":"yj3aw0b0xu898"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"b084jsvql4007"}},"stepResponse":{"description":"base-64 encoded compressed step response from plugin extension based on command","type":"string","x-stoplight":{"id":"uex4gsfsb00uc"}}},"required":["parentId","schemaIdentifier","instanceIdentifier","harnessCommand","pipelineIdentifier","pipelineExecutionId","stageExecutionId","stepResponse","lastChunk"],"type":"object"}}}},"ConsumePluginOutputRespRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"update","harnessCommand":"Update","instanceIdentifier":"instance1","orgId":"myOrg","pipelineExecutionId":"exec1","pipelineIdentifier":"pip1","projectId":"myProject","schemaIdentifier":"schema1","stageExecutionId":"stage1","stepResponse":"base64-compressed"}}},"schema":{"properties":{"command":{"type":"string","x-stoplight":{"id":"zprby0nmdhugg"}},"harnessCommand":{"$ref":"#/components/schemas/Command"},"instanceIdentifier":{"type":"string","x-stoplight":{"id":"e5hwdp3vd6g3k"}},"isFirstPage":{"default":false,"description":"Indicates if this is the first page of paginated results","type":"boolean","x-stoplight":{"id":"9oeej3efrqvus"}},"isLastPage":{"default":false,"description":"Indicates if this is the last page of paginated results","type":"boolean","x-stoplight":{"id":"p8of55gus54f2"}},"orgId":{"type":"string","x-stoplight":{"id":"ysxm7l1k2ma1m"}},"pipelineExecutionId":{"type":"string","x-stoplight":{"id":"ol0rbt3gjzj7n"}},"pipelineIdentifier":{"type":"string","x-stoplight":{"id":"cfke77225v14t"}},"projectId":{"type":"string","x-stoplight":{"id":"tjhcrfjkcvjy8"}},"schemaIdentifier":{"type":"string","x-stoplight":{"id":"yj3aw0b0xu898"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"b084jsvql4007"}},"stepResponse":{"description":"base-64 encoded compressed step response from plugin extension based on command","type":"string","x-stoplight":{"id":"uex4gsfsb00uc"}}},"required":["orgId","projectId","schemaIdentifier","instanceIdentifier","harnessCommand","pipelineIdentifier","pipelineExecutionId","stageExecutionId","stepResponse"],"type":"object"}}}},"ConsumePluginRespRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"Update","data":{"tag":"1.0"},"dbInstance":"myinstance","dbSchema":"myschema","logs":"Starting Liquibase at...","org":"myorg","pipeline":"pip1","planExecutionId":"pipExec1","project":"myproject","stageExecutionId":"stageExec1","status":"IN_PROGRESS"}}},"schema":{"properties":{"command":{"$ref":"#/components/schemas/Command"},"compressedStepOutput":{"description":"compressed step output","type":"string","x-stoplight":{"id":"a9cmmbokcnoe8"}},"data":{"description":"Data associated with command execution","type":"object","x-stoplight":{"id":"x106nmejwdkgl"}},"dbInstance":{"type":"string","x-stoplight":{"id":"3ddzm85isheyg"}},"dbSchema":{"type":"string","x-stoplight":{"id":"9dipu2aap5uz2"}},"logs":{"type":"string","x-stoplight":{"id":"8lr1r6lycw0fj"}},"org":{"description":"Organization identifier","type":"string"},"parentStepType":{"type":"string","x-stoplight":{"id":"bwner6khhs78u"}},"pipeline":{"description":"Identifier of the pipeline","type":"string","x-stoplight":{"id":"681af9f5ux915"}},"planExecutionId":{"description":"ExecutionId of the pipeline executed","type":"string","x-stoplight":{"id":"1k0q9xpfkoug5"}},"project":{"description":"Project identifier","type":"string"},"stageExecutionId":{"description":"ExecutionId of the stage executed","type":"string","x-stoplight":{"id":"3xilysg54w5bw"}},"status":{"$ref":"#/components/schemas/CommandExecutionStatus"}},"required":["org","project","dbSchema","dbInstance","logs","status","data","command","pipeline","planExecutionId","stageExecutionId"],"type":"object"}}}},"CustomOperationRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomOperationInput"}}},"description":"Request for getting custom operation result"},"DBInstanceCreateRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBInstanceIn"}}},"required":true},"DBInstanceFilterRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBInstanceFilterIn"}}}},"DBInstanceListRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBInstanceListInput"}}},"description":"Request for listing instances where schema input is not a required property."},"DBInstanceUpdateRequest":{"content":{"application/json":{"examples":{"example-1":{"value":{"branch":"string","connector":"string","context":"string","name":"string","tags":{"property1":"string","property2":"string"}}}},"schema":{"properties":{"branch":{"description":"branch where the instance is stored","type":"string"},"commitSha":{"description":"Commit SHA to pin the changelog to a specific revision.\nMutually exclusive with branch and gitTag.\n","type":"string"},"connector":{"description":"DB Connector","type":"string"},"context":{"description":"Liquibase context","type":"string"},"gitTag":{"description":"Git tag to pin the changelog to a specific tagged revision.\nMutually exclusive with branch and commitSha.\n","type":"string"},"name":{"description":"name of the database instance\n","maxLength":128,"type":"string"},"substituteProperties":{"additionalProperties":{"type":"string","x-stoplight":{"id":"1x0876wmy58na"}},"description":"Placeholder replacement in migration scripts.","type":"object","x-stoplight":{"id":"5du5bai30t6gb"}},"tags":{"additionalProperties":{"type":"string","x-oapi-codegen-extra-tags":{"validate":"max=128"}},"description":"Database instance tags","maxProperties":128,"type":"object"},"version":{"description":"version of the changelog applied to the database","type":"string"}},"type":"object"}}},"description":"Database instance update request","required":true},"DBSchemaCreateRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBSchemaIn"}}},"required":true},"DBSchemaFilterRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBSchemaFilterIn"}}}},"DBSchemaUpdateRequest":{"content":{"application/json":{"schema":{"properties":{"changeLogScript":{"description":"if schemaType is Script location of the changelog file after using a custom script to download","properties":{"command":{"description":"command script used to download the changelog file","example":"curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml","type":"string","x-stoplight":{"id":"uga2w98ndtla2"}},"image":{"description":"The fully-qualified name (FQN) of the image","example":"plugins/image:latest","type":"string","x-stoplight":{"id":"rtvl2gmxyo7mw"}},"location":{"description":"location of the changelog file","example":"folder/changelog.yaml","type":"string","x-stoplight":{"id":"xarkte21qk96f"}},"shell":{"description":"shell type","example":"Sh, Bash, \u003c+pipeline.variables.shell\u003e","type":"string"},"toml":{"description":"config file for Flyway migration type","type":"string","x-stoplight":{"id":"slf4kbjgza057"}}},"type":"object","x-stoplight":{"id":"715ey5dxwedi1"}},"changelog":{"additionalProperties":false,"description":"location of the changelog file containing schema changes in a git repository\n","properties":{"archivePath":{"description":"path excluding the repo till the archive file","type":"string","x-stoplight":{"id":"lmyqjd54oln7q"}},"connector":{"description":"identifier of the harness git connector. To switch from a connector-based\nschema to Harness Code Repository, explicitly set this to empty string (\"\")\nalongside the repo field. Omitting this field retains the stored connector.\n","example":"harness_git","type":"string"},"includeAllPath":{"description":"path, relative to the changelog file's own directory (changelog.location), to a directory of existing SQL scripts to seed the changelog with via Liquibase's includeAll directive\n","type":"string"},"location":{"description":"path to the change log file","example":"folder/changelog.yaml","type":"string"},"repo":{"description":"repo name of the git based connector when ConnectionType is Account","type":"string","x-stoplight":{"id":"jpl7puzto8jfo"}},"toml":{"description":"config file for Flyway migration type","type":"string","x-stoplight":{"id":"l8l4oa4xtidcs"}}},"type":"object"},"cloneResources":{"$ref":"#/components/schemas/CloneResources"},"name":{"description":"name of the database schema\n","maxLength":128,"type":"string"},"primaryDbInstanceId":{"description":"This is the primary db instance identifier for advanced feature like LLM Authoring etc.","type":"string","x-stoplight":{"id":"awj0wbtw7g6x5"}},"service":{"description":"harness service corresponding to database schema\n","example":"harness_service","type":"string"},"tags":{"additionalProperties":{"type":"string","x-oapi-codegen-extra-tags":{"validate":"max=128"}},"description":"Database Schema tags","maxProperties":128,"type":"object"},"type":{"$ref":"#/components/schemas/DBSchemaType"},"usePercona":{"description":"if percona-tookit is enabled","type":"boolean","x-stoplight":{"id":"008kgy34odsaf"}}},"type":"object"}}},"description":"Database schema update request","required":true},"DBSnapshotMetadataCreateRequest":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DbSnapshotMetadataIn"},"type":"array"}}},"description":"Database metadata create request"},"ExecuteLlmAuthoringPipelineRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteLlmAuthoringPipelineRequestBody"}}},"description":"Request body for v1-execute-llm-authoring-pipeline","required":true},"ExecuteOnboardingWizardPipelineRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteOnboardingWizardPipelineRequestBody"}}},"description":"Request body for v1-execute-onboarding-wizard-pipeline","required":true},"ExecutionConfigUpdateRequest":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExecutionConfigOperation"},"type":"array"}}},"description":"Details of the Update Operations"},"FailureInterruptRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"update","harnessCommand":"Update","instanceIdentifier":"instance1","interruptType":"Abort","orgId":"myOrg","pipelineExecutionId":"exec1","pipelineIdentifier":"pip1","projectId":"myProject","schemaIdentifier":"schema1","stageExecutionId":"stage1"}}},"schema":{"properties":{"harnessCommand":{"$ref":"#/components/schemas/Command"},"instanceIdentifier":{"type":"string","x-stoplight":{"id":"dd9eskstc1qfo"}},"interruptType":{"type":"string","x-stoplight":{"id":"6jcjf7pv5xkqh"}},"orgId":{"type":"string","x-stoplight":{"id":"q31sgv0yohdg2"}},"pipelineExecutionId":{"type":"string","x-stoplight":{"id":"ncsxeit18aman"}},"pipelineIdentifier":{"type":"string","x-stoplight":{"id":"kz819pteguv6h"}},"projectId":{"type":"string","x-stoplight":{"id":"gcxo9lb81t7j4"}},"schemaIdentifier":{"type":"string","x-stoplight":{"id":"zyf5fsgn5spry"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"9s88c94tzs2ah"}}},"required":["orgId","projectId","schemaIdentifier","instanceIdentifier","harnessCommand","pipelineIdentifier","pipelineExecutionId","stageExecutionId","interruptType"],"type":"object"}}},"description":"Request body for consuming failure interrupts"},"FetchSQLStatementRequest":{"content":{"application/json":{"schema":{"properties":{"changesetFQN":{"minLength":1,"type":"string","x-stoplight":{"id":"dcbwmse6c7iw6"}}},"required":["changesetFQN"],"type":"object"}}},"description":"Request Body for Fetching SQL statements"},"FlywayCustomOperationRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlywayCustomOperationInput"}}},"description":"Request for getting custom operation result"},"FlywayFailureInterruptRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"migrate","harnessCommand":"Migrate","instanceIdentifier":"instance1","interruptType":"Abort","parentId":"parentId1","pipelineExecutionId":"exec1","schemaIdentifier":"schema1","stageExecutionId":"stage1"}}},"schema":{"properties":{"harnessCommand":{"$ref":"#/components/schemas/FlywayCommand"},"instanceIdentifier":{"type":"string","x-stoplight":{"id":"dd9eskstc1qfo"}},"interruptType":{"type":"string","x-stoplight":{"id":"6jcjf7pv5xkqh"}},"parentId":{"type":"string","x-stoplight":{"id":"q31sgv0yohdg2"}},"pipelineExecutionId":{"type":"string","x-stoplight":{"id":"ncsxeit18aman"}},"schemaIdentifier":{"type":"string","x-stoplight":{"id":"zyf5fsgn5spry"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"9s88c94tzs2ah"}}},"required":["parentId","schemaIdentifier","instanceIdentifier","harnessCommand","pipelineExecutionId","stageExecutionId","interruptType"],"type":"object"}}},"description":"Request body for consuming failure interrupts"},"FlywayPluginInputsRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"Migrate","dbInstance":"prod-1-instance","dbSchema":"myschema","directory":"myDir","metadata":{"pipeline":"pip1","planExecutionId":"planExec1","stageExecutionId":"stageExec1"},"parentId":"parent_1","pipelineExecutionMetadata":{"pipeline":"pip1","planExecutionId":"planExec1","stageExecutionId":"stageExec1"},"tag":"tag1"}}},"schema":{"properties":{"command":{"$ref":"#/components/schemas/FlywayCommand"},"customCommand":{"description":"when pluginCommand type is Custom, customCommand is considered which is any string provided by the user","type":"string","x-stoplight":{"id":"jjz90v9xyk450"}},"dbInstance":{"description":"db instance identifier","example":"myschema/prod-1-instance","type":"string"},"dbSchema":{"description":"dbSchema reference","type":"string","x-stoplight":{"id":"saiftwb6u1v5i"}},"includeJwtAuth":{"default":false,"description":"Controls whether to include JWT authentication token in the plugin settings. If true, a bearer token will be included.","type":"boolean","x-stoplight":{"id":"j8k2m5n9p0q1r"}},"parentId":{"description":"parent unique id for the scope","type":"string","x-stoplight":{"id":"amppr2firkr3b"}},"pipelineExecutionMetadata":{"$ref":"#/components/schemas/PipelineExecutionMetadata"},"settings":{"additionalProperties":{"type":"string","x-stoplight":{"id":"zqkdd4n7n4nay"}},"description":"Key value mapping of user input plugin settings","type":"object","x-stoplight":{"id":"f7g438c5t4whg"}},"workingDirectory":{"description":"The base directory Flyway uses to resolve relative paths for migrations","type":"string","x-stoplight":{"id":"9jvkfippjvwwf"}}},"required":["dbInstance","command","dbSchema","parentId","pipelineExecutionMetadata"],"type":"object"}}},"description":"Flyway Inputs to create plugin inputs","required":true},"InitializeOnboardingWizardChangelogRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitializeOnboardingWizardChangelogRequestBody"}}},"description":"Request body for v1-initialize-onboarding-wizard-changelog","required":true},"LogIngestRequest":{"content":{"text/plain":{"schema":{"description":"raw text logs from plugin","type":"string"}}},"description":"Request body for log ingestion","required":true},"MigrationStateGetRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationStateIn"}}},"description":"Inputs to get migration state of schema"},"PinImageRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinImageInput"}}},"description":"Raw DB DevOps image version override account setting","required":true},"PluginStepInputsRequest":{"content":{"application/json":{"examples":{"Example 1":{"value":{"command":"Update","dbInstance":"prod-1-instance","dbSchema":"myschema","directory":"myDir","metadata":{"pipeline":"pip1","planExecutionId":"planExec1","stageExecutionId":"stageExec1"},"tag":"tag1"}}},"schema":{"properties":{"Org":{"description":"Organization identifier","type":"string"},"Project":{"description":"Project identifier","type":"string"},"command":{"$ref":"#/components/schemas/Command"},"customCommand":{"description":"when pluginCommand type is Custom, customCommand is considered which is any string provided by the user","type":"string","x-stoplight":{"id":"jjz90v9xyk450"}},"dbInstance":{"description":"db instance identifier","example":"myschema/prod-1-instance","type":"string"},"dbSchema":{"description":"dbSchema reference","type":"string","x-stoplight":{"id":"saiftwb6u1v5i"}},"directory":{"type":"string"},"excludeChangeLogFile":{"default":false,"description":"if changeLogFile is required or not for LiquibaseCommand step. If true, then dbops-clone will not happen and changeLog is not passed in the settings.","type":"boolean","x-stoplight":{"id":"z5xwt0vstng3h"}},"includeJwtAuth":{"default":false,"description":"Controls whether to include JWT authentication token in the plugin settings. If true, a bearer token will be included.","type":"boolean","x-stoplight":{"id":"j8k2m5n9p0q1r"}},"pipelineExecutionMetadata":{"$ref":"#/components/schemas/PipelineExecutionMetadata"},"properties":{"additionalProperties":{"type":"string","x-stoplight":{"id":"ana2k0b6a90wb"}},"description":"key value pair for properties which help decide response","type":"object","x-stoplight":{"id":"j7t40kp0dulaf"}},"settings":{"additionalProperties":{"type":"string","x-stoplight":{"id":"zqkdd4n7n4nay"}},"description":"Key value mapping of user input plugin settings","type":"object","x-stoplight":{"id":"f7g438c5t4whg"}}},"required":["dbInstance","command","dbSchema"],"type":"object"}}},"description":"Inputs to create flyway plugin inputs","required":true},"SchemaInstanceMetadataRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaInstanceMetadataInput"}}},"description":"Request for getting schema-instance metadata and image versions for step execution"}},"responses":{"ChangeAuthoringEventResponse":{"description":"Change authoring execution event created successfully"},"ChangeSetDeploymentYamlResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSetDeploymentYamlOutput"}}},"description":"Response body for changeSet deployment yaml for an instance"},"ChangeSetExistenceResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSetExistenceOut"}}},"description":"Response body for changeset existence check"},"ChangeSetMetadataResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSetMetadataOutput"}}},"description":"Response body for changeSetMetadata","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"CommandParametersSupportedCommandsResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandParametersSupportedCommandsOutput"}}},"description":"Command parameters supported-commands map response"},"CustomOperationResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomOperationOutput"}}},"description":"Response for custom property result"},"DBInstanceListResponse":{"content":{"application/json":{"schema":{"description":"Response body for List Schema","items":{"$ref":"#/components/schemas/DBInstanceOut"},"type":"array"}}},"description":"Response body for List Database Schema","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"DBInstanceResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBInstanceOut"}}},"description":"Response body for Database Instance"},"DBInstanceTagValueResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBInstanceTagValue"}}},"description":"Resolved tag presence and raw value for an instance"},"DBSchemaListResponse":{"content":{"application/json":{"schema":{"description":"Response body for List Schema","items":{"$ref":"#/components/schemas/DBSchemaOut"},"type":"array"}}},"description":"Response body for List Database Schema","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"DBSchemaResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DBSchemaOut"}}},"description":"Response body for Database Schema"},"DefaultAuthoringInstanceResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultAuthoringInstanceOut"}}},"description":"Response body for default authoring instance"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"},"ExecuteLlmAuthoringPipelineResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteLlmAuthoringPipelineResponseBody"}}},"description":"Pipeline execution triggered and event persisted."},"ExecuteOnboardingWizardPipelineResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteOnboardingWizardPipelineResponseBody"}}},"description":"Apply/Rollback pipeline created and the first deploy triggered."},"ExecutionConfigSuccessResponse":{"content":{"application/json":{"schema":{"default":false,"type":"boolean"}}},"description":"Boolean response for execution config response"},"ExecutionConfigTagsResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionConfigTags"}}},"description":"Response Body for Execution Config for Image tags"},"FetchSQLStatementResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployedChangesetSqlOutput"}}},"description":"Response Body for Fetching SQL statements","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"FlywayCustomOperationResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlywayCustomOperationOutput"}}},"description":"Response for custom property result"},"FlywayDeployedStateResponse":{"content":{"application/json":{"schema":{"properties":{"deployedScripts":{"items":{"$ref":"#/components/schemas/FlywayDeployedStateOutput"},"type":"array","x-stoplight":{"id":"avkuudlqggpyw"}}},"type":"object"}}},"description":"Response body of migration script deployment","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"FlywayInstanceMigrationStateResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlywayInstanceMigrationStateOutput"}}},"description":"Response body for flyway migration state of an instance","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"FlywayMigrationScriptResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlywayMigrationScriptOutput"}}},"description":"Response body for flyway migration scripts","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"FlywayMigrationStateResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlywayMigrationStateOutput"}}},"description":"Response body for flyway migration state of a schema","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"FlywayPluginInputsResponse":{"content":{"application/json":{"examples":{"Example 1":{"value":{"dbImages":{"Image":"plugins/drone-liquibase:latest","MongoImage":"plugins/drone-liquibase-mongo:latest"},"downloadImages":{"artifactoryDownload":"plugins/artifactory-download:latest","gitClone":"harness/drone-git:1.5.6-rootless"},"image":"plugins/drone-liquibase:latest","settings":{"property1":"string","property2":"string"}}}},"schema":{"properties":{"dbImages":{"description":"DB engine images by type/version.","type":"object"},"defaultConfigs":{"additionalProperties":{"type":"string"},"description":"Built-in default config key-values","type":"object"},"downloadImages":{"description":"Optional auxiliary images to pull","type":"object"},"instance":{"$ref":"#/components/schemas/DBInstanceOut"},"schema":{"$ref":"#/components/schemas/DBSchemaOut"},"settings":{"additionalProperties":{"type":"string"},"description":"Computed plugin step settings/env","type":"object"}},"type":"object"}}},"description":"Flyway plugin Inputs Create Response"},"FlywayScriptOutputResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppliedScriptOutput"}}},"description":"Response Body for Fetching script content for flyway","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"InitializeOnboardingWizardChangelogResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitializeOnboardingWizardChangelogResponseBody"}}},"description":"Changelog-seeding pipeline execution triggered."},"InstanceMigrationStateResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstanceMigrationStateOut"}}},"description":"Response body for migration state of a instance","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"MigrationStateResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationStateOut"}}},"description":"Response body for migration state of a schema","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"OverviewResponse":{"content":{"application/json":{"schema":{"properties":{"dbInstanceCount":{"type":"integer","x-stoplight":{"id":"e5je7p05bgy6e"}},"dbSchemaCount":{"type":"integer","x-stoplight":{"id":"vl4i8hl01jg9t"}},"recentDeployments":{"items":{"$ref":"#/components/schemas/OverviewResponseOutput"},"maxItems":5,"type":"array","x-stoplight":{"id":"a3qanidk29h47"}}},"required":["dbInstanceCount","dbSchemaCount"],"type":"object"}}},"description":"Get Overview Response"},"ParsedLogResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParsedLogOut"}}},"description":"Response body for Log Event"},"PipelineStatusResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineStatusOutput"}}},"description":"Response body for Pipeline execution status"},"PluginCapabilityResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginCapabilityOutput"}}},"description":"Plugin capability check response"},"PluginInputsResponse":{"content":{"application/json":{"examples":{"Example 1":{"value":{"dbImages":{"Image":"plugins/drone-liquibase:latest","MongoImage":"plugins/drone-liquibase-mongo:latest"},"downloadImages":{"artifactoryDownload":"plugins/artifactory-download:latest","gitClone":"harness/drone-git:1.5.6-rootless"},"image":"plugins/drone-liquibase:latest","settings":{"property1":"string","property2":"string"}}}},"schema":{"properties":{"dbImages":{"type":"object"},"defaultConfigs":{"additionalProperties":{"type":"string"},"type":"object"},"downloadImages":{"type":"object"},"image":{"type":"string"},"instance":{"$ref":"#/components/schemas/DBInstanceOut"},"propertiesResult":{"additionalProperties":{"type":"string","x-stoplight":{"id":"u4r7r5h1vr7wg"}},"type":"object","x-stoplight":{"id":"fyjz8vfzb4jcs"}},"schema":{"$ref":"#/components/schemas/DBSchemaOut"},"settings":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object"}}},"description":"Plugin Inputs Create Response"},"RecommendedConnectorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendedConnectorResponseBody"}}},"description":"Recommended K8s connector, if one could be auto-detected."},"SchemaInstanceMetadataResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaInstanceMetadataOutput"}}},"description":"Get schema-instance metadata and images for step execution response"},"SnapshotObjectNamesResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotObjectNamesOutput"}}},"description":"Response body for snapshot object names","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"SnapshotObjectValuesResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotObjectValuesOutput"}}},"description":"Response body for snapshot object values"}},"schemas":{"AppliedScriptOutput":{"description":"Body for Fetching script content for flyway","properties":{"executionMismatchMsg":{"description":"show message if the script is not from current pipeline execution","type":"string","x-stoplight":{"id":"cx2j2d626sopb"}},"statements":{"description":"migration script content for a version","items":{"type":"string","x-stoplight":{"id":"beb3etwif6p00"}},"type":"array"}},"title":"AppliedScriptOutput","type":"object","x-stoplight":{"id":"ilijyrigp5ddd"}},"ChangeAuthoringEventIn":{"description":"Request body for creating a change authoring execution event","properties":{"conversationId":{"description":"Unique chat conversation ID from the LLM change authoring interaction","type":"string","x-oapi-codegen-extra-tags":{"validate":"required"}},"pipelineExecutionId":{"description":"Unique pipeline execution ID","type":"string","x-oapi-codegen-extra-tags":{"validate":"required"}},"pipelineIdentifier":{"description":"Pipeline identifier that was executed","type":"string","x-oapi-codegen-extra-tags":{"validate":"required"}},"schemaIdentifier":{"description":"Database schema identifier","type":"string","x-oapi-codegen-extra-tags":{"validate":"required"}}},"required":["schemaIdentifier","conversationId","pipelineIdentifier","pipelineExecutionId"],"title":"Change Authoring Event Request","type":"object"},"ChangeLogScript":{"additionalProperties":false,"description":"if schemaType is Script location of the changelog file after using a custom script to download","properties":{"command":{"description":"command script used to download the changelog file","example":"curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml","minLength":1,"type":"string","x-stoplight":{"id":"rdani02niu442"}},"image":{"description":"The fully-qualified name (FQN) of the image","example":"plugins/image:latest","minLength":1,"type":"string","x-stoplight":{"id":"ojq7cfe1up903"}},"location":{"description":"location of the changelog file","example":"folder/changelog.yaml","type":"string","x-stoplight":{"id":"8qehjmy01r5iw"}},"shell":{"description":"shell type","example":"Sh, Bash, \u003c+pipeline.variables.shell\u003e","type":"string"},"toml":{"description":"config file for Flyway migration type","type":"string","x-stoplight":{"id":"nphvi8wa0cmuw"}}},"required":["image","command","shell","location"],"title":"changeLog script","type":"object","x-stoplight":{"id":"j6ug0asalsuve"}},"ChangeSetDeploymentStatus":{"description":"Status of change set deployment","enum":["Rolled_Back","Successfully_Deployed","Not_Deployed","Deployment_Failed"],"title":"ChangeSetDeploymentStatus","type":"string","x-stoplight":{"id":"f4whxki5b4cp1"}},"ChangeSetDeploymentYamlOutput":{"description":"ChangeSet deployment yaml info for an instance","properties":{"yaml":{"type":"string","x-stoplight":{"id":"7py9a7unyct0j"}}},"required":["yaml"],"title":"ChangeSetDeploymentYamlOutput","type":"object","x-stoplight":{"id":"jt9d8omo9k85a"}},"ChangeSetExistenceIn":{"properties":{"changeSets":{"items":{"$ref":"#/components/schemas/ChangeSetIdInput"},"maxItems":100,"minItems":1,"type":"array"}},"required":["changeSets"],"title":"ChangeSetExistenceIn","type":"object"},"ChangeSetExistenceOut":{"properties":{"existence":{"additionalProperties":{"type":"boolean"},"description":"Map of changeset id to whether it already exists for the schema","type":"object"}},"required":["existence"],"title":"ChangeSetExistenceOut","type":"object"},"ChangeSetIdInput":{"properties":{"id":{"description":"Liquibase changeset id (identifier only; fileName and author are ignored)","minLength":1,"type":"string"}},"required":["id"],"title":"ChangeSetIdInput","type":"object"},"ChangeSetMetadataOutput":{"description":"changeset metadata output object","properties":{"data":{"items":{"type":"string","x-stoplight":{"id":"0xtfuw0decn73"}},"type":"array","x-stoplight":{"id":"c2h6oo819rvme"}}},"required":["data"],"title":"ChangeSetMetadataOut","type":"object","x-stoplight":{"id":"i2l6jx3t5wwbu"}},"Changelog":{"additionalProperties":false,"description":"if schemaType is Repository location of the changelog file containing schema changes in a git repository.\nProvide connector for third-party git connectors, or repo without connector to use Harness Code Repository.\n","properties":{"archivePath":{"description":"path excluding the repo till the archive file","minLength":1,"type":"string","x-stoplight":{"id":"53mqhpfa5038m"}},"connector":{"description":"identifier of the harness git connector. Optional when using Harness Code Repository. Omit or set to empty string to use Harness Code Repository (requires `repo` to be set).\n","example":"harness_git","type":"string","x-go-type-skip-optional-pointer":true},"includeAllPath":{"description":"path, relative to the changelog file's own directory (changelog.location), to a directory of existing SQL scripts to seed the changelog with via Liquibase's includeAll directive\n","minLength":1,"type":"string"},"location":{"description":"path to the change log file","example":"folder/changelog.yaml","minLength":1,"type":"string"},"repo":{"description":"repo name of the git based connector when ConnectionType is Account","example":"folder/changelog.yaml","minLength":1,"type":"string","x-stoplight":{"id":"pw3ul0rkm8xt6"}},"toml":{"description":"config file for Flyway migration type","type":"string","x-stoplight":{"id":"ojrzuagzdfn20"}}},"required":["location"],"type":"object","x-stoplight":{"id":"rytv7gaa34yns"}},"CloneResources":{"additionalProperties":false,"description":"Optional CPU/memory limits applied to DBOPS clone sub-steps\n(Git clone, Artifactory download, or custom Script run).\nWhen unset, pipeline step resources are used.\n","properties":{"limits":{"$ref":"#/components/schemas/ContainerResourceLimits"}},"type":"object"},"Command":{"description":"Type of the plugin command to run","enum":["Update","Validate","History","Tag","Rollback","RollbackCount","RollbackCountSQL","RollbackOneChangeset","RollbackOneChangesetSQL","UpdateSQL","Clone","Custom","ParentWrapper","RollbackSQL","Status","MarkNextChangesetRan","DBOPSUpdateSQL","DBOPSRollbackSQL","DBOPSRollbackCountSQL","DBOPSSnapshot","GenerateChangelog"],"minLength":1,"title":"Command","type":"string","x-internal":true,"x-stoplight":{"id":"uwecpn48zn9y9"}},"CommandExecutionStatus":{"enum":["IN_PROGRESS","SUCCESS","FAILURE","CANCELLED"],"title":"CommandExecutionStatus","type":"string","x-stoplight":{"id":"uo7v8vnfcdljb"}},"CommandParametersSupportedCommandsOutput":{"description":"Per command parameter, the set of commands that support it","properties":{"supportedCommands":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Map of command parameter name (as written in YAML, e.g. \"label-filter\") to the list of liquibase commands whose CLI accepts that parameter","type":"object"}},"required":["supportedCommands"],"title":"CommandParametersSupportedCommandsOutput","type":"object"},"ContainerResourceLimits":{"additionalProperties":false,"description":"CPU and memory quantity limits for clone containers.\nCPU accepts cores (e.g. \"0.5\", \"1\") or millicores (e.g. \"400m\").\nMemory accepts Mi, Gi, M, G suffixes (e.g. \"500Mi\", \".5Gi\", \"1G\") or a unitless number.\n","properties":{"cpu":{"description":"CPU limit (e.g. 400m, 0.5, 1)","example":"400m","minLength":1,"type":"string"},"memory":{"description":"Memory limit (e.g. 500Mi, .5Gi, 1G)","example":"500Mi","minLength":1,"type":"string"}},"type":"object"},"CustomOperationInput":{"description":"Input for getting custom property result","properties":{"command":{"$ref":"#/components/schemas/Command"},"dbInstance":{"type":"string","x-stoplight":{"id":"kqeua3w1kdlfb"}},"dbSchema":{"type":"string","x-stoplight":{"id":"lcimin2oa929r"}},"org":{"type":"string","x-stoplight":{"id":"na9nsv9snx24b"}},"pipelineExecutionMetadata":{"$ref":"#/components/schemas/PipelineExecutionMetadata"},"project":{"type":"string","x-stoplight":{"id":"m6o69du0xzei0"}},"properties":{"items":{"$ref":"#/components/schemas/CustomOperations"},"minItems":1,"type":"array","x-stoplight":{"id":"hfd78pm1cishd"}}},"required":["dbSchema","dbInstance","command","pipelineExecutionMetadata","org","project","properties"],"title":"CustomPropertyInput","type":"object","x-stoplight":{"id":"goeuvpu54rfol"}},"CustomOperationOutput":{"description":"Output for custom property result","properties":{"deployedChangeSets":{"items":{"$ref":"#/components/schemas/DeployedChangeSets"},"type":"array","x-stoplight":{"id":"6qgl9qxptpk3t"}},"earlierRunInStage":{"type":"boolean","x-stoplight":{"id":"ti08qiylsdd07"}},"preStartTag":{"type":"string","x-stoplight":{"id":"c169v8xj064pk"}},"successfulChangeSetDeploymentInStage":{"type":"boolean","x-stoplight":{"id":"bzamvvnvbijyo"}}},"title":"CustomPropertyOutput","type":"object","x-stoplight":{"id":"q374motg2h5ws"}},"CustomOperations":{"description":"Enum for custom operations supported","enum":["EarlierRunInStage","SuccessfulChangeSetDeploymentInStage","DeployedChangeSets","PreStartTag"],"title":"CustomOperations","type":"string","x-stoplight":{"id":"rxtpi7iwl5prt"}},"DBInstanceFilterIn":{"description":"DB Instance Filter Request","properties":{"filterType":{"default":"Equals","description":"filter criteria type. Example: Equals, NotEquals","enum":["Equals","NotEquals"],"type":"string","x-stoplight":{"id":"wh3jb1x9a4mvl"}},"instanceTags":{"description":"an array on db instance key value pairs used against the filter","items":{"$ref":"#/components/schemas/NGTag"},"type":"array","x-stoplight":{"id":"y26ejs0un3e5p"}}},"title":"DBInstanceFilterIn","type":"object","x-stoplight":{"id":"pqeg3xqjy34f4"}},"DBInstanceIn":{"description":"Database Instance Request","properties":{"branch":{"description":"branch where the instance is stored\n","example":"main","type":"string"},"commitSha":{"description":"Commit SHA to pin the changelog to a specific revision.\nMutually exclusive with branch and gitTag. Supports Harness expressions (e.g. \u003c+trigger.commitSha\u003e).\n","example":"abc123def456","type":"string"},"connector":{"description":"DB Connector","example":"postgres-connector","minLength":1,"type":"string"},"context":{"description":"Liquibase context","type":"string"},"gitTag":{"description":"Git tag to pin the changelog to a specific tagged revision.\nMutually exclusive with branch and commitSha. Supports Harness expressions (e.g. \u003c+trigger.tag\u003e).\n","example":"v1.2.0","type":"string"},"identifier":{"description":"identifier of the database instance","pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string","x-oapi-codegen-extra-tags":{"validate":"required,max=128"}},"name":{"description":"name of the database instance","type":"string","x-oapi-codegen-extra-tags":{"validate":"required,max=128"}},"substituteProperties":{"additionalProperties":{"type":"string","x-stoplight":{"id":"8g5d3lui6rlrl"}},"description":"Placeholder replacement in migration scripts.","type":"object","x-stoplight":{"id":"2rirfvmokq6r8"}},"tags":{"additionalProperties":{"type":"string","x-oapi-codegen-extra-tags":{"validate":"max=128"}},"description":"tags attached to the database instance","maxProperties":128,"type":"object","x-go-type-skip-optional-pointer":true}},"required":["identifier","connector"],"title":"Database Instance Request","type":"object","x-stoplight":{"id":"1li73zi9bs5oi"}},"DBInstanceListInput":{"description":"Input for filtering instances in list API","properties":{"instanceFQNs":{"description":"list of '-' separated values of schema identifier and instance identifiers","items":{"type":"string","x-stoplight":{"id":"00pgdyu11awof"}},"type":"array","x-stoplight":{"id":"uvfrk9mlk33vq"}},"schemaIdentifiers":{"description":"list of schema identifiers to filter instances","items":{"type":"string","x-stoplight":{"id":"31wkmpwoswrbq"}},"type":"array","x-stoplight":{"id":"8t3kd4dz91anx"}}},"title":"DBInstanceListInput","type":"object","x-stoplight":{"id":"fx5xiutdaefop"}},"DBInstanceOut":{"description":"Database Instance Response","properties":{"branch":{"description":"branch where the instance is stored","type":"string"},"commitSha":{"description":"commit SHA to pin the changelog to a specific revision","type":"string"},"connector":{"description":"DB Connector","type":"string"},"context":{"description":"Liquibase context","type":"string"},"created":{"description":"epoch seconds when the database instance was created","format":"int64","type":"integer"},"gitTag":{"description":"Git tag to pin the changelog to a specific tagged revision","type":"string"},"identifier":{"description":"identifier of the database instance","type":"string"},"lastAppliedTag":{"description":"Most recent tag applied to the database","type":"string"},"lastDeployedChangeSetTag":{"description":"Tag on last deployed changeSet","type":"string","x-stoplight":{"id":"dlbvh5adtk2de"}},"name":{"description":"name of the database instance","type":"string"},"schemaId":{"type":"string","x-stoplight":{"id":"2n2zy2gxgmycn"}},"schemaIdentifier":{"type":"string","x-stoplight":{"id":"delov0umr51kp"}},"substituteProperties":{"additionalProperties":{"type":"string","x-stoplight":{"id":"lhgrpfvhx5bfk"}},"description":"Placeholder replacement in migration scripts.","type":"object","x-stoplight":{"id":"npmul0cgghe3c"}},"tags":{"additionalProperties":{"type":"string"},"description":"tags attached to the database instance","type":"object","x-go-type-skip-optional-pointer":true},"toOnboard":{"type":"boolean","x-stoplight":{"id":"y8hnyznezal4i"}},"updated":{"description":"epoch seconds when the database instance was last updated","format":"int64","type":"integer"}},"required":["identifier","name","created","connector","lastDeployedChangeSetTag"],"title":"Database Instance Response","type":"object","x-stoplight":{"id":"qcmn5nllz3a1z"}},"DBInstanceTagValue":{"description":"Resolved presence and raw value of a tag on an instance","properties":{"present":{"description":"Whether a tag with the requested key exists on the instance","type":"boolean"},"value":{"description":"Raw stored value of the tag; empty string for a bare, valueless key","type":"string"}},"required":["present","value"],"title":"DBInstanceTagValue","type":"object"},"DBSchemaFilterIn":{"description":"List schema body input","properties":{"identifiers":{"description":"list of schema identifiers","items":{"type":"string","x-stoplight":{"id":"nfsp4sjueo3t2"}},"type":"array","x-stoplight":{"id":"va094q90m251a"}}},"title":"DBSchemaFilterIn","type":"object","x-stoplight":{"id":"sj7v1o7j1aoz2"}},"DBSchemaIn":{"description":"Database Schema Request ","properties":{"changeLogScript":{"$ref":"#/components/schemas/ChangeLogScript"},"changelog":{"$ref":"#/components/schemas/Changelog"},"cloneResources":{"$ref":"#/components/schemas/CloneResources"},"identifier":{"description":"identifier of the database schema","pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string","x-oapi-codegen-extra-tags":{"validate":"required,max=128"}},"migrationType":{"$ref":"#/components/schemas/MigrationType"},"name":{"description":"name of the database schema","type":"string","x-oapi-codegen-extra-tags":{"validate":"required,max=128"}},"service":{"description":"harness service corresponding to database schema\n","example":"harness_service","minLength":1,"type":"string"},"tags":{"additionalProperties":{"type":"string","x-oapi-codegen-extra-tags":{"validate":"max=128"}},"description":"tags attached to the database schema","maxProperties":128,"type":"object","x-go-type-skip-optional-pointer":true},"type":{"$ref":"#/components/schemas/DBSchemaType"},"usePercona":{"default":false,"description":"if percona-toolkit to be enabled","type":"boolean","x-stoplight":{"id":"gub746l5qctru"}}},"required":["identifier","name"],"title":"Database Schema Request","type":"object","x-examples":{"Example 1":{"changelog":{"connector":"harness_git","location":"folder/changelog.yaml"},"identifier":"myservice_database","name":"my service database","service":"harness_service","tags":{"region":"us-east-1"}}},"x-stoplight":{"id":"50h201oitfzde"}},"DBSchemaOut":{"description":"Database Schema Response","properties":{"changeLogScript":{"$ref":"#/components/schemas/ChangeLogScript"},"changelog":{"$ref":"#/components/schemas/Changelog"},"cloneResources":{"$ref":"#/components/schemas/CloneResources"},"created":{"description":"epoch seconds when the database schema was created","format":"int64","type":"integer"},"identifier":{"description":"identifier of the database schema","type":"string"},"instanceCount":{"description":"number of database instances corresponding to database schema","format":"int64","type":"integer"},"migrationType":{"$ref":"#/components/schemas/MigrationType"},"name":{"description":"name of the database schema","type":"string"},"parentId":{"description":"parentUniqueId for scope schema belongs to","type":"string","x-stoplight":{"id":"ly84xx0ojw0dw"}},"primaryDbInstanceId":{"description":"Identifier for the primary dbInstance used for advanced feature like LLM Authoring etc.","type":"string","x-stoplight":{"id":"2q5akpayctizx"}},"schemaSourceType":{"enum":["Git","Artifactory","Custom","HarnessCode"],"readOnly":true,"type":"string","x-stoplight":{"id":"802m1r25ghm6l"}},"service":{"description":"harness service corresponding to database schema","type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"tags attached to the database schema","type":"object","x-go-type-skip-optional-pointer":true},"type":{"$ref":"#/components/schemas/DBSchemaType"},"updated":{"description":"epoch seconds when the database schema was last updated","format":"int64","type":"integer"},"usePercona":{"default":false,"description":"if percona-toolkit is enabled","type":"boolean","x-stoplight":{"id":"dnfipv17ffs3v"}}},"required":["identifier","name","created","instanceCount","type","parentId","migrationType","usePercona"],"title":"Database Schema Response","type":"object","x-stoplight":{"id":"1y01syuq8w851"}},"DBSchemaType":{"description":"db schema type","enum":["Repository","Script"],"title":"DBSchemaType","type":"string","x-stoplight":{"id":"8x2xf0r3syqjg"}},"DBStepType":{"enum":["DBSchemaApply","DBSchemaRollback"],"title":"DBStepType","type":"string","x-stoplight":{"id":"ookg93k67z8hz"}},"DbSnapshotMetadataIn":{"properties":{"objectName":{"description":"Name for the object, example - Customers for table objectType","type":"string","x-stoplight":{"id":"lh6omoiitcqq8"}},"objectType":{"description":"type for the object for the metadata, example- Table","type":"string","x-stoplight":{"id":"rkbdpawv94nlx"}},"objectValue":{"description":"json value of the object","type":"string","x-stoplight":{"id":"x0artidtz7nd6"}},"snapshotObjectId":{"type":"string","x-stoplight":{"id":"j50kac6cv3dp2"}}},"required":["snapshotObjectId","objectType","objectName","objectValue"],"title":"DbSnapshotMetadataIn","type":"object","x-stoplight":{"id":"6jmwlr1y0gi0g"}},"DbType":{"description":"Not honoured by v1-initialize-onboarding-wizard-changelog: the DB\nengine is resolved from the instance's JDBC connector, and the\nchangelog format from schema.changelog.location's extension. Kept on\nthe request only for client compatibility.\n","enum":["SQL","MONGODB"],"title":"DbType","type":"string"},"DefaultAuthoringInstanceOut":{"description":"Minimal instance information for LLM change authoring auto-selection","properties":{"connector":{"description":"Connector identifier (JDBC connector) linked to this instance","type":"string"},"hasSnapshot":{"description":"Whether this instance has a metadata snapshot available for LLM authoring","type":"boolean"},"identifier":{"description":"Identifier of the selected database instance","type":"string"},"name":{"description":"Display name of the selected database instance","type":"string"}},"required":["identifier","name","hasSnapshot","connector"],"title":"Default Authoring Instance Response","type":"object"},"DeployedChangeSets":{"properties":{"changeSetFQN":{"type":"string","x-stoplight":{"id":"f4kzaer1jlada"}}},"required":["changeSetFQN"],"title":"DeployedChangeSets","type":"object","x-stoplight":{"id":"2xl1xyvguonyv"}},"DeployedChangesetSqlOutput":{"description":"Response Body for Fetching SQL statements","properties":{"sql":{"items":{"type":"string","x-stoplight":{"id":"8r7yk67k7rcj4"}},"type":"array","x-stoplight":{"id":"frzyxa67l6mgs"}}},"title":"DeployedChangesetSqlOutput","type":"object","x-stoplight":{"id":"nazria0es5v7a"}},"DeployedStateInput":{"description":"Input for getting execution deployed states","properties":{"pipeline":{"description":"identifier of the pipeline","type":"string","x-stoplight":{"id":"8qs6o89je9q7t"}},"planExecutionId":{"type":"string","x-stoplight":{"id":"sg8bjjivonl2n"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"uyjy3losyw3wv"}},"startTime":{"default":0,"description":"start time of step execution","format":"int64","type":"integer","x-stoplight":{"id":"ycpp05a282ivu"}},"stepType":{"$ref":"#/components/schemas/DBStepType"}},"required":["planExecutionId","stageExecutionId","stepType","pipeline"],"title":"DeployedStateInput","type":"object","x-stoplight":{"id":"vfiwroxnuheqj"}},"DeployedStateOutput":{"description":"The status of changeset deployment","properties":{"author":{"type":"string","x-stoplight":{"id":"929dnscx95ypb"}},"changeSetFQN":{"description":"changesetFQN is a unique identifier for database changesets in the format filename::changesetId::author","type":"string","x-stoplight":{"id":"83slrsi8j4ahm"}},"changeSetId":{"type":"string","x-stoplight":{"id":"x47961ux78m1z"}},"command":{"$ref":"#/components/schemas/Command"},"comment":{"description":"comment in changeset definition","type":"string","x-stoplight":{"id":"47voyp56s2n3k"}},"deployedAt":{"format":"int64","type":"integer","x-stoplight":{"id":"5e34nn5l71tit"}},"deployedInCurrentExecution":{"description":"if changeset run as part of current step execution","type":"boolean","x-stoplight":{"id":"hvppxpin4swwy"}},"fileName":{"type":"string","x-stoplight":{"id":"t5k0ya5j14ek5"}},"label":{"description":"label in changeset definition","type":"string","x-stoplight":{"id":"2w8f4a2s0cbfp"}},"metadata":{"$ref":"#/components/schemas/ExecutionMetadata"},"status":{"$ref":"#/components/schemas/CommandExecutionStatus"},"tag":{"type":"string","x-stoplight":{"id":"eg643qgsnus6y"}}},"required":["status","changeSetId","author","fileName","command","metadata","deployedInCurrentExecution","changeSetFQN"],"title":"DeployedStateOutput","type":"object","x-stoplight":{"id":"qa93jh433xexc"}},"Error":{"description":"Error Response","properties":{"message":{"description":"error message detail","type":"string"}},"required":["message"],"title":"Error Response","type":"object","x-stoplight":{"id":"61cwtgnps2mpt"}},"ExecuteLlmAuthoringPipelineRequestBody":{"properties":{"changeset":{"description":"Liquibase YAML changeset body to validate-and-preview.","minLength":1,"type":"string"},"conversationId":{"description":"Idempotency key — the chat conversation id. Same value across retries\nwithin one chat session.\n","minLength":1,"type":"string"},"instanceId":{"description":"DBOps instance identifier.","minLength":1,"type":"string"},"pipelineIdentifier":{"description":"Custom-pipeline branch — identifier read from the NG setting\n`dbops_llm_authoring_pipeline_id`. Mutually exclusive with\n`useDefaultPipeline`.\n","type":"string"},"runtimeInputs":{"additionalProperties":{"type":"string"},"description":"Custom runtime inputs collected from the user via AskUserQuestion.\nReserved keys (schemaId, instanceId, changeset, connectorRef) are\nrejected by the server. Only meaningful in the custom-pipeline branch.\n","type":"object"},"schemaId":{"description":"DBOps schema identifier.","minLength":1,"type":"string"},"useDefaultPipeline":{"description":"Default-pipeline branch — when true, the server performs get-or-create\nof the canonical default validate-and-preview pipeline. Mutually\nexclusive with `pipelineIdentifier`.\n","type":"boolean"}},"required":["conversationId","schemaId","instanceId","changeset"],"type":"object"},"ExecuteLlmAuthoringPipelineResponseBody":{"properties":{"executionId":{"description":"Pipeline execution id returned by pipeline-service.","type":"string"},"openInHarness":{"description":"Deep link to the live execution in the Harness UI.","type":"string"},"pipelineIdentifier":{"description":"Identifier of the pipeline that was actually executed (the value of\nthe `pipelineIdentifier` request field, or the default identifier\nwhen `useDefaultPipeline=true`).\n","type":"string"}},"required":["executionId","pipelineIdentifier"],"type":"object"},"ExecuteOnboardingWizardPipelineRequestBody":{"properties":{"connectorRef":{"description":"K8s cluster connector to run the pipeline against. The caller\nmust confirm this value with the user before submitting — e.g.\nby pre-filling it from v1-get-onboarding-wizard-recommended-connector\nand having the user accept/change it in the picker.\n","minLength":1,"pattern":"^(account\\.|org\\.)?[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"},"instanceId":{"description":"DBOps instance identifier.","minLength":1,"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"},"pipelineIdentifier":{"description":"User-chosen name/identifier for the DBSchemaApply/Rollback pipeline\nthe wizard persists in the customer's project.\n","minLength":1,"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"},"schemaId":{"description":"DBOps schema identifier.","minLength":1,"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"}},"required":["pipelineIdentifier","schemaId","instanceId","connectorRef"],"type":"object"},"ExecuteOnboardingWizardPipelineResponseBody":{"properties":{"executionId":{"description":"Pipeline execution id returned by pipeline-service for the apply run.","type":"string"},"openInHarness":{"description":"Deep link to the live execution in the Harness UI.","type":"string"},"pipelineIdentifier":{"description":"Identifier of the DBSchemaApply/Rollback pipeline that was created.","type":"string"}},"required":["executionId","pipelineIdentifier"],"type":"object"},"ExecutionConfigOperation":{"additionalProperties":false,"description":"Operations to set the images tag to particular version","properties":{"field":{"description":"Image tag field names which can be retrieved from get-default-config","example":"gitCloneTag, defaultTag, mongoTag, etc","type":"string","x-stoplight":{"id":"c4ao9gsw8bec7"}},"value":{"description":"Value of the image tag","example":"harness/drone-git:1.5.6-rootless","type":"string","x-stoplight":{"id":"qvg6n55o8e6t7"}}},"required":["field","value"],"title":"ExecutionConfigOperation","type":"object","x-examples":{"Example 1":{"field":"gitCloneTag","value":"harness/drone-git:1.5.6-rootless"}},"x-stoplight":{"id":"az6vxqusd38xv"}},"ExecutionConfigTags":{"properties":{"artifactoryTag":{"type":"string","x-stoplight":{"id":"hy9876z3lbcoy"}},"bigQueryTag":{"type":"string","x-stoplight":{"id":"bigquerytag1x2"}},"bigtableTag":{"type":"string","x-stoplight":{"id":"bigtabletag1x3"}},"cassandraTag":{"type":"string","x-stoplight":{"id":"cassandratag1x6"}},"cloudSqlTag":{"type":"string","x-stoplight":{"id":"z4o6m0f9zq3qk"}},"databricksTag":{"type":"string","x-stoplight":{"id":"databrickstag1x7"}},"db2Tag":{"type":"string","x-stoplight":{"id":"db2tag9x7k2m1"}},"defaultTag":{"type":"string","x-stoplight":{"id":"5ij9lx02mahxf"}},"flywayDefaultTag":{"type":"string","x-stoplight":{"id":"3xxwsi5xj4v7n"}},"flywayMongoTag":{"type":"string","x-stoplight":{"id":"7jhlm8v9n0q2c"}},"flywaySpannerPsqlTag":{"type":"string","x-stoplight":{"id":"k6a5l0q6s8u1m"}},"flywaySpannerTag":{"type":"string","x-stoplight":{"id":"0d4g2x0f4r2c9"}},"gitCloneTag":{"type":"string","x-stoplight":{"id":"j86rn4rdhn52k"}},"mongoTag":{"type":"string","x-stoplight":{"id":"crzzbjc0o7s1j"}},"mssqlTag":{"type":"string","x-stoplight":{"id":"mssqltag1x5"}},"oracleTag":{"type":"string","x-stoplight":{"id":"oracletag1x4"}},"perconaTag":{"type":"string","x-stoplight":{"id":"jxo2xlmzb3al1"}},"rdsTag":{"type":"string","x-stoplight":{"id":"r7s3k9m2p1q8nw"}},"snowflakeTag":{"type":"string","x-stoplight":{"id":"mgm4y32fkx1xd"}},"spannerTag":{"type":"string","x-stoplight":{"id":"mgm4y32fkx1xt"}}},"title":"ExecutionConfigTags","type":"object","x-examples":{"Example 1":{"artifactoryTag":"string","cloudSqlTag":"string","defaultTag":"string","flywayDefaultTag":"string","flywayMongoTag":"string","flywaySpannerPsqlTag":"string","flywaySpannerTag":"string","gitCloneTag":"string","mongoTag":"string","perconaTag":"string","rdsTag":"string","snowflakeTag":"string","spannerTag":"string"}},"x-stoplight":{"id":"qezvgyoecifmt"}},"ExecutionMetadata":{"description":"Properties related to pipeline execution","properties":{"pipeline":{"type":"string","x-stoplight":{"id":"5k3ff780hrran"}},"planExecutionId":{"type":"string","x-stoplight":{"id":"q74ihd08grz1n"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"m9yhkxclgnwn2"}}},"required":["pipeline","planExecutionId","stageExecutionId"],"title":"ExecutionMetadata","type":"object","x-stoplight":{"id":"tkbzev2tuyv9j"}},"FlywayAppliedMigration":{"description":"Flyway Migration Applied across instances","properties":{"deployedAt":{"description":"epoch seconds when the migration was applied","format":"int64","type":"integer","x-stoplight":{"id":"4kri35ly1bu13"}},"description":{"description":"Description from the migration script","type":"string","x-stoplight":{"id":"j441zdnie8cz5"}},"instances":{"items":{"$ref":"#/components/schemas/MigrationStateInstance"},"type":"array"},"type":{"description":"type of migration, whether baseline or actual script migration","type":"string","x-stoplight":{"id":"vd1l0hxbyh1jo"}},"version":{"description":"version of flyway migration script","type":"string","x-stoplight":{"id":"afvsk2s9szjtg"}}},"required":["version","type","instances","deployedAt"],"title":"FlywayAppliedMigration","type":"object","x-stoplight":{"id":"bulact1cpjm6y"}},"FlywayCommand":{"description":"Type of the plugin command to run","enum":["Migrate","MigrateSQL","Undo","UndoSQL","Info","ParentWrapper","Clone","Custom","Repair"],"minLength":1,"title":"Command","type":"string","x-internal":true,"x-stoplight":{"id":"c3cn8rwxrl2bb"}},"FlywayCommandExecutionStatus":{"enum":["IN_PROGRESS","SUCCESS","FAILURE","CANCELLED","SUCCESS_ROLLED_BACK"],"title":"FlywayCommandExecutionStatus","type":"string","x-stoplight":{"id":"6na70i6cet06w"}},"FlywayCustomOperationInput":{"description":"Input for getting custom property result","properties":{"command":{"$ref":"#/components/schemas/FlywayCommand"},"dbInstance":{"type":"string","x-stoplight":{"id":"htyzr23a7bos6"}},"dbSchema":{"type":"string","x-stoplight":{"id":"c1g3qoxoxyige"}},"pipelineExecutionMetadata":{"$ref":"#/components/schemas/PipelineExecutionMetadata"},"properties":{"items":{"$ref":"#/components/schemas/FlywayCustomOperations"},"type":"array","x-stoplight":{"id":"x3uvkvc2un2nh"}}},"required":["dbSchema","dbInstance","command","pipelineExecutionMetadata","properties"],"title":"FlywayCustomOperationInput","type":"object","x-stoplight":{"id":"1zjawi13zsagb"}},"FlywayCustomOperationOutput":{"description":"Output for custom property result","properties":{"earlierRunInStage":{"type":"boolean","x-stoplight":{"id":"sdlhp6wzh9zt2"}},"preStartTag":{"type":"string","x-stoplight":{"id":"tzioqm98udkdd"}}},"title":"FlywayCustomOperationOutput","type":"object","x-stoplight":{"id":"il5xxivg8i5cc"}},"FlywayCustomOperations":{"description":"Enum for custom operations supported","enum":["EarlierRunInStage","PreStartTag"],"title":"FlywayCustomOperations","type":"string","x-stoplight":{"id":"kyl78ql49db0x"}},"FlywayDeployedStateOutput":{"description":"The status of migration script deployment","properties":{"appliedInCurrentExecution":{"description":"if migration script run as part of current step execution","type":"boolean","x-stoplight":{"id":"68uncvn4ridul"}},"command":{"$ref":"#/components/schemas/FlywayCommand"},"deployedAt":{"description":"epoch seconds when the migration was applied","format":"int64","type":"integer"},"description":{"description":"Description from the migration script","type":"string","x-stoplight":{"id":"4qo0fx8jx5uk3"}},"metadata":{"$ref":"#/components/schemas/ExecutionMetadata"},"status":{"$ref":"#/components/schemas/FlywayCommandExecutionStatus"},"type":{"description":"type of migration, whether baseline or actual script migration","type":"string","x-stoplight":{"id":"gg1w4ribzd0cl"}},"version":{"description":"Version of flyway migration script","type":"string","x-stoplight":{"id":"xuir64ngt8kyr"}}},"required":["status","version","deployedAt","command","metadata","appliedInCurrentExecution","type"],"title":"FlywayDeployedStateOutput","type":"object","x-stoplight":{"id":"pdsn4j431fbeb"}},"FlywayInstanceMigrationState":{"description":"Flyway Migration info across instances","properties":{"deployedAt":{"description":"epoch seconds when the migration was applied","format":"int64","type":"integer","x-stoplight":{"id":"y5dcxrdnpkj2s"}},"description":{"description":"description from the migration script","type":"string","x-stoplight":{"id":"jxfb7x0il5d8x"}},"pipelineExecutionId":{"description":"pipeline execution Id of the pipeline execution","type":"string","x-stoplight":{"id":"nl3tbc8ky9z29"}},"pipelineIdentifier":{"description":"Pipeline Identifier of the pipeline","type":"string","x-stoplight":{"id":"7yznflsxa3rmo"}},"stageExecutionId":{"description":"stage execution id of the pipeline execution","type":"string","x-stoplight":{"id":"4w1h3pkeox906"}},"status":{"$ref":"#/components/schemas/ChangeSetDeploymentStatus"},"type":{"description":"type of migration, whether baseline or actual script migration","type":"string","x-stoplight":{"id":"t92umjixnxvev"}},"version":{"description":"version of flyway migration script","type":"string","x-stoplight":{"id":"jjipn7ze50192"}}},"required":["version","type","status","deployedAt","pipelineIdentifier","pipelineExecutionId","stageExecutionId"],"title":"FlywayInstanceMigrationState","type":"object","x-stoplight":{"id":"i514k037o2es2"}},"FlywayInstanceMigrationStateOutput":{"description":"Flyway Migration info across schema and instance","properties":{"instanceName":{"description":"Name of the Instance","type":"string"},"migrations":{"items":{"$ref":"#/components/schemas/FlywayInstanceMigrationState"},"type":"array"},"schemaName":{"description":"Name of the Schema","type":"string"}},"required":["schemaName","instanceName"],"title":"FlywayInstanceMigrationStateOutput","type":"object","x-stoplight":{"id":"rono2ypcjrfuh"}},"FlywayMigrationScriptOutput":{"properties":{"data":{"items":{"type":"string","x-stoplight":{"id":"8u85nqnlt1w43"}},"type":"array","x-stoplight":{"id":"43o199tx5os71"}}},"title":"FlywayMigrationScriptOutput","type":"object","x-stoplight":{"id":"rt1400tezvyfb"}},"FlywayMigrationStateOutput":{"description":"Flyway Migration Applied for a schema information","properties":{"instances":{"items":{"$ref":"#/components/schemas/InstanceDetail"},"type":"array"},"migrations":{"items":{"$ref":"#/components/schemas/FlywayAppliedMigration"},"type":"array"},"schema":{"description":"Identifier of the Schema","type":"string"}},"required":["schema"],"title":"FlywayMigrationStateOutput","type":"object","x-stoplight":{"id":"xgkxp7yuo88w8"}},"InitType":{"description":"How the onboarding wizard should seed the schema's initial changelog.\nSTART_FROM_SCRATCH seeds an empty changelog. EXISTING_SQL seeds a\nchangelog containing a Liquibase includeAll directive pointing at the\nschema's changelog.includeAllPath (see v1-update-proj-db-schema); the\nschema must have that field set or the request is rejected with 400.\nGENERATE_FROM_DB reverse-engineers the changelog from the live\ninstance via Liquibase generate-changelog, commits it to the schema's\nchangelog.location, and runs changelog-sync so the instance's\nexisting objects are recorded as already applied; the schema must\nhave changelog.location set or the request is rejected with 400.\n","enum":["START_FROM_SCRATCH","EXISTING_SQL","GENERATE_FROM_DB"],"title":"InitType","type":"string"},"InitializeOnboardingWizardChangelogRequestBody":{"properties":{"connectorRef":{"description":"K8s cluster connector to run the pipeline against. The caller\nmust confirm this value with the user before submitting — e.g.\nby pre-filling it from v1-get-onboarding-wizard-recommended-connector\nand having the user accept/change it in the picker.\n","minLength":1,"pattern":"^(account\\.|org\\.)?[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"},"dbType":{"$ref":"#/components/schemas/DbType"},"initType":{"$ref":"#/components/schemas/InitType"},"instanceId":{"description":"DBOps instance identifier. Its configured branch (see\nv1-create-proj-db-schema-instance) is where the changelog is\ncommitted.\n","minLength":1,"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"},"schemaId":{"description":"DBOps schema identifier.","minLength":1,"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"}},"required":["schemaId","instanceId","connectorRef","initType"],"type":"object"},"InitializeOnboardingWizardChangelogResponseBody":{"properties":{"executionId":{"description":"Pipeline execution id returned by pipeline-service for the changelog-seeding run.","type":"string"},"openInHarness":{"description":"Deep link to the live execution in the Harness UI.","type":"string"}},"required":["executionId"],"type":"object"},"InstanceDetail":{"description":"Name and identifier of instance","properties":{"identifier":{"type":"string","x-stoplight":{"id":"31d4qf39t64hx"}},"name":{"type":"string","x-stoplight":{"id":"zvigh51qdhg7m"}}},"required":["identifier","name"],"title":"InstanceDetail","type":"object","x-stoplight":{"id":"b0ge7609tlr6s"}},"InstanceMigrationStateChangeSet":{"description":"Deployment info of Change Sets across instances","properties":{"author":{"type":"string"},"changeSet":{"description":"Identifier of the Change Set","type":"string"},"changeSetFQN":{"type":"string","x-stoplight":{"id":"4z9kxognzb0di"}},"comment":{"description":"comment defined in changeSet","type":"string","x-stoplight":{"id":"74w4qvz4i3p78"}},"deployedAt":{"format":"int64","type":"integer","x-stoplight":{"id":"2agm7gbw2pq9k"}},"fileName":{"type":"string"},"label":{"description":"label defined in changeSet","type":"string","x-stoplight":{"id":"15ozawdz45jq4"}},"pipeline":{"type":"string","x-stoplight":{"id":"ow7y4tlbwll6s"}},"planExecutionId":{"type":"string","x-stoplight":{"id":"0r1nyz293ph4h"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"9nqtr1j9uiers"}},"status":{"$ref":"#/components/schemas/ChangeSetDeploymentStatus"},"tag":{"type":"string","x-stoplight":{"id":"olwe8u50gytkp"}}},"required":["changeSet","deployedAt","author","fileName","status","pipeline","planExecutionId","stageExecutionId","changeSetFQN"],"title":"InstanceMigrationStateChangeSet","type":"object","x-stoplight":{"id":"vfjspbwnr93bq"}},"InstanceMigrationStateOut":{"description":"Change Set deployment info for a instance","properties":{"changeSets":{"items":{"$ref":"#/components/schemas/InstanceMigrationStateChangeSet"},"type":"array"},"instanceName":{"description":"Name of the Instance","type":"string","x-stoplight":{"id":"9ysq7wf9p1keo"}},"schemaName":{"description":"Name of the Schema","type":"string","x-stoplight":{"id":"wjdx4nkmfse8q"}}},"required":["schemaName","instanceName"],"title":"InstanceMigrationStateOut","type":"object","x-stoplight":{"id":"o8h98fwt2xvn0"}},"MigrationStateChangeSet":{"description":"Deployment info of Change Sets across instances","properties":{"author":{"type":"string","x-stoplight":{"id":"mob4f4s0lovhs"}},"changeSet":{"description":"Identifier of the Change Set","type":"string","x-stoplight":{"id":"44ec50vd5krrf"}},"changeSetFQN":{"description":"changesetFQN is a unique identifier for database changesets in the format filename::changesetId::author","type":"string","x-stoplight":{"id":"imclno1hwt5tu"}},"fileName":{"type":"string","x-stoplight":{"id":"31qx3sb0zigel"}},"instances":{"items":{"$ref":"#/components/schemas/MigrationStateInstance"},"type":"array","x-stoplight":{"id":"k3xi8j4pkqn48"}},"synced":{"default":false,"description":"If Change Set is successfully deployed to all instances","type":"boolean","x-stoplight":{"id":"fwvilhcjrnzuk"}},"updated":{"format":"int64","type":"integer","x-stoplight":{"id":"3pq420g29khfg"}}},"required":["changeSet","synced","instances","updated","author","fileName","changeSetFQN"],"title":"MigrationStateChangeSet","type":"object","x-stoplight":{"id":"lu7ke7g87jfq3"}},"MigrationStateIn":{"description":"Get migration state request input","properties":{"instanceFilter":{"$ref":"#/components/schemas/MigrationStateInstanceIn"}},"title":"MigrationStateIn","type":"object","x-stoplight":{"id":"h52h1mz8ooyrq"}},"MigrationStateInstance":{"description":"Change Set Deployment info of instance","properties":{"error":{"type":"string","x-stoplight":{"id":"lwtp6ijz0wb0y"}},"instance":{"description":"Identfier of the instance","type":"string","x-stoplight":{"id":"0v28kt08qg9bv"}},"pipeline":{"type":"string","x-stoplight":{"id":"ons3mctnaool3"}},"planExecutionId":{"type":"string","x-stoplight":{"id":"lebh5202yl46k"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"c44thbf6c2mw6"}},"status":{"$ref":"#/components/schemas/ChangeSetDeploymentStatus"},"tag":{"type":"string","x-stoplight":{"id":"3bkegz2orl3se"}},"updated":{"description":"Time of last Change Set Deployment/Rollback attempt ","format":"int64","type":"integer","x-stoplight":{"id":"67g7rn5rj6k6y"}}},"required":["instance","status","pipeline","planExecutionId","stageExecutionId"],"title":"MigrationStateInstance","type":"object","x-stoplight":{"id":"0tdlaexf41tyg"}},"MigrationStateInstanceIn":{"description":"Get migration state request instance input","properties":{"instances":{"items":{"type":"string","x-stoplight":{"id":"u06e41dzptghg"}},"type":"array","x-stoplight":{"id":"xgfy8jpfw9mll"}},"order":{"$ref":"#/components/schemas/OrderInstance"},"sort":{"$ref":"#/components/schemas/SortInstance"}},"title":"MigrationStateInstanceIn","type":"object","x-stoplight":{"id":"7mrokzsmxkufd"}},"MigrationStateOut":{"description":"Change Set deployment info for a schema","properties":{"changeSets":{"items":{"$ref":"#/components/schemas/MigrationStateChangeSet"},"type":"array","x-stoplight":{"id":"nur8lhmmq4k80"}},"instances":{"items":{"$ref":"#/components/schemas/InstanceDetail"},"type":"array","x-stoplight":{"id":"c4j467g3ps0hq"}},"schema":{"description":"Identifier of the Schema","type":"string","x-stoplight":{"id":"c2cmn4x96fces"}}},"required":["schema"],"title":"MigrationStateOut","type":"object","x-stoplight":{"id":"vvx7j4u21jjs5"}},"MigrationType":{"default":"Liquibase","description":"DB Migration tool type","enum":["Liquibase","Flyway"],"title":"MigrationType","type":"string","x-stoplight":{"id":"jxued8v34v6x0"}},"NGTag":{"description":"ng tag with key and value ","properties":{"key":{"type":"string","x-stoplight":{"id":"t2goca5st7qs2"}},"value":{"nullable":true,"type":"string","x-stoplight":{"id":"2mwjdtx5vmiqo"}}},"required":["key"],"title":"NGTag","type":"object","x-stoplight":{"id":"k8zieexitrnwq"}},"OrderInstance":{"default":"ASC","description":"order of instance entity","enum":["DESC","ASC"],"title":"OrderInstance","type":"string","x-stoplight":{"id":"l0hdqldkwdms9"}},"OverviewResponseOutput":{"properties":{"dbInstanceIdentifier":{"type":"string","x-stoplight":{"id":"ro2tbyjw4ret9"}},"dbInstanceName":{"type":"string","x-stoplight":{"id":"rfhtocn7bxq4e"}},"dbSchemaIdentifier":{"type":"string","x-stoplight":{"id":"armfitbm4jksk"}},"dbSchemaName":{"type":"string","x-stoplight":{"id":"0dy50a77d4uwj"}},"lastDeployed":{"format":"int64","type":"integer","x-stoplight":{"id":"o071rdrf2o8px"}}},"required":["dbSchemaIdentifier","dbSchemaName","dbInstanceIdentifier","dbInstanceName","lastDeployed"],"title":"Overview Response Output","type":"object","x-stoplight":{"id":"rf7l1cm9j1d8b"}},"ParsedLogOut":{"properties":{"command":{"type":"string"},"id":{"description":"identifier of the logIngest entity","type":"string"},"success":{"type":"boolean"}},"required":["success","command","id"],"title":"Ingest Log","type":"object","x-stoplight":{"id":"9du4yc03ok29w"}},"PinImageInput":{"additionalProperties":false,"properties":{"value":{"description":"Raw JSON value stored in the dbops_drone_image_version_override account setting","nullable":true,"type":"string","x-go-type":"json.RawMessage","x-go-type-skip-optional-pointer":true}},"required":["value"],"type":"object"},"PipelineExecutionMetadata":{"description":"Pipeline execution details","properties":{"pipeline":{"type":"string","x-stoplight":{"id":"m0brmgpaary62"}},"planExecutionId":{"type":"string","x-stoplight":{"id":"g9v8rf388hk5i"}},"stageExecutionId":{"type":"string","x-stoplight":{"id":"apfaqclu5g6cd"}}},"required":["pipeline","planExecutionId","stageExecutionId"],"title":"PipelineExecutionMetadata","type":"object","x-stoplight":{"id":"kseu1nigtorbn"}},"PipelineStatusOutput":{"description":"Response body for Pipeline execution status","properties":{"metadata":{"additionalProperties":{"type":"string","x-stoplight":{"id":"2i73nst31myn0"}},"description":"meta data of the api","type":"object","x-stoplight":{"id":"cxoes7axeir9k"}},"response":{"description":"response message for the pipeline stage api","type":"string","x-stoplight":{"id":"494611cyszcwg"}},"status":{"description":"status of the pipeline","type":"string","x-stoplight":{"id":"6bbkskvv8gjmj"}}},"required":["status","response","metadata"],"title":"PipelineStatusOutput","type":"object","x-stoplight":{"id":"e0nqtodc72o27"}},"PluginCapabilityOutput":{"description":"Plugin capability check result","properties":{"supportsConsolidated":{"default":false,"description":"Whether all plugin images support consolidated execution","type":"boolean"}},"required":["supportsConsolidated"],"title":"PluginCapabilityOutput","type":"object"},"RecommendedConnectorResponseBody":{"properties":{"connectorRef":{"description":"Auto-detected K8s cluster connector, absent when auto-detection\ncouldn't resolve one — not an error; the caller should fall back\nto asking the user to select/create a connector.\n","type":"string"}},"type":"object"},"SchemaInstanceMetadataInput":{"description":"Input for getting schema-instance metadata","properties":{"dbInstance":{"type":"string","x-stoplight":{"id":"71zvtnqo1i9p7"}},"dbSchema":{"type":"string","x-stoplight":{"id":"58poqah29d3tq"}},"org":{"type":"string","x-stoplight":{"id":"d6jpmjxz5epw1"}},"project":{"type":"string","x-stoplight":{"id":"edvf3j0f87khx"}}},"required":["dbSchema","dbInstance","org","project"],"title":"SchemaInstanceMetadataInput","type":"object","x-stoplight":{"id":"l3zdbihh7akfq"}},"SchemaInstanceMetadataOutput":{"description":"output of schema-instance metadata ","properties":{"dbImages":{"type":"object","x-stoplight":{"id":"prp7tzdbfqod7"}},"dbInstance":{"$ref":"#/components/schemas/DBInstanceOut"},"dbSchema":{"$ref":"#/components/schemas/DBSchemaOut"},"defaultConfigs":{"additionalProperties":{"type":"string","x-stoplight":{"id":"dyfm1p5xnen3h"}},"type":"object","x-stoplight":{"id":"kcc25crqizy3m"}},"downloadImages":{"type":"object","x-stoplight":{"id":"72rtyf1kqsuo2"}},"image":{"type":"string","x-stoplight":{"id":"ko9cub3l40axh"}}},"required":["dbSchema","dbInstance","image","dbImages","downloadImages","defaultConfigs"],"title":"SchemaInstanceMetadataOutput","type":"object","x-stoplight":{"id":"rnlwlr8fwopid"}},"SnapshotObjectNamesOutput":{"description":"Response containing list of object names from snapshot metadata","properties":{"data":{"description":"List of object names for the given snapshot and object type","items":{"description":"Name of a database object","type":"string","x-stoplight":{"id":"2h3i4j5k6l7m8"}},"type":"array","x-stoplight":{"id":"5b6c7d8e9f0g1"}}},"required":["data"],"title":"SnapshotObjectNamesOutput","type":"object","x-stoplight":{"id":"9a5l2m8n3o4p9"}},"SnapshotObjectValue":{"description":"Object value from snapshot metadata","properties":{"objectName":{"description":"Name of the database object","type":"string"},"objectValue":{"description":"Value of the database object","type":"string"}},"required":["objectName","objectValue"],"title":"SnapshotObjectValue","type":"object","x-stoplight":{"id":"9a5l2m8n3o4p11"}},"SnapshotObjectValuesInput":{"description":"Request containing object type and list of object names","properties":{"objectNames":{"description":"List of object names to retrieve values for","items":{"description":"Name of a database object","type":"string"},"type":"array"},"objectType":{"description":"Type of database object (e.g., Table, etc)","type":"string"}},"required":["objectType","objectNames"],"title":"SnapshotObjectValuesInput","type":"object","x-stoplight":{"id":"9a5l2m8n3o4p10"}},"SnapshotObjectValuesOutput":{"description":"Response containing list of object values from snapshot metadata","properties":{"data":{"description":"List of object values for the given snapshot and object type","items":{"$ref":"#/components/schemas/SnapshotObjectValue"},"type":"array","x-stoplight":{"id":"5b6c7d8e9f0g2"}}},"required":["data"],"title":"SnapshotObjectValuesOutput","type":"object","x-stoplight":{"id":"9a5l2m8n3o4p12"}},"SortInstance":{"default":"identifier","description":"sort for instance entity","enum":["name","updated","created","identifier"],"title":"SortInstance","type":"string","x-stoplight":{"id":"zhl6a0ksg19p2"}}},"securitySchemes":{"Authorization":{"scheme":"bearer","type":"http"},"x-api-key":{"in":"header","name":"API Key","type":"apiKey"}}},"info":{"contact":{"email":"contact@harness.io"},"description":"This is the Open Api Spec 3 for the DB Service","title":"Harness NextGen Software Delivery Platform API Reference","version":"1.0"},"openapi":"3.0.0","paths":{"/v1/dbops/command-parameters/supported-commands":{"get":{"description":"Returns, per command parameter (e.g. label-filter), the set of commands that support it","operationId":"GetV1CommandParametersSupportedCommands","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"responses":{"200":{"$ref":"#/components/responses/CommandParametersSupportedCommandsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"GetCommandParametersSupportedCommands","tags":["Pipeline Step"],"x-internal":true}},"/v1/dbops/custom-operations":{"post":{"description":"Get custom operations result for db step execution","operationId":"GetV1CustomOperations","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/CustomOperationRequest"},"responses":{"200":{"$ref":"#/components/responses/CustomOperationResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"CustomOperations","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"g6ot57l3510l2"}}},"/v1/dbops/db-metadata/{snapshotId}":{"parameters":[{"description":"Unique id for the snapshot of the DB","in":"path","name":"snapshotId","required":true,"schema":{"type":"string"}}],"post":{"description":"Sending DB snapshot metadata from plugin to capture current state","operationId":"PostV1DbopsDbSnapshotMetadata","parameters":[{"$ref":"#/components/parameters/AccountHeader"},{"$ref":"#/components/parameters/HarnessCommand"},{"$ref":"#/components/parameters/PipelineExecutionId"},{"$ref":"#/components/parameters/StageExecutionId"},{"$ref":"#/components/parameters/PipelineIdentifierQuery"},{"$ref":"#/components/parameters/DbInstanceQuery"},{"$ref":"#/components/parameters/DbSchemaQuery"},{"description":"Harness parentUnique Id for schema","in":"query","name":"parentId","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/DBSnapshotMetadataCreateRequest"},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"DB Snapshot Metadata","x-internal":true,"x-stoplight":{"id":"c2yycemld5wz8"}}},"/v1/dbops/dbschema":{"delete":{"description":"Delete schemas for a parentId with support for org/project as well","operationId":"V1DeleteDbSchema","parameters":[{"$ref":"#/components/parameters/OrgIdentifierRequired"},{"$ref":"#/components/parameters/ProjectIdentifierRequired"},{"$ref":"#/components/parameters/ParentIdRequired"}],"responses":{"204":{"description":"The database schemas were deleted successfully"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Delete schemas for a scope","x-internal":true,"x-stoplight":{"id":"rb3r54cs0ewdx"}},"get":{"description":"List database schemas for an account","operationId":"V1ListDatabaseSchema","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/OrgIdentifier"},{"$ref":"#/components/parameters/ProjectIdentifier"}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DBSchemaOut"},"type":"array"}}},"description":"Response","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"List Database Schemas for an Account across Projects with optional Project filtering","tags":["Database Schema"],"x-internal":true,"x-stoplight":{"id":"77w2pvpfs9rvl"}},"parameters":[{"description":"Identifier field of the account the resource is scoped to","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}}]},"/v1/dbops/execution-config":{"delete":{"description":"Delete the Execution config overrides for the customer","operationId":"V1DeleteExecutionConfig","responses":{"200":{"$ref":"#/components/responses/ExecutionConfigSuccessResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Delete Execution config for DBOps","tags":["Execution Config"],"x-stoplight":{"id":"b4ixsyl78f1dh"}},"parameters":[{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/dbops/execution-config/get-customer-config":{"get":{"operationId":"V1GetCustomerConfig","parameters":[{"description":"Returns the non-default images if true","in":"query","name":"overridesOnly","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"$ref":"#/components/responses/ExecutionConfigTagsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Customer Execution Config overrides","tags":["Execution Config"],"x-stoplight":{"id":"xyt06xiwwna97"}},"parameters":[{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/dbops/execution-config/get-default-config":{"get":{"description":"Get list of the latest Harness Dbops images and tags","operationId":"V1GetDefaultConfig","responses":{"200":{"$ref":"#/components/responses/ExecutionConfigTagsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Default Execution Config","tags":["Execution Config"],"x-stoplight":{"id":"wiaw98nfdi0rv"}},"parameters":[{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/dbops/execution-config/pin-image":{"parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Parses, validates, and applies the raw dbops_drone_image_version_override setting value.","operationId":"V1PinImage","requestBody":{"$ref":"#/components/requestBodies/PinImageRequest"},"responses":{"200":{"$ref":"#/components/responses/ExecutionConfigSuccessResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Pin DB DevOps image versions from the account setting","tags":["Execution Config"],"x-internal":true}},"/v1/dbops/execution-config/reset-config":{"parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"To reset one or more images to their defaults with a list of the images to reset.","operationId":"V1ResetExecutionConfig","requestBody":{"content":{"application/json":{"examples":{"Example 1":{"value":["gitCloneTag"]}},"schema":{"items":{"example":"gitCloneTag","type":"string","x-stoplight":{"id":"3kixxbyjo4ybt"}},"type":"array"}}},"description":"List of Image tags which need to be reset to default"},"responses":{"201":{"$ref":"#/components/responses/ExecutionConfigSuccessResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Reset execution Config for DBOPs image tags","tags":["Execution Config"],"x-internal":false,"x-stoplight":{"id":"fvtunok2awllt"}}},"/v1/dbops/execution-config/update-config":{"parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Override execution Config for DBOPs image tags","operationId":"V1UpdateExecutionConfig","requestBody":{"$ref":"#/components/requestBodies/ExecutionConfigUpdateRequest"},"responses":{"201":{"$ref":"#/components/responses/ExecutionConfigSuccessResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Override execution Config for DBOPs image tags","tags":["Execution Config"],"x-internal":false,"x-stoplight":{"id":"n6q91b59w1kld"}}},"/v1/dbops/failure-interrupt":{"post":{"description":"Consume Failure interrupt","operationId":"ConsumeFailureInterrupt","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/FailureInterruptRequest"},"responses":{"204":{"description":"The interrupt was acknowledged"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Consume Failure Interrupt","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"g9ot3sb27d74y"}}},"/v1/dbops/flyway/custom-operations":{"post":{"description":"Get custom operations result for db step execution","operationId":"GetV1FlywayCustomOperations","parameters":[{"$ref":"#/components/parameters/AccountHeader"},{"$ref":"#/components/parameters/ParentId"}],"requestBody":{"$ref":"#/components/requestBodies/FlywayCustomOperationRequest"},"responses":{"200":{"$ref":"#/components/responses/FlywayCustomOperationResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"FlywayCustomOperations","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"1dt4cngjnbthx"}}},"/v1/dbops/flyway/failure-interrupt":{"post":{"description":"Consume Flyway Failure interrupt","operationId":"ConsumeFlywayFailureInterrupt","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/FlywayFailureInterruptRequest"},"responses":{"204":{"description":"The interrupt was acknowledged"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Consume Flyway Failure Interrupt","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"yk3aosa85az75"}}},"/v1/dbops/flyway/plugin-output-response":{"post":{"description":"Consume Flyway Plugin Output Response","operationId":"ConsumeV1FlywayStepPluginOutputResponse","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/ConsumeFlywayPluginOutputRespRequest"},"responses":{"204":{"description":"The plugin execution response was acknowledged"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Consume Flyway Plugin Output Response","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"9e2rswa9o99j4"}}},"/v1/dbops/metadata-snapshot/{snapshotId}":{"parameters":[{"description":"Unique id for the snapshot of the DB","in":"path","name":"snapshotId","required":true,"schema":{"type":"string"}}],"post":{"description":"Sending DB snapshot file from plugin to harness for capturing current state","operationId":"PostV1DbopsMetadataSnapshot","parameters":[{"$ref":"#/components/parameters/AccountHeader"},{"$ref":"#/components/parameters/HarnessCommand"},{"$ref":"#/components/parameters/PipelineExecutionId"},{"$ref":"#/components/parameters/StageExecutionId"},{"$ref":"#/components/parameters/PipelineIdentifierQuery"},{"$ref":"#/components/parameters/DbInstanceQuery"},{"$ref":"#/components/parameters/DbSchemaQuery"},{"description":"Sha256 of the content to validate on server if provided (hex-encoded)","in":"header","name":"X-Checksum-Sha256","schema":{"type":"string"}},{"description":"Harness parentUnique Id for schema","in":"query","name":"parentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}}},"responses":{"201":{"description":"Created"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"DB Metadata Snapshot File Upload","x-stoplight":{"id":"4z31m65fr39pk"}}},"/v1/dbops/plugin-capability":{"get":{"description":"Check plugin capability for consolidated execution","operationId":"GetV1PluginCapability","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"responses":{"200":{"$ref":"#/components/responses/PluginCapabilityResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"GetPluginCapability","tags":["Pipeline Step"],"x-internal":true}},"/v1/dbops/plugin-output-response":{"post":{"description":"Consume Plugin Output Response","operationId":"ConsumeV1StepPluginOutputResponse","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/ConsumePluginOutputRespRequest"},"responses":{"204":{"description":"The plugin execution response was acknowledged"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Consume Plugin Output Response","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"lxwgz5cmo4muu"}}},"/v1/dbops/schema-instance-metadata":{"post":{"description":"Get schema-instance metadata and images for db step execution","operationId":"GetV1SchemaInstanceMetadata","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/SchemaInstanceMetadataRequest"},"responses":{"200":{"$ref":"#/components/responses/SchemaInstanceMetadataResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"GetSchemaInstanceMetadata","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"2z96q9wolvfw1"}}},"/v1/orgs/{org}/projects/{project}/change-authoring-event":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Receives pipeline execution events from the UI when a user successfully executes a pipeline from the LLM Change Authoring chat interaction","operationId":"V1CreateChangeAuthoringEvent","requestBody":{"$ref":"#/components/requestBodies/ChangeAuthoringEventRequest"},"responses":{"201":{"$ref":"#/components/responses/ChangeAuthoringEventResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Create change authoring execution event","tags":["Change Authoring"],"x-internal":true}},"/v1/orgs/{org}/projects/{project}/dbinstancelist":{"parameters":[{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}],"post":{"description":"List database instances","operationId":"V2ListProjDbInstances","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Sort"}],"requestBody":{"$ref":"#/components/requestBodies/DBInstanceListRequest"},"responses":{"201":{"$ref":"#/components/responses/DBInstanceListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"List database instances","x-stoplight":{"id":"fg6az7gntxywm"}}},"/v1/orgs/{org}/projects/{project}/dbschema":{"get":{"description":"List database Schemas","operationId":"V1ListProjDbSchema","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/MigrationTypeParam"}],"responses":{"200":{"$ref":"#/components/responses/DBSchemaListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"List database schemas","tags":["Database Schema"],"x-internal":false,"x-stoplight":{"id":"nhhnhieu7jo8u"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Create a database schema","operationId":"V1CreateProjDbSchema","requestBody":{"$ref":"#/components/requestBodies/DBSchemaCreateRequest"},"responses":{"201":{"$ref":"#/components/responses/DBSchemaResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Create a database schema","tags":["Database Schema"],"x-stoplight":{"id":"1ip5gikvmqezd"}}},"/v1/orgs/{org}/projects/{project}/dbschema/overview":{"get":{"description":"retrieves total dbSchemas, dbInstances and the latest 5 instances deployed","operationId":"V1GetDbOverview","responses":{"200":{"$ref":"#/components/responses/OverviewResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get overview","tags":["Overview"],"x-stoplight":{"id":"9r5etj2feldxk"}},"parameters":[{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}":{"delete":{"description":"Delete a database schema","operationId":"V1DeleteProjDbSchema","responses":{"204":{"description":"The database schema was deleted successfully"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Delete a database schema","tags":["Database Schema"],"x-stoplight":{"id":"ek4jolzg7diy6"}},"get":{"description":"Retrieves the specified database schema","operationId":"V1GetProjDbSchema","responses":{"200":{"$ref":"#/components/responses/DBSchemaResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get a database schema","tags":["Database Schema"],"x-stoplight":{"id":"78fzlqtzyti7q"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/AccountHeader"}],"put":{"description":"Update a database schema","operationId":"V1UpdateProjDbSchema","requestBody":{"$ref":"#/components/requestBodies/DBSchemaUpdateRequest"},"responses":{"200":{"$ref":"#/components/responses/DBSchemaResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Update a database schema","tags":["Database Schema"],"x-stoplight":{"id":"ngsm9f0c6fvq5"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/changesets/existence":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Returns a map of Liquibase changeset ids to whether each id is already\nknown for the schema in the Harness changeset catalog. Matching is by\nchangeset id only; fileName and author are not considered.","operationId":"V1CheckChangesetExistence","requestBody":{"$ref":"#/components/requestBodies/ChangeSetExistenceRequest"},"responses":{"200":{"$ref":"#/components/responses/ChangeSetExistenceResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Check changeset existence for a schema","tags":["Change Authoring"],"x-internal":true}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/changeset/sql":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Fetch SQL changesets","operationId":"V1FetchDeployedChangesetSql","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"}],"requestBody":{"$ref":"#/components/requestBodies/FetchSQLStatementRequest"},"responses":{"200":{"$ref":"#/components/responses/FetchSQLStatementResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Fetch SQL changesets of a instance","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"odqwzclbjkd20"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/changeset/yaml":{"get":{"operationId":"V1ChangesetYamlProjDbInstance","parameters":[{"$ref":"#/components/parameters/ChangeSetParam"}],"responses":{"200":{"$ref":"#/components/responses/ChangeSetDeploymentYamlResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"ChangeSet deployment yaml for an instance","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"inxq15g516opv"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/changesetmetadata":{"get":{"operationId":"V1ChangesetmetadataProjDbInstance","parameters":[{"$ref":"#/components/parameters/HarnessCommand"},{"$ref":"#/components/parameters/PipelineExecutionId"},{"$ref":"#/components/parameters/StageExecutionId"},{"$ref":"#/components/parameters/ChangesetMetadataContentType"},{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/ChangeSetMetadataResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"get changeset metadata","tags":["Changeset metadata"],"x-internal":false,"x-stoplight":{"id":"9xtk8g9u4oucl"}},"parameters":[{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/flyway/migrationstate":{"get":{"description":"Flyway Migration state of an instance","operationId":"V1MigrationStateFlywayInstance","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"}],"responses":{"200":{"$ref":"#/components/responses/FlywayInstanceMigrationStateResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Flyway Migration state of an instance","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"vhpokud3f3azk"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/migration/scripts":{"get":{"operationId":"V1FetchMigrationScriptSql","parameters":[{"$ref":"#/components/parameters/FlywayVersion"},{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"description":"pipeline execution Id of the pipeline execution","in":"query","name":"pipelineExecutionId","schema":{"type":"string"}},{"description":"stage execution id of the pipeline execution","in":"query","name":"stageExecutionId","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/FlywayScriptOutputResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Fetch flyway migration script SQL","tags":["flyway"],"x-internal":false,"x-stoplight":{"id":"3zkmmq5fe2mcs"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/migrationstate":{"get":{"description":"Migration state of a instance","operationId":"V1MigrationStateProjDbInstance","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"}],"responses":{"200":{"$ref":"#/components/responses/InstanceMigrationStateResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Migration state of a instance","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"3lep3gv4fv11g"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/snapshot-object-names":{"get":{"description":"Retrieves a paginated list of object names for the latest database snapshot of the given instance based on object type","operationId":"V1GetSnapshotObjectNames","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"description":"Type of database object (e.g., Table, etc)","in":"query","name":"objectType","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/SnapshotObjectNamesResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get object names from DB snapshot metadata","tags":["Database Snapshot"],"x-internal":false,"x-stoplight":{"id":"8z4k9mpl2p5q8"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/dbinstance/{dbinstance}/snapshot-object-values":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Retrieves object values for a list of object names from the latest database snapshot of the given instance based on object type","operationId":"V1GetSnapshotObjectValues","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotObjectValuesInput"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/SnapshotObjectValuesResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get object values from DB snapshot metadata","tags":["Database Snapshot"],"x-internal":false}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/default-authoring-instance":{"get":{"description":"Returns the best instance for LLM change authoring. Selects the oldest instance with a metadata snapshot; falls back to the oldest instance overall if none have a snapshot.","operationId":"V1GetDefaultAuthoringInstance","responses":{"200":{"$ref":"#/components/responses/DefaultAuthoringInstanceResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get default authoring instance","tags":["Database Instance"],"x-internal":true,"x-stoplight":{"id":"default-authoring-instance"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/flyway/migrationstate":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Migration state of a flyway schema","operationId":"V1MigrationStateFlywaySchema","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"}],"requestBody":{"$ref":"#/components/requestBodies/MigrationStateGetRequest"},"responses":{"200":{"$ref":"#/components/responses/FlywayMigrationStateResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Migration state of a flyway schema","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"djk22s85u9rj4"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Create a database instance","operationId":"V1CreateProjDbSchemaInstance","requestBody":{"$ref":"#/components/requestBodies/DBInstanceCreateRequest"},"responses":{"201":{"$ref":"#/components/responses/DBInstanceResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Create a database instance","tags":["Database Instance"],"x-stoplight":{"id":"ooxjel6o3ya8y"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}":{"delete":{"description":"Delete a database instance","operationId":"V1DeleteProjDbSchemaInstance","responses":{"204":{"description":"The database instance was deleted successfully"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Delete a database instance","tags":["Database Instance"],"x-stoplight":{"id":"hx4uvpfwg2w2c"}},"get":{"description":"Retrieves the specified database instance","operationId":"V1GetProjDbSchemaInstance","responses":{"200":{"$ref":"#/components/responses/DBInstanceResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get a database instance","tags":["Database Instance"],"x-stoplight":{"id":"tcua2vmx132hm"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}],"put":{"description":"Update a database instance","operationId":"V1UpdateProjDbSchemaInstance","requestBody":{"$ref":"#/components/requestBodies/DBInstanceUpdateRequest"},"responses":{"200":{"$ref":"#/components/responses/DBInstanceResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Update a database instance","tags":["Database Schema"],"x-stoplight":{"id":"e17endbbc7uha"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}/deployedState":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}],"post":{"description":"Status of changeset deployment as part of execution with comparison to earlier state.","operationId":"V1GetDeployedState","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployedStateInput"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DeployedStateOutput"},"type":"array"}}},"description":"Response","headers":{"X-Page-Number":{"description":"Page number in Paginated response.","schema":{"type":"integer"}},"X-Page-Size":{"description":"Maximum page size in Paginated response.","schema":{"type":"integer"}},"X-Total-Elements":{"description":"Total number of elements returned in Paginated response.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Deployed State","tags":["Deployed State"],"x-stoplight":{"id":"5rj6sci8d41op"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}/flyway/deployedState":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Status of migration script deployment as part of execution with comparison to earlier state.","operationId":"V1GetFlywayDeployedState","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployedStateInput"}}},"description":"Request to show script in current deployment"},"responses":{"200":{"$ref":"#/components/responses/FlywayDeployedStateResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Flyway Deployed State","tags":["flyway"],"x-stoplight":{"id":"3cxmpehd7r5lf"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}/logs":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Ingest database migration logs to update the state of the database","operationId":"V1IngestLogs","requestBody":{"$ref":"#/components/requestBodies/LogIngestRequest"},"responses":{"201":{"$ref":"#/components/responses/ParsedLogResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Ingest database migration logs","tags":["Log Ingest"],"x-internal":true,"x-stoplight":{"id":"9yvaeanjtbxhy"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}/logs/{log}":{"get":{"description":"Retrieves the specified log event","operationId":"V1GetDbinstanceLog","responses":{"200":{"$ref":"#/components/responses/ParsedLogResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"tags":["Log Ingest"],"x-stoplight":{"id":"9o2dqka7km06p"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/LogParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instance/{dbinstance}/tag-value":{"get":{"description":"Resolves a single tag on the instance by key. Returns whether the tag is present\nand its raw stored value (empty string for a bare, valueless key).","operationId":"V1GetProjDbSchemaInstanceTagValue","parameters":[{"description":"Tag key to resolve.","in":"query","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/DBInstanceTagValueResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Resolve the value of a tag (by key) on an instance","tags":["Database Instance"]},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/DBSchemaParam"},{"$ref":"#/components/parameters/DBInstanceParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/instancelist":{"parameters":[{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Identifier of the database schema","in":"path","name":"dbschema","required":true,"schema":{"maxLength":128,"type":"string"}},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}],"post":{"description":"Retrieves the specified database instances of the database schema","operationId":"V1ListProjDbSchemaInstance","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/InstanceListLimit"},{"$ref":"#/components/parameters/SearchTerm"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Order"}],"requestBody":{"$ref":"#/components/requestBodies/DBInstanceFilterRequest"},"responses":{"200":{"$ref":"#/components/responses/DBInstanceListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"List database instances","tags":["Database Instance"],"x-stoplight":{"id":"uwxyv5tgwu2w9"}}},"/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/migrationstate":{"parameters":[{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Identifier of the database schema","in":"path","name":"dbschema","required":true,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}],"post":{"description":"Migration state of a schema","operationId":"V1MigrationStateProjDbSchema","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"}],"requestBody":{"$ref":"#/components/requestBodies/MigrationStateGetRequest"},"responses":{"200":{"$ref":"#/components/responses/MigrationStateResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Migration state of a schema","tags":["Migration State"],"x-internal":false,"x-stoplight":{"id":"esgkki234aa1u"}}},"/v1/orgs/{org}/projects/{project}/dbschemalist":{"parameters":[{"description":"Organization identifier","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Project identifier","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"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.","in":"header","name":"Harness-Account","schema":{"type":"string"}}],"post":{"description":"List database schemas","operationId":"V2ListProjDbSchema","parameters":[{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/SearchTerm"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Sort"}],"requestBody":{"$ref":"#/components/requestBodies/DBSchemaFilterRequest"},"responses":{"201":{"$ref":"#/components/responses/DBSchemaListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"List database schemas","x-stoplight":{"id":"6zjabgo8o3ml1"}}},"/v1/orgs/{org}/projects/{project}/default-llm-pipeline":{"get":{"description":"Api to get the default llm pipeline yaml","operationId":"V1DefaultLlmPipeline","parameters":[{"$ref":"#/components/parameters/DbSchemaQuery"},{"$ref":"#/components/parameters/DbInstanceQuery"}],"responses":{"200":{"$ref":"#/components/responses/PipelineStatusResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Default LLM Pipeline","tags":["Default Pipeline"],"x-internal":true,"x-stoplight":{"id":"jdxhlzu5y7pxn"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/llm-authoring/execute-pipeline":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Triggers a pipeline-service dynamic execution for the LLM change-authoring\nchat experience and persists a billable ChangeAuthoringExecutionEvent in\none transactional unit. Provide exactly one of `pipelineIdentifier` (custom\nbranch) or `useDefaultPipeline` (default-pipeline branch — server performs\nget-or-create). See the LlmAuthoringExecutionService interface doc for the\nfull idempotency contract.","operationId":"V1ExecuteLlmAuthoringPipeline","requestBody":{"$ref":"#/components/requestBodies/ExecuteLlmAuthoringPipelineRequest"},"responses":{"200":{"$ref":"#/components/responses/ExecuteLlmAuthoringPipelineResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"},"503":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Execute an LLM-authoring validate-and-preview pipeline","tags":["Change Authoring"],"x-internal":true}},"/v1/orgs/{org}/projects/{project}/onboarding-wizard/execute":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Persists a named DBSchemaApply/DBSchemaRollback pipeline for the\ncustomer's project, then triggers its first execution (the apply\nbranch) against the changelog already committed by a prior call to\nv1-initialize-onboarding-wizard-changelog. Server renders and\nexecutes both; the caller supplies scope and schema/instance.\nconnectorRef is required; the caller must confirm it with the user\nbefore submitting — e.g. by pre-filling it from\nv1-get-onboarding-wizard-recommended-connector and having the user\naccept/change it in the picker.","operationId":"V1ExecuteOnboardingWizardPipeline","requestBody":{"$ref":"#/components/requestBodies/ExecuteOnboardingWizardPipelineRequest"},"responses":{"200":{"$ref":"#/components/responses/ExecuteOnboardingWizardPipelineResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"409":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"},"503":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Create and run the onboarding wizard's DBSchemaApply/Rollback pipeline","tags":["Onboarding Wizard"],"x-internal":true}},"/v1/orgs/{org}/projects/{project}/onboarding-wizard/initialize-changelog":{"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}],"post":{"description":"Triggers a pipeline-service dynamic execution, against a shared\nunsaved default pipeline, that generates the schema's initial\nchangelog and commits it directly to the instance's configured\nbranch (no PR/review gate in v1 — a best-attempt push; branch\nprotection or other rejections simply fail the execution). Does not\npersist anything named to the customer's project; poll the returned\nexecutionId via v1-get-pipeline-execution-status.","operationId":"V1InitializeOnboardingWizardChangelog","requestBody":{"$ref":"#/components/requestBodies/InitializeOnboardingWizardChangelogRequest"},"responses":{"200":{"$ref":"#/components/responses/InitializeOnboardingWizardChangelogResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"},"503":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Seed the onboarding wizard's initial changelog into Git","tags":["Onboarding Wizard"],"x-internal":true}},"/v1/orgs/{org}/projects/{project}/onboarding-wizard/recommended-connector":{"get":{"description":"Read-only lookup: this is the only place K8s-connector auto-detection\nruns. v1-initialize-onboarding-wizard-changelog and\nv1-execute-onboarding-wizard-pipeline require connectorRef and do not\ndetect one themselves. This endpoint has no side effects, so a caller\n(e.g. the wizard UI) can pre-fill a connector picker's default before\nsubmitting either of those calls. connectorRef is absent in the\nresponse when nothing could be detected — that is not an error; the\ncaller falls back to asking the user to select/create a connector.\nDetection is not guaranteed stable across calls, so the caller should\npass the connectorRef returned here straight through on the\nsubsequent Initialize/Execute call rather than calling this endpoint\nagain right before submitting.","operationId":"V1GetOnboardingWizardRecommendedConnector","parameters":[{"description":"Identifier of the database schema","in":"query","name":"schemaId","required":true,"schema":{"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"}},{"description":"Identifier of the database instance","in":"query","name":"instanceId","required":true,"schema":{"pattern":"^[a-zA-Z_][0-9a-zA-Z_$]{0,127}$","type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/RecommendedConnectorResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"},"503":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Recommend a K8s connector for the onboarding wizard's picker","tags":["Onboarding Wizard"],"x-internal":true},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/orgs/{org}/projects/{project}/pipeline/{pipelineIdentifier}/status":{"get":{"description":"Api to get the pipeline execution status","operationId":"V1GetPipelineExecutionStatus","parameters":[{"$ref":"#/components/parameters/PipelineExecutionId"},{"$ref":"#/components/parameters/StageNodeId"}],"responses":{"200":{"$ref":"#/components/responses/PipelineStatusResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get pipeline status","tags":["Pipeline Step"],"x-internal":false,"x-stoplight":{"id":"u5neb2hw2so4o"}},"parameters":[{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/PipelineIdentifier"},{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/step/flyway/migrationscripts":{"get":{"operationId":"V1StepFlywayMigrationScripts","parameters":[{"$ref":"#/components/parameters/PipelineExecutionId"},{"$ref":"#/components/parameters/StageExecutionId"},{"$ref":"#/components/parameters/PageIndex"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/ParentId"},{"$ref":"#/components/parameters/DbSchemaQuery"},{"$ref":"#/components/parameters/DbInstanceQuery"},{"description":"Harness Flyway command","in":"query","name":"command","required":true,"schema":{"enum":["Undo","Migrate"],"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/FlywayMigrationScriptResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"get flyway migration scripts","tags":["Changeset metadata"],"x-internal":false,"x-stoplight":{"id":"6egw8y19cxi6o"}},"parameters":[{"$ref":"#/components/parameters/AccountHeader"}]},"/v1/step/flyway/plugin-inputs":{"post":{"description":"Create Flyway Plugin Inputs using Step Inputs","operationId":"CreateV1FlywayPluginInputs","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/FlywayPluginInputsRequest"},"responses":{"200":{"$ref":"#/components/responses/FlywayPluginInputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"CreateFlywayPluginInputs","tags":["Pipeline Step"],"x-internal":true,"x-stoplight":{"id":"93b2ajbsum9g0"}}},"/v1/step/plugin-inputs":{"post":{"description":"Create Plugin Inputs using Step Inputs","operationId":"CreateV1StepPluginInputs","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/PluginStepInputsRequest"},"responses":{"200":{"$ref":"#/components/responses/PluginInputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"CreatePluginInputs","tags":["Pipeline Step"],"x-internal":true}},"/v1/step/plugin-response":{"post":{"description":"Consume Plugin Execution Response","operationId":"ConsumeV1StepPluginResponse","parameters":[{"$ref":"#/components/parameters/AccountHeader"}],"requestBody":{"$ref":"#/components/requestBodies/ConsumePluginRespRequest"},"responses":{"204":{"description":"The plugin execution response was acknowledged"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"ConsumePluginResponse","tags":["Pipeline Step"],"x-internal":true}}},"tags":[{"description":"This contains APIs for performing CRUD operations on Database Schema Entity","name":"Database Schema","x-displayName":"Database Schema"},{"description":"This contains APIs for getting Migration State of Database Schema Entity","name":"Migration State","x-displayName":"Migration State"},{"description":"This contains APIs for performing CRUD operations on Database Instance Entity","name":"Database Instance","x-displayName":"Database Instance"},{"description":"This contains APIs for managing database snapshots and snapshot metadata","name":"Database Snapshot","x-displayName":"Database Snapshot"},{"description":"This contains APIs for creating and retrieving database migration log information","name":"Log Ingest","x-displayName":"Log Ingest"},{"description":"This contains APIs for Pipeline Plugin Inputs","name":"Pipeline Step","x-displayName":"Pipeline Step"},{"description":"This contains APIs for tracking changeSet deployment status","name":"Deployed State","x-displayName":"Deployed State"},{"description":"This contains APIs for execution config for image tags","name":"Execution Config","x-displayName":"Execution Config"}],"x-stoplight":{"id":"gylze1ecaaksn"}}
