Updates components.
Operation description
This API is currently in trial. To use this API, submit an application. After the administrator adds you to the trial list, you can call this API.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ComponentId |
string |
Yes |
The component ID. |
568780096083******* |
| Spec |
string |
Yes |
The FlowSpec information for this UDF function. For more information, see FlowSpec. |
{ "kind": "Component", "version": "1.1.2", "spec": { "components": [ { "id": "568780096083*******", "script": { "content": "select '@@{para1}', '@@{para2}'" } } ] } } |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace page to query the ID. |
10000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
0bc1ec92159376 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "0bc1ec92159376",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.