Update rows in batch in draft table
POST {{baseUrl}}/cms/v3/hubdb/tables/:tableIdOrName/rows/draft/batch/update
Updates multiple rows as a batch in the draft
version of the table, with a maximum of 100 rows per call. See the endpoint PATCH /tables/{tableIdOrName}/rows/{rowId}/draft
for details on updating a single row.
Request Body
{"inputs"=>[{"id"=>"<string>", "path"=>"<string>", "name"=>"<string>", "childTableId"=>"<integer>", "displayIndex"=>"<integer>"}, {"id"=>"<string>", "path"=>"<string>", "name"=>"<string>", "childTableId"=>"<integer>", "displayIndex"=>"<integer>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"PENDING","results":[{"values":{"ade4":{}},"id":"\u003cstring\u003e","path":"\u003cstring\u003e","name":"\u003cstring\u003e","childTableId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","publishedAt":"\u003cdateTime\u003e"},{"values":{"Lorem_495":{}},"id":"\u003cstring\u003e","path":"\u003cstring\u003e","name":"\u003cstring\u003e","childTableId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","publishedAt":"\u003cdateTime\u003e"}],"requestedAt":"\u003cdateTime\u003e","startedAt":"\u003cdateTime\u003e","completedAt":"\u003cdateTime\u003e","links":{"dolore_f85":"\u003cstring\u003e"}}