Tag or untag images
Adds an Image Tag to each listed image, removes it, or creates the tag first and adds it, as a background job. Answers at once with the job’s id.
Access: an API key with content:images:write (or a master above it: content:images:all, content: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
The images and what to do with the tag.
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.