getComponentInstance
get
/ccadmin/v1/componentInstances/{id}
Retrieve Component Instance by ID.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
ID for Component Instance.
Response
Supported Media Types
- application/json
200 Response
The response returned upon successfully retrieving a component instance by ID.
Root Schema : getComponentInstance_okResponse
Type:
Show Source
object
-
instance:
object instance
The associated component.
-
links:
array links
-
name:
string
Default Value:
ExampleOfClone
Name for this component instance. -
notes:
string
Default Value:Notes for this component instance.
-
settings:
object settings
Nested Schema : instance
Type:
object
The associated component.
Show Source
-
component:
object component
The associated component.
-
displayName:
string
Default Value:
ProductImageViewer
Display name for component. -
id:
integer
Default Value:
400001
ID attributed to this component instance. Can be the same as the repositoryId. -
repositoryId:
integer
Default Value:
400001
Repository ID attributed to this component instance. -
version:
integer
Default Value:
1
Version of the component instance.
Nested Schema : settings
Type:
Show Source
object
-
thumbnailLocation:
string
Default Value:
left
Location of the thumbnail for this component instance.
Nested Schema : component
Type:
object
The associated component.
Show Source
-
configurable:
boolean
Default Value:
true
Whether the component can be configured from Design Studio or not. -
displayName:
string
Default Value:
ProductImageViewer
Display name for component. -
global:
string
Default Value:
oracle.doceng.json.BetterJsonNull@246ae019
Whether the component is global. - hiddenFromSiteStudio: boolean
-
id:
integer
Default Value:
300200
ID attributed to this component. Can be the same as the repositoryId. -
isLatestVersion:
boolean
Default Value:
true
Is the component the latest version. -
latestVersion:
integer
Default Value:
1
Latest version of the component. -
namespace:
string
Default Value:
occ.react
Namespace this component exists within. -
providesContext:
string
Default Value:
oracle.doceng.json.BetterJsonNull@28895275
Contexts provided relating to this component. -
repositoryId:
integer
Default Value:
300200
Repository ID attributed to this component. -
requiresContext:
string
Default Value:
product_context,container_context
Contexts required relating to this component. -
root:
string
Default Value:
/clientApplications/core-commerce-reference-store/components/ProductImageViewer
Directory root for this component. -
source:
integer
Default Value:
101
ID for the source used to create component. -
type:
string
Default Value:
component
The type of repository item. Will always be component here. -
version:
integer
Default Value:
1
Version of the component.
Nested Schema : items
Type:
Show Source
object
-
href:
string
Default Value:
http://localhost:9080/ccadmin/v1/componentInstances/400002?custom=...
Specifies the location (URL) of the external resource. -
rel:
string
Default Value:
self
The relationship between the current document and the linked document/resource.
404 Response
The error response returned when ID value is not recognised.
Root Schema : getComponentInstance_doesNotExistResponse
Type:
Show Source
object
-
errorCode:
string
Default Value:
33001
The internal error code -
message:
string
Default Value:
Specified widget 'exampleId' does not exist.
The HTTP error message -
status:
string
Default Value:
404
The HTTP status code