文件
APIAPI 參考

批次

在一個請求中執行多個可批次的讀取操作。

POST/api/v1/batch

批次執行

Runs up to 50 read operations in one request and returns each result under its id. Only operations marked as batch-eligible can be included. Each item needs the same scopes as calling it directly.

權限範圍analytics:read
請求主體application/json
requestsobject[]必填

Operations to run. Each has a unique id, a method, an /api/v1/… path, and an optional JSON body.

1–50 items
idstring必填
1–80 chars
methodstring必填
可用值"GET""POST"
pathstring必填
1–2048 chars
bodyobject
deadlineMsinteger

Time budget for the whole batch, up to 30,000 ms.

1–30000
回應