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