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
  • application/json
Path Parameters
Rule
Type: string
Required: true
Specifies the name of rule.
appName
Type: string
Required: true
Specifies the name of your application, for example, Discover.
contentCollectionFolder
Type: string
Required: true
Specifies the name of content collection folder.
Security
basicAuth
Type: basic
Description: Basic username/password authentication.

Response

Supported Media Types
  • application/json
  • application/zip
200 Response
Rule configuration.
Body
Represents a rule configuration.
Root Schema : Rule
Type: object
Represents a rule configuration.
Nested Schema : ContentItemObject
Type: object
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.
Nested Schema : RuleTrigger
Type: object
Allows you to configure a trigger on a search term or navigation state or both.
Nested Schema : dvalIDs
Type: array
List of dimension ID's on which trigger is configured.

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