Duplicate a project
Creates a new project with this one’s settings: its config, description, startOnNewFiles and storage connection, named Copy of <name>. No files are copied: the copy has input and output folders of its own, empty, and on a storage connection they are the default folders for the copy’s id. The project you copy is only read.
Like a create, the copy runs on your account’s default build unless you name buildVersion, its config is checked in full against that build, and its service starts unless options.autoStart is false. A copy of a feed project reads the same feed: pass autoStart: false and change its sourceMedia before you start it, or both projects process every item. Every body field is optional and replaces what is copied; config is not taken — change the copy with PATCH afterwards.
With options.copyFiles, the project’s input files are copied too, in the background and within your storage (never through the API): meta.fileCopy follows the copy, and each file is processed by the copy as it lands — and billed again. The copy must be on the project’s storage, and a feed project has no files to copy.
Idempotency-Key works as on create.
Guide: Projects
Authorizations
A token from POST /token/create, made with your API key pair.
Headers
As on POST /projects: a repeat of the call with the same key, project and body answers what the first call did and creates nothing.
1 - 255^[!-~]+$Path Parameters
The project id, a lowercase ULID.
^[0-9a-z]{26}$Body
Every field is optional and replaces what is copied from the project. config is the project’s and is not taken here.
Default: Copy of <name>, cut to 255 characters.
255Default: the project’s.
2000The build the copy runs on, from GET /build-versions. Default: your account’s default, not the project’s build.
Default: the project’s. See startOnNewFiles on create.
Default: the project’s storage connection, with the default folders for the copy. {"connectionId": null} puts the copy on SyncWords’ storage.
Instructions for the create (or the duplicate) itself: acted on once, not stored, not returned. Refused on PUT/PATCH.
Response
Created: the copy.