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
bodyobjectdeadlineMsintegerTime budget for the whole batch, up to 30,000 ms.
1–30000
回應