Content
Updated by Jens Ulferts over 4 years ago
The API v3 already supports the ability to create a new project. But it lacks the ability to copy existing projects as offered in the UI.
**Acceptance criteria**
* POST /api/v3/projects/:id/copy endpoint to trigger copying a project
* The endpoint checks for the same permission as the copy projects UI
* The endpoint takes the same parameters as the create project endpoint but:
* Also allows specifying which data to copy (work packages, members, ...)
* Then endpoint redirects to the delayed job status endpoint to allow the client to query for the status of the copy job
* Documented in the API documentation
**Out of scope**
* No change to the inner workings of the copy project job & no bug fixes.
**Acceptance criteria**
* POST /api/v3/projects/:id/copy endpoint to trigger copying a project
* The endpoint checks for the same permission as the copy projects UI
* The endpoint takes the same parameters as the create project endpoint but:
* Also allows specifying which data to copy (work packages, members, ...)
* Then endpoint redirects to the delayed job status endpoint to allow the client to query for the status of the copy job
* Documented in the API documentation
**Out of scope**
* No change to the inner workings of the copy project job & no bug fixes.