getWorkflowById
- Print
- PDF
getWorkflowById
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get a workflow.
GET https://dataflow.apigw.ntruss.com/api/v1/workflows/{workflowId}
Request
Request parameter
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
workflowId | Yes | String | Workflow ID |
Response
Field name | Type | Description | Remarks |
---|---|---|---|
workflowId | String | Workflow ID | |
name | String | Workflow name | |
nodes[].id | String | Node ID | |
nodes[].name | String | Node name | |
nodes[].type | String | Node type | |
nodes[].parentNodeIds | String | Parent node ID | |
nodes[].triggerRule | String | Trigger node option | |
nodes[].jobCondition | Object | Job execution option | |
nodes[].isValid | Boolean | Deletion status | |
createdDate | String | Workflow creation date | |
updatedDate | String | Last update | |
isTemp | Boolean | Whether to save drafts |
Response status
HTTP Status | Desc |
---|---|
200 | OK (Successfully searched) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
Examples
Request example
GET /api/v1/workflows/pJ1HCEI7L9ha
Host: dataflow.apigw.ntruss.com
x-ncp-iam-access-key: {Access key}
x-ncp-apigw-signature-v2: {API GW signature}
x-ncp-apigw-timestamp: {timestamp}
Response example
{
"workflowId": "pJ1HCEI7L9ha",
"name": "test-workflow2",
"nodes": [
{
"id": "RpiB7okASK5W",
"name": "cdb_pg_test",
"type": "JOB",
"parentNodeIds": [
"vMcf5Gvf2x3R"
],
"jobCondition": {
"workerType": "DEFAULT",
"numWorker": 3,
"timeout": 360,
"nrn": "nrn:PUB:IAM::25****4:Role/****-a9d6-****-a85d-****",
"scriptPath": "dataflow-33-****/scripts/",
"logPath": "dataflow-33-****/sparkHistoryLogs/"
}
},
{
"id": "vMcf5Gvf2x3R",
"name": "awefawef",
"type": "TRIGGER",
"parentNodeIds": [],
"triggerRule": "NONE"
}
],
"createdDate": "2024-07-10T14:16:01+09:00",
"updatedDate": "2024-07-24T15:26:09+09:00",
"isTemp": false
}
Was this article helpful?