Querying Operators Associated with a Table (Invitational Test)
Function
This API is used to query the list of job operators associated with a table. It is in invitational test and will be available for OBT in the future.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/datamap/table/{guid}/node
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. For details about how to obtain it, see Project ID and Account ID. |
| guid | Yes | String | Asset GUID. For details about how to obtain the asset GUID, see Data Asset GUID. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. This parameter is mandatory when token authentication is used. You can obtain it from the value of X-Subject-Token in the response message header returned by the "Obtaining a User Token" API of the IAM service. |
| instance | Yes | String | Instance ID. For details about how to obtain the instance ID, see Instance ID and Workspace ID. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| [items] | Array of JobAndNodeInfo objects | List of basic information about job operators. |
| Parameter | Type | Description |
|---|---|---|
| task_id | String | Job operator ID. |
| job_name | String | Name of a job operator. |
| workspace_id | String | ID of the space where the job operator is located. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
Example Requests
None
Example Responses
Status code: 200
OK.
[ {
"task_id" : "937987",
"job_name" : "ETL_Job_dli2dws",
"workspace_id" : "b88c445407b24283aa949f9833a38fd8"
} ] Status Codes
| Status Code | Description |
|---|---|
| 200 | OK. |
| 400 | Bad request. |
| 401 | Unauthorized. |
| 403 | Forbidden. |
| 404 | Not found. |
| 500 | Internal server error. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.