Partial update index attributes

patch

/gsadmin/v1/{appName}/attributes

Partial updates one or more index attributes in the specified application.

Request

Supported Media Types
Path Parameters
Body ()
The request body represents the partially updated index attributes.
Root Schema : IndexAttributes
Type: object
Represents index attributes of an application. Child nodes represent the config owner attributes conforming to ConfigOwnerAttributes JSON schema.
Show Source
Security
Back to Top

Response

Supported Media Types

202 Response

Index attributes successfully updated.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

Examples

Request Body Example

The following shows a sample request body to partially update index attributes.

{
  "ecr:type": "attributes-folder",
  "system":
  {
    "ecr:type": "attributes-owner-folder",
    "product.min_price": {
      "derivedPropertySource": "product.price",
      "derivedPropertyFunction": "MIN",
      "ecr:type": "derived-property"
    }
  }
}
Back to Top