Copy global documents to another locale
Copies each listed document into other locales, as a background job. Answers at once with the job’s id.
Access: an API key with global:write (or a master above it: global:all, admin:all). A signed-in person may call it as far as their own permissions allow; anyone else gets 403.
Rate limit: the key’s own writes-per-minute limit, set when the key is created (default 120); over it, 429 with Retry-After.
Authorizations
Body
Documents to copy into other locales, by _id.
Related document types to copy along (default none).
Copy only the related documents, not the listed ones (default false).
Response
The job started.
A background job started: the work runs after this answer, so it says the job began, not that it finished. Each document is checked against the caller’s permissions as the job reaches it; one it may not touch is skipped, not an error. The management API follows a job (GET /@apostrophecms/job/{jobId}: its progress, what failed, when it ended); an API key can’t yet, so read the documents themselves to see the result.