Querying Whether Object Selection and Column Mapping Are Supported
Function
This API is used to query information such as the object selection type, column mapping, and object type that can be searched for supported by a task.
URI
GET /v5/{project_id}/jobs/{job_id}/object/support
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. For details, see Obtaining a Project ID. |
job_id |
Yes |
String |
Task ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
Yes |
String |
MIME type of the request body. Use the default value application/json. For APIs used to upload objects or images, the value varies depending on the flow type. The default value is application/json. |
X-Auth-Token |
Yes |
String |
User token obtained from IAM. It is a response to the API for obtaining a user token. After a request is processed, the value of X-Subject-Token in the header is the token value. |
X-Language |
No |
String |
Request language type. Default value: en-us Enumerated values:
|
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
is_full_trans_support_object |
Boolean |
Whether objects can be selected for a full task. |
is_incre_trans_support_object |
Boolean |
Whether objects can be selected for an incremental task. |
is_full_incre_trans_support_object |
Boolean |
Whether objects can be selected for a full+incremental task. |
support_object_import_engine |
Array of strings |
DB engine that supports object import. |
is_support_column_mapping |
Boolean |
Whether column mapping is supported. |
is_database_support_search |
Boolean |
Whether the database supports data search. |
is_schema_support_search |
Boolean |
Whether the schema supports data search. |
is_table_support_search |
Boolean |
Whether the table supports data search. |
file_size |
String |
Maximum size of a file that can be imported, in MB. |
previous_select |
String |
Mode in which objects are migrated or synchronized last time.
|
import_level |
String |
Object import type.
|
is_import_cloumn |
Boolean |
Column processing mode selected last time for the current task.
|
Example Request
Querying the information about object selection type and column mapping supported by the task
https://{enpoint}/v5/246765b9f59445c3919fce121ea801f4/jobs/429b9210-118d-4711-87cb-be8e2dejb201/object/support
Example Response
Status code: 200
OK
{ "is_full_trans_support_object" : false, "is_incre_trans_support_object" : false, "is_full_incre_trans_support_object" : false, "file_size" : "5.0", "support_object_import_engine" : [ "oracle-to-mrsKafka", "oracle-to-kafka" ], "is_support_column_mapping" : false, "is_database_support_search" : true, "is_table_support_search" : true }
Status Code
Status Code |
Description |
---|---|
200 |
OK |
Error Code
For details, see Error Code.
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