Updates the default display fields for a version of an OpenSearch application. The dryRun parameter is supported.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only common request headers. For more information, see Common request parameters.

Request syntax

PUT /v4/openapi/app-groups/[appGroupIdentity]/apps/[appId]/fetch-fields HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes "my_app_group_name"

The name of the application.

appId Integer Path Yes 110157886

The ID of the version.

dryRun Boolean Query No true

Specifies whether the request is a dry run.

Request body
Note You can specify the names of multiple display fields, such as id, name, and title, in the request body.

Response parameters

Parameter Type Example Description
requestId String D77D0DAF-790D-F5F5-A9C0-133738165014

The ID of the request.

result Boolean true

Indicates whether the operation was successful.


Sample requests

PUT /v4/openapi/app-groups/os_function_test_v1/apps/1023987/fetch-fields

["id", "name", "tittle"]

Sample success responses

XML format


JSON format

    "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
    "result": true

Error codes

For a list of error codes, visit the API Error Center.