Menghasilkan kode acak untuk definisi tugas alur kerja.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /dolphinscheduler/projects/{bizId}/task-definition/gen-task-codes HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| bizId |
string |
Yes |
ID ruang kerja. |
w-d8******** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| genNum |
integer |
Yes |
Jumlah kode yang akan dihasilkan. |
1 |
| productNamespace |
string |
Yes |
Namespace produk. |
SS |
| regionId |
string |
No |
ID wilayah. |
cn-hangzhou |
Elemen respons
|
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 |
Contoh
Respons sukses
JSONformat
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"code": 1000000,
"msg": "No permission for resource action",
"success": true,
"failed": false,
"data": [
0
],
"httpStatusCode": 200
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.