GET
/
experience-manager
/
rules
/
{ruleId}
Get a rule
curl --request GET \
  --url https://{FUSION HOST}/api/experience-manager/rules/{ruleId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "campaign_id": "<string>",
  "createdOn": "2023-11-07T05:31:56Z",
  "deployed": true,
  "description": "<string>",
  "display_type": "<string>",
  "doc_type": "<string>",
  "effective_range": [
    "<string>"
  ],
  "filters": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "groups": "<string>",
  "id": "<string>",
  "matching": "keywords",
  "name": "<string>",
  "priority": 123,
  "query_profile_id_ss": [
    "<string>"
  ],
  "response_values": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "review": "approved",
  "rollup": "<string>",
  "search_terms": [
    "<string>"
  ],
  "tags": [
    "<string>"
  ],
  "target_segments": [
    "<string>"
  ],
  "updatedOn": "2023-11-07T05:31:56Z",
  "variant_id": "<string>"
}

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

ruleId
string
required

Unique identifier of the rule to retrieve.

Query Parameters

context
string
required

Application context for retrieving the rule.

staging
boolean
required

Indicates whether to retrieve the rule from a staging environment.

Response

200
application/json

Rule retrieved successfully.

Represents the response containing details of a rule in the Experience Manager.