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).

MethodPathWhat it does
GET/api/db-devops/release-pipelinesList release pipelines
GET/api/db-devops/release-pipelines/:idGet a release pipeline
GET/api/db-devops/release-pipelines/:id/boardShow the releases on a pipeline
POST/api/db-devops/release-pipelinesCreate a release pipeline
PUT/api/db-devops/release-pipelines/:idChange a release pipeline
DELETE/api/db-devops/release-pipelines/:idDelete 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

InputTypeDescription
id (path)string (uuid), requiredThe 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

InputTypeDescription
id (path)string (uuid), requiredThe 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

InputTypeDescription
name (body)string, requiredThe pipeline name, up to 100 characters. Names are unique
description (body)string or null, optionalWhat the pipeline is for, up to 2000 characters. Send null to clear it
stages (body)list of object, requiredThe stages in run order, 1 to 20. Every database of every stage must be the same kind of engine
stages[].environment (body)string, requiredThe 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, requiredWhere the stage runs: the databases a grouping assigned to the stage environment holds, or the databases listed in targets
stages[].grouping (body)string, optionalFor grouping: the grouping name. It must be assigned to the stage environment and hold connections
stages[].targets (body)list of object, optionalFor connections: 1 to 500 databases, each listed once
stages[].targets[].connectionId (body)string (uuid), requiredThe connection ID. The database must be in the stage environment through a grouping assigned to it
stages[].targets[].database (body)string, optionalThe database on the connection. Leave it out for the connection default
stages[].requiresApproval (body)boolean, optionaltrue 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, optionaltrue to start the stage on its own once it is ready. Defaults to false
stages[].soakMinutes (body)integer, 0 to 10080, optionalMinutes 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, optionalHow many databases of the stage run at the same time. Defaults to 1
stages[].onFailure (body)one of stop, continue, optionalWhen 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

InputTypeDescription
id (path)string (uuid), requiredThe pipeline ID
name (body)string, optionalThe pipeline name, up to 100 characters. Names are unique
description (body)string or null, optionalWhat the pipeline is for, up to 2000 characters. Send null to clear it
stages (body)list of object, optionalThe stages in run order, 1 to 20. Every database of every stage must be the same kind of engine
stages[].environment (body)string, requiredThe 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, requiredWhere the stage runs: the databases a grouping assigned to the stage environment holds, or the databases listed in targets
stages[].grouping (body)string, optionalFor grouping: the grouping name. It must be assigned to the stage environment and hold connections
stages[].targets (body)list of object, optionalFor connections: 1 to 500 databases, each listed once
stages[].targets[].connectionId (body)string (uuid), requiredThe connection ID. The database must be in the stage environment through a grouping assigned to it
stages[].targets[].database (body)string, optionalThe database on the connection. Leave it out for the connection default
stages[].requiresApproval (body)boolean, optionaltrue 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, optionaltrue to start the stage on its own once it is ready. Defaults to false
stages[].soakMinutes (body)integer, 0 to 10080, optionalMinutes 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, optionalHow many databases of the stage run at the same time. Defaults to 1
stages[].onFailure (body)one of stop, continue, optionalWhen 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

InputTypeDescription
id (path)string (uuid), requiredThe pipeline ID