Restore a pipeline version
POST/pipelines/:id/versions/:version/restore
Takes the DAG from the specified historical version and publishes it as a new version, then advances current_version_id to the new version. The DAG is validated against the current ops registry before persisting; a validation failure returns 400 without creating any new rows.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- 503
OK
Validation error
Unauthorized
Forbidden
Pipeline or version not found
Internal server error
Ops registry not available