Saving Component Configuration
Function
This API is used to save component configuration.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/workspaces/{workspace_id}/components/{component_id}/configurations
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
component_id |
Yes |
String |
Component ID. |
|
workspace_id |
Yes |
String |
Workspace ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
configuration |
No |
Array of ConfigurationDetail objects |
Node configuration information. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
config_status |
No |
String |
Definition Node deployment status.
Constraints N/A Range
Default Value N/A |
|
list |
Yes |
Array of FileConfiguration objects |
File configuration list. |
|
node_id |
No |
String |
Node ID. |
|
node_name |
No |
String |
Node name. |
|
specification |
No |
String |
Specifications. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
file_name |
No |
String |
File name. |
|
file_type |
Yes |
String |
Definition File type.
Constraints N/A Range
Default Value N/A |
|
node_id |
No |
String |
Node ID. |
|
param |
Yes |
Map<String,String> |
Parameter. |
|
type |
No |
String |
Definition Configuration type.
Constraints N/A Range
Default Value N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
message |
String |
Result details. |
|
result |
String |
Result. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot