Add a new row to a table
POST {{baseUrl}}/cms/v3/hubdb/tables/:tableIdOrName/rows
Add a new row to a HubDB table. New rows will be added to the draft
version of the table. Use publish
endpoint to push these changes to published version.
Request Body
{"path"=>"<string>", "name"=>"<string>", "childTableId"=>"<long>", "displayIndex"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"values":{"eu_c_5":{},"cupidatat1c2":{}},"id":"\u003cstring\u003e","path":"\u003cstring\u003e","name":"\u003cstring\u003e","childTableId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","publishedAt":"\u003cdateTime\u003e"}