View rule definition

get

/gsadmin/v1/{appName}/content/{contentCollectionFolder}/{Rule}

Returns rule configuration. If zip extension is specified (add ".zip" at the end of the path), rule configuration is exported as a zip file.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

Rule configuration.
Body ()
Root Schema : Rule
Type: object
Represents a rule configuration.
Show Source
Nested Schema : ContentItemObject
Type: object
Show Source
Nested Schema : siteIds
Type: array
Specifies the list of site IDs that this rule belongs to
Show Source
Nested Schema : triggers
Type: array
Specifies the trigger conditions when this rule should be triggered. Business user can configure a trigger based on either search term or navigation state.
Show Source
Nested Schema : RuleTrigger
Type: object
Allows you to configure a trigger on a search term or navigation state or both.
Show Source
Nested Schema : dvalIDs
Type: array
List of dimension ID's on which trigger is configured.
Show Source
Back to Top

Examples

The following example shows how to view the rule configuration named aboutus:

curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/content/additionalContent/aboutus
Back to Top