Creates a configuration file in an advanced configuration.
Operation description
Method
POST
URI
/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:CreateConfigFile |
*Instance
|
None | None |
Request syntax
POST /openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The ID of the instance. |
ha-cn-pl32rf0**** |
| configName |
string |
Yes |
The name of the configuration. |
ha-cn-pl32rf0****@ha-cn-pl32rf0****_test_api@test_api@index_config_edit |
| body |
object |
No |
The request body. |
|
| fileName |
string |
No |
The folder name. |
/schemas/device_event_xt_schema.json |
| parentFullPath |
string |
No |
The path of the parent folder. |
/ |
| ossPath |
string |
No |
The Object Storage Service (OSS) storage address. |
oss://xxx/xxxx/xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The ID of the request. |
FE03180A-0E29-5474-8A86-33F0683294A4 |
| result |
object |
The result of the request. |
{} |
Examples
Success response
JSON format
{
"requestId": "FE03180A-0E29-5474-8A86-33F0683294A4",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.