Release Pipelines endpoints
Put environments in order, with the databases each stage runs on. Paths are relative to the address of your Simcha DB Studio server.
Through the MCP server these endpoints are the Release Pipelines tool group, off until an admin turns it on.
While this group is on, the MCP server also offers the lookups its tools need: environments_list (List environments, from Environments and Groupings), groupings_list (List groupings, from Environments and Groupings), connections_devops_list (List DB DevOps connections, from Connections), connections_devops_by_environment (List the DB DevOps connections in an environment, from Connections).
| Method | Path | What it does |
|---|---|---|
| GET | /api/db-devops/release-pipelines | List release pipelines |
| GET | /api/db-devops/release-pipelines/:id | Get a release pipeline |
| GET | /api/db-devops/release-pipelines/:id/board | Show the releases on a pipeline |
| POST | /api/db-devops/release-pipelines | Create a release pipeline |
| PUT | /api/db-devops/release-pipelines/:id | Change a release pipeline |
| DELETE | /api/db-devops/release-pipelines/:id | Delete a release pipeline |
GET /api/db-devops/release-pipelines
Lists the release pipelines the caller can see with their stages. Each has a problem that says why its stages no longer pass the checks, or null.
Reads only · Role: Any signed-in user · MCP tool: pipelines_list
No inputs.
GET /api/db-devops/release-pipelines/:id
Returns one release pipeline with its stages, their databases and settings, and a problem that says why its stages no longer pass the checks, or null.
Reads only · Role: Any signed-in user · MCP tool: pipelines_get
| Input | Type | Description |
|---|---|---|
id (path) | string (uuid), required | The pipeline ID |
GET /api/db-devops/release-pipelines/:id/board
Shows the releases that follow a pipeline in columns: pending sign-off, not promoted yet, and one per stage they reached, each with its next stage and that stage state.
Reads only · Role: Any signed-in user · MCP tool: pipelines_board
| Input | Type | Description |
|---|---|---|
id (path) | string (uuid), required | The pipeline ID |
POST /api/db-devops/release-pipelines
Creates a release pipeline. Every stage environment, grouping and database is checked, and the name must not be in use.
Changes data · Role: Release manager or admin · MCP tool: pipelines_create
| Input | Type | Description |
|---|---|---|
name (body) | string, required | The pipeline name, up to 100 characters. Names are unique |
description (body) | string or null, optional | What the pipeline is for, up to 2000 characters. Send null to clear it |
stages (body) | list of object, required | The stages in run order, 1 to 20. Every database of every stage must be the same kind of engine |
stages[].environment (body) | string, required | The name of the stage environment. Each environment can be one stage, and an environment that runs only after another needs that one as an earlier stage |
stages[].targetKind (body) | one of grouping, connections, required | Where the stage runs: the databases a grouping assigned to the stage environment holds, or the databases listed in targets |
stages[].grouping (body) | string, optional | For grouping: the grouping name. It must be assigned to the stage environment and hold connections |
stages[].targets (body) | list of object, optional | For connections: 1 to 500 databases, each listed once |
stages[].targets[].connectionId (body) | string (uuid), required | The connection ID. The database must be in the stage environment through a grouping assigned to it |
stages[].targets[].database (body) | string, optional | The database on the connection. Leave it out for the connection default |
stages[].requiresApproval (body) | boolean, optional | true when the stage runs only after an approved release request for its environment, which is requested when the stage before it completes. Defaults to false |
stages[].autoPromote (body) | boolean, optional | true to start the stage on its own once it is ready. Defaults to false |
stages[].soakMinutes (body) | integer, 0 to 10080, optional | Minutes to wait after the previous stage completes before this one can start, up to 10080 (7 days). Defaults to 0 |
stages[].parallel (body) | integer, 1 to 10, optional | How many databases of the stage run at the same time. Defaults to 1 |
stages[].onFailure (body) | one of stop, continue, optional | When a database fails: stop (the rest are not run) or continue. Defaults to stop |
PUT /api/db-devops/release-pipelines/:id
Changes the fields sent; stages sent replace every stage and are checked again. Releases already signed off keep the stages they were signed off with.
Changes data · Role: Release manager or admin · MCP tool: pipelines_update
| Input | Type | Description |
|---|---|---|
id (path) | string (uuid), required | The pipeline ID |
name (body) | string, optional | The pipeline name, up to 100 characters. Names are unique |
description (body) | string or null, optional | What the pipeline is for, up to 2000 characters. Send null to clear it |
stages (body) | list of object, optional | The stages in run order, 1 to 20. Every database of every stage must be the same kind of engine |
stages[].environment (body) | string, required | The name of the stage environment. Each environment can be one stage, and an environment that runs only after another needs that one as an earlier stage |
stages[].targetKind (body) | one of grouping, connections, required | Where the stage runs: the databases a grouping assigned to the stage environment holds, or the databases listed in targets |
stages[].grouping (body) | string, optional | For grouping: the grouping name. It must be assigned to the stage environment and hold connections |
stages[].targets (body) | list of object, optional | For connections: 1 to 500 databases, each listed once |
stages[].targets[].connectionId (body) | string (uuid), required | The connection ID. The database must be in the stage environment through a grouping assigned to it |
stages[].targets[].database (body) | string, optional | The database on the connection. Leave it out for the connection default |
stages[].requiresApproval (body) | boolean, optional | true when the stage runs only after an approved release request for its environment, which is requested when the stage before it completes. Defaults to false |
stages[].autoPromote (body) | boolean, optional | true to start the stage on its own once it is ready. Defaults to false |
stages[].soakMinutes (body) | integer, 0 to 10080, optional | Minutes to wait after the previous stage completes before this one can start, up to 10080 (7 days). Defaults to 0 |
stages[].parallel (body) | integer, 1 to 10, optional | How many databases of the stage run at the same time. Defaults to 1 |
stages[].onFailure (body) | one of stop, continue, optional | When a database fails: stop (the rest are not run) or continue. Defaults to stop |
DELETE /api/db-devops/release-pipelines/:id
Deletes a release pipeline. Refused while any release follows it.
Changes data and can remove or overwrite it · Role: Release manager or admin · MCP tool: pipelines_delete
| Input | Type | Description |
|---|---|---|
id (path) | string (uuid), required | The pipeline ID |