Package cm_api :: Package endpoints :: Module batch
[hide private]
[frames] | no frames]

Module batch

source code

Functions [hide private]
 
do_batch(resource_root, elements)
Execute a batch request with one or more elements.
source code
Variables [hide private]
  BATCH_PATH = '/batch'
  __package__ = 'cm_api.endpoints'
Function Details [hide private]

do_batch(resource_root, elements)

source code 

Execute a batch request with one or more elements. If any element fails, the entire request is rolled back and subsequent elements are ignored.

Parameters:
  • elements - A list of ApiBatchRequestElements
Returns:
an ApiBatchResponseList

Since: API v6