POST
/
experience-manager
/
query-rewrites
Update a query rewrite rule
curl --request POST \
  --url https://{FUSION HOST}/api/experience-manager/query-rewrites \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base_object_id_s": "<string>",
  "createdOn": "2023-11-07T05:31:56Z",
  "deployed": true,
  "id": "<string>",
  "is_deleted": true,
  "review": "approved",
  "reviewedOn": "2023-11-07T05:31:56Z",
  "reviewer": "<string>",
  "source": "<string>",
  "sourceType": "<string>",
  "tags": [
    "<string>"
  ],
  "updatedOn": "2023-11-07T05:31:56Z"
}'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

commitWithin
string

Time in milliseconds within which the update should be committed.

context
string
required

Application context for the query rewrite request.

staging
boolean
required

Indicates whether the query rewrite should be applied in a staging environment.

version
integer

Optional version number of the query rewrite update.

Body

application/json

Details of the query rewrite rule to be created or updated.

Represents a request to create or update a query rewrite rule.

Response

200
application/json

Query rewrite rule successfully updated.

The response is of type object.