This method moves existing templates of the project into one of its template folders. Only the folder changes: the
content, the name and the rest of the template stay as they are, and so does its address in Stripo. The language
versions of a template are moved along with it.
- Up to 100 ids in one request. All templates go to the same folder; without
folderIdthey go to the root of the project. - A template opened in the editor is moved too: the editor keeps working with it.
- A template that already lies in the folder is reported as moved; nothing changes for it.
The move runs in the background: the response carries an operationId, and the outcome is read with Get the status
of an operation within 15 minutes. result.moved lists the moved ids; result.failed lists the ids that were not
moved: not found in the project (NOT_FOUND, also for a template of another project or one deleted while the
move waited for its turn), a draft (DRAFT), a translated version (TRANSLATION_VERSION — move its original
instead) or passed more than once (DUPLICATE_ID). The move is all or nothing: if it fails, every template stays
where it was and the status is FAILED.
400The request is invalid (no ids, more than 100 ids, a folder not found among the template folders of the project); nothing is moved
409Some of the templates or the folder are being changed by another bulk operation right now; nothing is moved, repeat the request later
