Publishes a workflow and its scheduling configuration.
Try it now
Test
RAM authorization
Request syntax
GET /dolphinscheduler/projects/{bizId}/task-definition/gen-task-codes HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| bizId |
string |
Yes |
The workspace ID. |
w-d8******** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| genNum |
integer |
Yes |
The number of codes to generate. |
1 |
| productNamespace |
string |
Yes |
The product namespace. |
SS |
| regionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| code |
integer |
The error code. |
1000000 |
| msg |
string |
The error message. |
No permission for resource action |
| success |
boolean |
Indicates whether the request was successful. |
true |
| failed |
boolean |
Indicates whether the request failed. |
false |
| data |
array |
The returned data. |
|
|
integer |
A randomly generated code for the workflow node definition. |
1263424*** |
|
| httpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"code": 1000000,
"msg": "No permission for resource action",
"success": true,
"failed": false,
"data": [
0
],
"httpStatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.