Partial update owner attributes
patch
/gsadmin/v1/{appName}/attributes/{owner}
Partial updates the specified owner index attributes in the given application's index attributes list.
Request
Supported Media Types
- application/json
Path Parameters
- appName
-
Type:
stringRequired:trueSpecifies the name of your application, for example, Discover.- owner
Type:stringRequired:trueSpecifies the owner of the index attributes, for example, system.
Body Parameter
The request body represents the partially updated owner index attributes.
Root Schema : ConfigOwnerAttributes
Type:
objectRepresents a config owner's index attributes. Child nodes represent attributes conforming to one of the following ecr-types:
- dimension
- property
- derived-property
- ecr:createDate
-
Type:
string - ecr:lastModified
-
Type:
string - ecr:lastModifiedBy
-
Type:
string - ecr:type
-
Type:
stringDefault Value:attributes-owner-folder
Security
- basicAuth
-
Type:
basicDescription:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Owner index attributes successfully updated.
Body
Root Schema : Response
Type:
object- message
-
Type:
string - status
-
Type:
integer(int32)
Examples
Request Body Example
The following shows a sample request body to partially update owner index attributes.
{
"ecr:type": "attributes-owner-folder",
"product.min_price": {
"derivedPropertySource": "product.price",
"derivedPropertyFunction": "MIN",
"ecr:type": "derived-property"
}
}