v3

latestOpenAPI 3.0.12026-07-133132111.2 KB
Rows

Add a new row to a table

Add a new row to a HubDB table. New rows will be added to the draft version of the table. Use the /publish endpoint to push these changes to published version.

post/cms/hubdb/2026-03/tables/{tableIdOrName}/rows

Path parameters

tableIdOrNamestring required

The ID or name of the target table.

Request body

childTableIdinteger required

Specifies the value for the column child table id

displayIndexinteger required

The index position for displaying the row within the table.

namestring

Specifies the value for hs_name column, which will be used as title in the dynamic pages

pathstring

Specifies the value for hs_path column, which will be used as slug in the dynamic pages

valuesobject required

List of key value pairs with the column name and column value

Response

successful operation

childTableIdstring required

Specifies the value for the column child table id

createdAtstring date-time required

Timestamp at which the row is created

idstring required

The id of the table row

namestring required

Specifies the value for hs_name column, which will be used as title in the dynamic pages

pathstring required

Specifies the value for hs_path column, which will be used as slug in the dynamic pages

publishedAtstring date-time required

The timestamp indicating when the row was last published, in date-time format.

updatedAtstring date-time required

Timestamp at which the row is updated last time

valuesobject required

List of key value pairs with the column name and column value