Sep 21, 2021 12:03 PM - edited Sep 21, 2021 12:27 PM
Today we are excited to announce that we are releasing our HubDB V3 API into General Availability (GA) as part of our ongoing effort to improve the consistency and completeness of our developer APIs.
The following are changes in v3 of the HubDB API:
label. This name cannot be changed once the table is created. Names can only include lowercase letters, digits, and underscores and cannot begin with a number. Both
labelshould be unique in the account.
namein the URL paths.
GETrow endpoints return column
PATCHrow endpoints require column
PATCHendpoints now accept sparse updates, which means you can specify only the column values that you need to update (whereas we had to specify all the column values in the previous versions). When you update a column with a list of values such as multi-select, you need to specify the list of all the values. In order to delete the value for a column, you need to specify the column with the value as
nullin the request.
DELETEa row cell in favor of the row update
idSourceColumnalong with existing fields in the JSON-formatted options. You can use this field to specify the column in the csv file which contains row ids. To import new rows along with the new values for existing rows, you can specify
0as the row id for the new rows and the valid row ids for the existing columns. See more details in the Import section below. Also you can use column names or ids in the target field of the column mappings in the JSON-formatted options.
If you have any questions or comments, please feel free to leave a message below.