Modifying Table Details
Function
This API is used to modify table details.
Calling Method
For details, see Calling APIs.
URI
PUT /v2/{project_id}/workspaces/{workspace_id}/siem/tables/{table_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Definition Project ID, which is used to specify the project that a resource belongs to. You can query the resources of a project by project ID. You can obtain the project ID from the API or console. Obtaining the Project ID Constraints N/A Range N/A Default Value N/A |
|
workspace_id |
Yes |
String |
Workspace ID. |
|
table_id |
Yes |
String |
Table ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Definition User token. You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. Obtaining a User Token Constraints N/A Range N/A Default Value N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
table_alias |
No |
String |
Table alias. |
|
table_alias_en |
No |
String |
Table alias. |
|
table_alias_fr |
No |
String |
Table alias. |
|
description |
No |
String |
Table description. |
|
description_en |
No |
String |
Table description. |
|
description_fr |
No |
String |
Table description. |
|
directory |
No |
String |
Directory group. |
|
directory_en |
No |
String |
Directory group. |
|
directory_fr |
No |
String |
Directory group. |
|
storage_setting |
No |
IsapTableStorageSettingDto object |
Data transmission object for table storage settings. |
|
display_setting |
No |
IsapTableDisplaySettingDto object |
Data transmission object for table display settings. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
application_index |
No |
String |
Application index. |
|
application_topic |
No |
String |
Application theme. |
|
application_data_class_id |
No |
String |
Application data class ID. |
|
streaming_bandwidth |
No |
Number |
Streaming bandwidth (MB/s). |
|
streaming_partition |
No |
Integer |
Streaming partition. |
|
streaming_dataspace_id |
No |
String |
Streaming data space ID. |
|
index_storage_period |
No |
Integer |
Index storage period. |
|
index_storage_size |
No |
Integer |
Index storage size. |
|
index_shards |
No |
Integer |
Number of index shards. |
|
lake_storage_period |
No |
Long |
Data lake storage period. |
|
lake_partition_setting |
No |
String |
Definition Data lake scheduled partition settings
Constraints N/A Range
Default Value N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
columns |
No |
Array of IsapTableColumnDisplaySettingDto objects |
Table column display list. |
|
format |
No |
String |
Definition Table display settings.
Constraints N/A Range
Default Value N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
project_id |
String |
Project ID. |
|
workspace_id |
String |
Workspace ID. |
|
table_id |
String |
UUID |
|
pipe_id |
String |
UUID |
|
table_name |
String |
Table name. |
|
table_alias |
String |
Table alias. |
|
description |
String |
Description. |
|
directory |
String |
Directory group. |
|
category |
String |
Definition Directory type.
Constraints N/A Range
Default Value N/A |
|
lock_status |
String |
Definition Table lock status.
Constraints N/A Range
Default Value N/A |
|
process_status |
String |
Definition Handling status.
Constraints N/A Range
Default Value N/A |
|
process_error |
String |
Definition Table processing error.
Constraints N/A Range
Default Value N/A |
|
format |
String |
Definition Table format.
-DEBEZIUM_JSON: Debezium JSON Constraints N/A Range
Default Value N/A |
|
rw_type |
String |
Definition Table read/write type.
Constraints N/A Range
Default Value N/A |
|
owner_type |
String |
Definition Owner type.
Constraints N/A Range
Default Value N/A |
|
data_layering |
String |
Definition Data layers.
Constraints N/A Range
Default Value N/A |
|
data_classification |
String |
Definition Data classification.
Constraints N/A Range
Default Value N/A |
|
schema |
IsapTableSchema object |
Table structure. |
|
storage_setting |
TableStorageSetting object |
Table storage settings. |
|
display_setting |
TableDisplaySetting object |
Table display settings. |
|
create_time |
Integer |
Timestamp, in ms. |
|
update_time |
Integer |
Timestamp, in ms. |
|
delete_time |
Integer |
Timestamp, in ms. |
|
Parameter |
Type |
Description |
|---|---|---|
|
columns |
Array of IsapTableColumn objects |
Table column list. |
|
primary_key |
Array of strings |
Table primary key list. |
|
partition |
Array of strings |
Table partition list. |
|
watermark_column |
String |
Table watermark column element. |
|
watermark_interval |
Float |
Table watermark delay interval. |
|
time_filter |
String |
Table time filter column. |
|
Parameter |
Type |
Description |
|---|---|---|
|
column_name |
String |
Table column name. |
|
column_type |
String |
Definition Column field type.
Constraints N/A Range
Default Value N/A |
|
column_type_setting |
String |
Table column type settings. |
|
column_data_type |
String |
Definition Column data type.
Constraints N/A Range
Default Value N/A |
|
column_data_type_setting |
String |
Table column data type setting |
|
nullable |
Boolean |
Empty or not. |
|
array |
Boolean |
Array or not. |
|
depth |
Integer |
Depth. |
|
parent_name |
String |
Parent-level name. |
|
own_name |
String |
Name. |
|
column_display_setting |
ColumnDisplaySetting object |
Table column display settings. |
|
column_sequence_number |
Integer |
Column No. |
|
Parameter |
Type |
Description |
|---|---|---|
|
mapping_required |
Boolean |
Whether the mapping is mandatory. |
|
group_sequence_number |
Integer |
Group sequence number. |
|
intra_group_sequence_number |
Integer |
Group sequence number. |
|
value_type |
String |
Value type. |
|
value_qualified |
String |
Valid value. |
|
display_name |
String |
Display name. |
|
display_description |
String |
Display description. |
|
group_name |
String |
Group name. |
|
Parameter |
Type |
Description |
|---|---|---|
|
application_index |
String |
Application index. |
|
application_topic |
String |
Application theme. |
|
application_data_class_id |
String |
Application data class ID. |
|
streaming_bandwidth |
Number |
Streaming bandwidth (MB/s). |
|
streaming_partition |
Integer |
Streaming partition. |
|
streaming_retention_size |
Integer |
Streaming capacity. |
|
streaming_dataspace_id |
String |
Streaming data space ID. |
|
index_storage_period |
Integer |
Index storage period. |
|
index_storage_size |
Integer |
Index storage size. |
|
index_shards |
Integer |
Number of index shards. |
|
index_replicas |
Integer |
Number of index replicas. |
|
lake_storage_period |
Long |
Data lake storage period. |
|
lake_partition_setting |
String |
Definition Time unit.
Constraints N/A Range
Default Value N/A |
|
lake_expiration_status |
String |
Definition Data lake expiration status.
Constraints N/A Range
Default Value N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
columns |
Array of TableColumnDisplaySetting objects |
Table column display list. |
|
format |
String |
Definition Table display settings.
Constraints N/A Range
Default Value N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
column_name |
String |
Table column name. |
|
column_alias |
String |
Table column alias. |
|
display_by_default |
Boolean |
Whether to use default display settings. |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error description. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Response of show table |
|
400 |
Error response |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot