GET
/
experience-manager
/
query-rewrites
/
{id}
Get a query rewrite rule
curl --request GET \
  --url https://{FUSION HOST}/api/experience-manager/query-rewrites/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "base_object_id_s": "<string>",
  "createdOn": "2023-11-07T05:31:56Z",
  "deployed": true,
  "doc_type": "<string>",
  "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.

Path Parameters

id
string
required

Unique identifier of the query rewrite rule to retrieve.

Query Parameters

context
string
required

Application context for retrieving the query rewrite rule.

staging
boolean
required

Indicates whether to retrieve the query rewrite rule from a staging environment.

Response

Query rewrite rule retrieved successfully.

Represents the response containing details of a query rewrite rule.

base_object_id_s
string

The unique identifier of the base object associated with this query rewrite.

createdOn
string<date-time>

Timestamp indicating when the query rewrite was created.

deployed
boolean

Indicates whether the query rewrite rule is currently deployed.

doc_type
string

The document type of the query rewrite response.

id
string

Unique identifier for the query rewrite.

is_deleted
boolean

Indicates whether the query rewrite has been deleted.

review
enum<string>

The current review status of the query rewrite.

Available options:
approved,
auto,
denied,
pending,
supplied
reviewedOn
string<date-time>

Timestamp indicating when the query rewrite was last reviewed.

reviewer
string

Identifier of the user who reviewed the query rewrite.

source
string

The source from which the query rewrite originated.

sourceType
string

Type of source associated with the query rewrite.

tags
string[]

A list of tags associated with the query rewrite.

updatedOn
string<date-time>

Timestamp indicating when the query rewrite was last updated.