GET
/
query-rewrite
/
schema
/
{type}
Get the JSON schema by type
curl --request GET \
  --url https://{FUSION HOST}/api/query-rewrite/schema/{type} \
  --header 'Authorization: Basic <encoded-value>'
{
  "additionalProperties": {},
  "category": "<string>",
  "categoryPriority": 123,
  "default": {},
  "definitions": {},
  "description": "<string>",
  "enum": [
    {}
  ],
  "hints": [
    "<string>"
  ],
  "maxProperties": 123,
  "minProperties": 123,
  "oneOf": [
    {
      "type": "string",
      "title": "<string>",
      "description": "<string>",
      "default": {},
      "category": "<string>",
      "categoryPriority": 123,
      "hints": [
        "<string>"
      ],
      "unsafe": true,
      "oneOf": [
        {
          "type": "string",
          "title": "<string>",
          "description": "<string>",
          "default": {},
          "category": "<string>",
          "categoryPriority": 123,
          "hints": [
            "<string>"
          ],
          "unsafe": true
        }
      ]
    }
  ],
  "properties": {},
  "propertyGroups": [
    {
      "label": "<string>",
      "properties": [
        "<string>"
      ]
    }
  ],
  "required": [
    "<string>"
  ],
  "title": "<string>",
  "type": "array",
  "unsafe": true
}

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

type
string
required

The query rewrite type. Use /query-rewrite/schema to get the available query rewrite types.

Query Parameters

context
string
required

The app to which this object belongs, as app:SomeApp. If the app doesn't exist, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.

Response

200 - */*

OK

Represents a structured object type definition used in the Experience Manager.