Other: Simplify HVR API Add New Table Command
When using the POST or PATCH to call .../hubs/{hub}/definition/channels/{channel}/tables, you have include the list of columns you want included, increasing the complexity of request when you want all columns from the table. Please add a way to add a table close to how the Add Table screen works on the hub interfaces.
Here is an idea for the request body:
tablename<ident> *: {
'base_name' ?: <str>
'table_group' ?: <ident>
'use_loc' : <ident>
'tablename_on_loc' : <str>
}
Here's an example:
'accounts' : {
'base_name' : 'accounts'
'table_group' : 'CUSTOMERS'
'use_loc' : 'AdventureWorks'
'tablename_on_loc' : 'dbo.accounts'
}
-
Hi Greg,
You should check the adapt interface .../hubs/{hub}/channels/{channel}/locs/{loc}/adapt/apply.
I think it may provide what you are looking for.
Hope this helps.
Mark.
Please sign in to leave a comment.
Comments
1 comment