List database Schemas
Response body for List Database Schema
Error Response body
Error Response body
Error Response body
[- {
- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "folder/changelog.yaml"
}, - "created": 0,
- "identifier": "string",
- "instanceCount": 0,
- "name": "string",
- "schemaSourceType": "Git",
- "service": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository",
- "updated": 0
}
]
Create a database schema
Response body for Database Schema
Error Response body
Error Response body
Error Response body
Error Response body
{- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "folder/changelog.yaml"
}, - "identifier": "string",
- "name": "string",
- "service": "harness_service",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository"
}
{- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "folder/changelog.yaml"
}, - "created": 0,
- "identifier": "string",
- "instanceCount": 0,
- "name": "string",
- "schemaSourceType": "Git",
- "service": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository",
- "updated": 0
}
Delete a database schema
The database schema was deleted successfully
Error Response body
Error Response body
Error Response body
Error Response body
{- "message": "string"
}
Retrieves the specified database schema
Response body for Database Schema
Error Response body
Error Response body
Error Response body
Error Response body
{- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "folder/changelog.yaml"
}, - "created": 0,
- "identifier": "string",
- "instanceCount": 0,
- "name": "string",
- "schemaSourceType": "Git",
- "service": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository",
- "updated": 0
}
Update a database schema
Database schema update request
Response body for Database Schema
Error Response body
Error Response body
Error Response body
Error Response body
{- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "string"
}, - "name": "string",
- "service": "harness_service",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository"
}
{- "changeLogScript": {
- "command": "curl -X -o changeLog.yaml https://www.filestore.com/changeLog.yaml",
- "image": "plugins/image:latest",
- "location": "folder/changelog.yaml",
- "shell": "Sh, Bash, <+pipeline.variables.shell>"
}, - "changelog": {
- "archivePath": "string",
- "connector": "harness_git",
- "location": "folder/changelog.yaml",
- "repo": "folder/changelog.yaml"
}, - "created": 0,
- "identifier": "string",
- "instanceCount": 0,
- "name": "string",
- "schemaSourceType": "Git",
- "service": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "type": "Repository",
- "updated": 0
}
Update a database instance
Database instance update request
Response body for Database Instance
Error Response body
Error Response body
Error Response body
Error Response body
{- "branch": "string",
- "connector": "string",
- "context": "string",
- "name": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
{- "branch": "string",
- "connector": "string",
- "context": "string",
- "created": 0,
- "identifier": "string",
- "lastAppliedTag": "string",
- "lastDeployedChangeSetTag": "string",
- "liquibaseSubstituteProperties": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "schemaId": "string",
- "schemaIdentifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "toOnboard": true,
- "updated": 0
}