文章 Batch Batching REST 端点

URLs

POST api/v1/batch.xml (or .json)

Will execute a series a rest requests in batch with a maximum of 100.

请求参数

名称

类型

描述

必需

默认值

选项

_REQUEST_X_URL

string

The url preceded by '~' for a request. X is a zero-based index in the sequence

_REQUEST_X_METHOD

string

The HttpMethod of the request in a specified sequence('GET','POST','DELETE','PUT'). X is a zero-based index in the sequence

_REQUEST_X_DATA

string

Url encoded data for the request in the sequence. X is a zero-based index in the sequence

Sequential

string

Tells the batch to execute each request simulataneously. If 1 fails the rest will not be executed.

False