getFacetList
get
/gsadmin/v1/{appName}/content/facets/{facetListName}
View a facet list.
Request
Supported Media Types
- application/json
Path Parameters
- appName
-
Type:
string
Required:true
Specifies the name of your application. For example, "cloud".- facetListName
Type:string
Required:true
Specifies the name of the facet list. For example, "default".
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
200 Response
A facet list that defines the explicit order of facets at a given location.
Body
Represents a facet order list.
Root Schema : FacetList
Type:
object
Represents a facet order list.
- contentItem
-
Type:
object
contentItemRequired:true
Additional Properties Allowed: - ecr:createDate
-
Type:
string
- ecr:lastModified
-
Type:
string
- ecr:lastModifiedBy
-
Type:
string
- ecr:type
-
Type:
string
Required:true
Default Value:content-item
Allowed Values:[ "content-item" ]
- priority
-
Type:
integer
(int32
)Required:true
- triggers
-
Type:
array
triggersRequired:true
Additional Properties Allowed: - workflowState
-
Type:
string
Nested Schema : contentItem
Type:
object
- @type
-
Type:
string
Required:true
Default Value:GuidedNavigation
- navigation
-
Type:
array
navigationRequired:true
Additional Properties Allowed: - showAll
-
Type:
boolean
Nested Schema : items
Type:
object
- dvalIDs
-
Type:
array
dvalIDsAdditional Properties Allowed:Specifies a list of locations (facet or facet value IDs) in the storefront where the facet list is to be used. - exactLocation
-
Type:
boolean
- matchmode
-
Type:
string
Specifies the match mode to use for the search terms. The value should be one of the following: MATCHPHRASE, MATCHEXACT, MATCHALL. - searchTerms
-
Type:
string
Specifies the search terms based location in the storefront where the facet list is to be used.
Nested Schema : dvalIDs
Type:
array
Specifies a list of locations (facet or facet value IDs) in the storefront where the facet list is to be used.
-
Type:
string
Examples
The following example shows how to view a facet list:
curl -H "Authorization:Bearer <token>" -X GET http://<host>:<port>/gsadmin/v1/cloud/content/facets/default