getInstancesForStackDescriptor
get
/ccadmin/v1/stackDescriptors/{stackType}/instances
Get Instances For Stack Descriptor. Get all instances of a particular Stack descriptor type.
Request
Supported Media Types
- application/json
Path Parameters
-
stackType(required): string
The stack type of the Stack descriptor
Query Parameters
-
includeLayoutAssociations: boolean
If set to true (default is false), layout associations of the instances is passed in endpoint response.
-
limit: integer
This is the field to determine number of records to be fetched per REST call. If provided returns paginated response.
-
offset: integer
This field determines the offset/starting index from which data to be fetched. If provided returns paginated response.
-
search: string
If search provided (default is empty), returns paginated response matching the search query param with display name of instances.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getInstancesForStackDescriptor_response
Type:
Show Source
object
-
items:
object items
Array of stack instances.
Nested Schema : items
Type:
object
Array of stack instances.
Show Source
-
displayName:
string
The stack display name
-
repositoryId:
string
The Repository Id
-
updateAvailable:
integer
If Updated version of the stack available
-
version:
integer
version of the stack instance
Example Response (application/json)
[
{
"displayName":"Adaptive Region",
"repositoryId":"core-commerce-reference-store-re11723785",
"updateAvailable":false,
"version":1
},
{
"displayName":"Adaptive Region",
"repositoryId":"core-commerce-reference-store-re11640234",
"updateAvailable":false,
"version":1
}
]
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
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:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code