Creates a directory for an advanced configuration.
Operation description
Method
POST
URI
/openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:CreateConfigDir |
*Instance
|
None | None |
Request syntax
POST /openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| configName |
string |
Yes |
The configuration name. |
ha-cn-pl32rf0****@ha-cn-pl32rf0****_test_api@test_api@index_config_edit |
| body |
object |
No |
The request body. |
|
| dirName |
string |
No |
The directory name. |
/clusters |
| parentFullPath |
string |
No |
The path of the parent directory. |
/ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
E7B7D598-B080-5C8E-AA35-D43EC0D5F886 |
| result |
object |
The returned result. |
{} |
Examples
Success response
JSON format
{
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.