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:
ExampleOfCloneName for this component instance. -
notes:
string
Default Value:Notes for this component instance.
-
settings:
object settings
Nested Schema : instance
Type:
objectThe associated component.
Show Source
-
component:
object component
The associated component.
-
displayName:
string
Default Value:
ProductImageViewerDisplay name for component. -
id:
integer
Default Value:
400001ID attributed to this component instance. Can be the same as the repositoryId. -
repositoryId:
integer
Default Value:
400001Repository ID attributed to this component instance. -
version:
integer
Default Value:
1Version of the component instance.
Nested Schema : settings
Type:
Show Source
object-
thumbnailLocation:
string
Default Value:
leftLocation of the thumbnail for this component instance.
Nested Schema : component
Type:
objectThe associated component.
Show Source
-
configurable:
boolean
Default Value:
trueWhether the component can be configured from Design Studio or not. -
displayName:
string
Default Value:
ProductImageViewerDisplay name for component. -
global:
string
Default Value:
oracle.doceng.json.BetterJsonNull@6d8c7b67Whether the component is global. - hiddenFromSiteStudio: boolean
-
id:
integer
Default Value:
300200ID attributed to this component. Can be the same as the repositoryId. -
isLatestVersion:
boolean
Default Value:
trueIs the component the latest version. -
latestVersion:
integer
Default Value:
1Latest version of the component. -
namespace:
string
Default Value:
occ.reactNamespace this component exists within. -
providesContext:
string
Default Value:
oracle.doceng.json.BetterJsonNull@608fa7ceContexts provided relating to this component. -
repositoryId:
integer
Default Value:
300200Repository ID attributed to this component. -
requiresContext:
string
Default Value:
product_context,container_contextContexts required relating to this component. -
root:
string
Default Value:
/clientApplications/core-commerce-reference-store/components/ProductImageViewerDirectory root for this component. -
source:
integer
Default Value:
101ID for the source used to create component. -
type:
string
Default Value:
componentThe type of repository item. Will always be component here. -
version:
integer
Default Value:
1Version 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:
selfThe 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:
33001The internal error code -
message:
string
Default Value:
Specified widget 'exampleId' does not exist.The HTTP error message -
status:
string
Default Value:
404The HTTP status code