getAllSlotDescriptors
get
/ccadmin/v1/slotDescriptors
Get All Slot Descriptors. Retrieves all Slot Descriptors, optionally filtered by page type availability
Request
Supported Media Types
- application/json
Query Parameters
-
includeSlotsAvailableToAll(optional): boolean
If using pagetype, include slots which are available to all.
-
pageType(optional): string
Page type to filter slot descriptor by availability.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getAllSlotDescriptors_response
Type:
Show Source
object
-
autoWrap(optional):
boolean
description of autoWrap
-
items(optional):
array items
Array of slot types, optionally filtered by page type
Nested Schema : items
Type:
Show Source
object
-
availableToAllPages(optional):
boolean
Whether or not this slot type is available to all page types
-
configurable(optional):
boolean
Whether or not this slot type has configuration properties
-
displayName(optional):
string
Localised name for this slot type
-
id(optional):
string
ID for this slot type
-
isLatestVersion(optional):
boolean
Whether or not this is the latest verison of this slot type
-
latestVersion(optional):
integer
Latest version of this slot type
-
minWidth(optional):
integer
Minimum number of columns, in layout grid, that this slot type fits into
-
pageTypes(optional):
array pageTypes
Array of page types that this slot type can be added to. Will be empty if availableToAllPages is true.
-
regions(optional):
array regions
Default sub-regions for this slot type
-
repositoryId(optional):
string
Id for the slot type in the repository
-
slotType(optional):
string
The type name for this slot type
-
version(optional):
integer
The version of the slot type
Nested Schema : pageTypes
Type:
array
Array of page types that this slot type can be added to. Will be empty if availableToAllPages is true.
Show Source
Nested Schema : items
Type:
Show Source
object
-
alias(optional):
string
path for the page type
-
id(optional):
string
Id of the page type
-
repositoryId(optional):
string
Id for the page type in the repository
-
shortName(optional):
string
Name of the page type
Nested Schema : items
Type:
Show Source
object
-
repositoryId(optional):
string
Id for the region in the repository
Example Response (application/json)
{
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadminui/v1/slotDescriptors?pageType=homePageType&includeSlotsAvailableToAll=true"
}
],
"autoWrap":true,
"items":[
{
"isLatestVersion":true,
"regions":[
{
"repositoryId":"randomSlotControl"
},
{
"repositoryId":"randomSlotVariantOne"
}
],
"slotType":"randomSlot",
"displayName":"Random Slot",
"availableToAllPages":true,
"minWidth":1,
"version":1,
"latestVersion":1,
"maxVariants":3,
"repositoryId":"randomSlot",
"hiddenFromSiteStudio":false,
"id":"randomSlot",
"pageTypes":[
],
"configurable":false
}
]
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code