Creates Live Table Feed
post
/data-tools/live-table-feeds/
Request
Supported Media Types
- application/json
Live Table Feeds to create
Nested Schema : live-table-feed
Type:
Show Source
object
-
live_table_feed_name(optional):
string
Example:
SALES_FEED
-
notifications(optional):
boolean
Is the Live Table Feed enabled for notifications?Example:
false
-
object_filter(optional):
string
Filter to select subset of filesExample:
*.csv
-
object_filter_type(optional):
string
Allowed Values:
[ "GLOB", "REGEX" ]
Type of matching for object_filterExample:GLOB
-
scheduled(optional):
boolean
Is the Live Table Feed scheduler job enabled?Example:
true
-
scheduler_interval(optional):
string
DBMS_SCHEDULER interval for Live Table Feed jobExample:
FREQ=DAILY;BYHOUR=9;BYMINUTE=30;BYDAY=MON,TUE,WED,THU,FRI
-
sql_statements(optional):
array sql_statements
SQL statements to perform database operation
-
storage_link_name(optional):
string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
table_name(optional):
string
Table name to loadExample:
SALES
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Response
Supported Media Types
- application/json
201 Response
Live Table Feeds were succesfully created
Nested Schema : live-table-feed
Type:
Show Source
object
-
live_table_feed_name(optional):
string
Example:
SALES_FEED
-
notifications(optional):
boolean
Is the Live Table Feed enabled for notifications?Example:
false
-
object_filter(optional):
string
Filter to select subset of filesExample:
*.csv
-
object_filter_type(optional):
string
Allowed Values:
[ "GLOB", "REGEX" ]
Type of matching for object_filterExample:GLOB
-
scheduled(optional):
boolean
Is the Live Table Feed scheduler job enabled?Example:
true
-
scheduler_interval(optional):
string
DBMS_SCHEDULER interval for Live Table Feed jobExample:
FREQ=DAILY;BYHOUR=9;BYMINUTE=30;BYDAY=MON,TUE,WED,THU,FRI
-
sql_statements(optional):
array sql_statements
SQL statements to perform database operation
-
storage_link_name(optional):
string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
table_name(optional):
string
Table name to loadExample:
SALES
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
204 Response
No content
409 Response
Name conflict with existing Live Table Feed