CreateDraftFromPublished forks a published pipeline into a new editable draft within the same name family, bumping `version` by one. In-flight runs against earlier versions are unaffected.
POST/api/v1/crm/pipelines/:id/drafts
Errors:
- NOT_FOUND: pipeline does not exist (ErrPipelineNotFound).
- FAILED_PRECONDITION: pipeline is not in published status (ErrPipelineNotPublished).
Request
Responses
- 200
- default
A successful response.
An unexpected error response.