Draft pipeline
POST/api/projects/:project_id/pipeline/draft
Shows what a project's pipeline would be if started from a preset or copied from another project of its organization, without saving anything: the save body for the pipeline save, the changes from the saved pipeline, and what that save would refuse. Copying takes stage names, branches and step rules; never addresses or freezes. Requires Edit on the project; a source project the caller cannot view, or in another organization, is a 404.
Request
Responses
- 200
- 422
OK
Unprocessable content