All Products
Search
Document Center

OpenSearch:CreateConfigFile

Last Updated:Jul 16, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/file

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-2r42ostoc01
configNamestringYes

The configuration name.

ha-cn-wuz014xlq5o_table_ha-cn-wuz014xlq5o_test_api_edit
bodyobjectNo

The request body.

fileNamestringNo

The name of the directory.

/schemas/device_event_xt_schema.json
parentFullPathstringNo

The path of the parent directory.

/
ossPathstringNo

The Object Storage Service (OSS) URL of the file.

oss://xxx/xxxx/xxx

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The request ID.

FE03180A-0E29-5474-8A86-33F0683294A4
resultobject

The result.

{}

Examples

Sample success responses

JSONformat

{
  "requestId": "FE03180A-0E29-5474-8A86-33F0683294A4",
  "result": {}
}

Error codes

For a list of error codes, visit the Service error codes.