Skip to content

Batch

Batch controller allows you to preform multiple actions in a single request. Responses are batched in the order they were received.

POST /v3/batch

Create batch actions.

Acl Action: BATCH *

Example Request:

Commands run in the form of a hash with the request URI and the request params:

[
  [
     "PUT:/v3/content",
     {...}
  ],
  [
     "POST:/v3/content/123-345-123",
     {...}
  ]
]

Example Response:

[
  {
     "uri": "PUT:/v3/content",
     "response": {...}
     "status": 200
  },
  {
     "uri": "POST:/v3/content/123-345-123",
     "response": "You do not have permission"
     "status": 403
  },
]

NOTE: Standard ACL rules still apply to each request.