Modifies a file.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /openapi/ha3/instances/{instanceId}/indexes/{indexName}/versions/{versionName}/file
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-i7m2ne76e02 |
indexName | string | Yes | The index name. | automobile_vector |
versionName | string | Yes | The version name. | ha-cn-tl32m2c4u01@ha-cn-tl32m2c4u01_00@bj_vpc_domain_1@automobile_vector@index_config_edit |
fileName | string | Yes | The name of the file in the full path | /schemas/generation_schema.json |
body | object | No | The request body. | |
content | string | No | The file content. | "" |
partition | integer | No | The number of shards. | ds=20220713 |
Response parameters
Examples
Sample success responses
JSON
format
{
"requestId": "89B968E6-1E41-58DF-BB25-5F98ECC759CE",
"result": {}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-01-12 | Add Operation | View Change Details |