getAllExtensions
get
/ccadmin/v1/extensions
Get All Extensions. Get summary information on all Extensions currently loaded on the system.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getAllExtensions_response
- items
-
Type:
arrayitemsAdditional Properties Allowed:list of extensions
Nested Schema : items
Nested Schema : items
Type:
object- creationTime
-
Type:
stringtime the Extension was created. - creator
-
Type:
stringname of the creator of the Extension. - description
-
Type:
stringsummary description of the Extension. - developerId
-
Type:
stringID of developer who created the Extension. - enabled
-
Type:
booleantrue if Extension is currently enabled. - installedBy
-
Type:
stringuser who installed the Extension. - installedByUserName
-
Type:
stringuser who installed the Extension. - installedTime
-
Type:
stringdate and time the Extension was installed. - items
-
Type:
arrayitemsAdditional Properties Allowed:list of elements or widgets - lastModifiedBy
-
Type:
stringuser who last modified the Extension. - modificationTime
-
Type:
stringlast time the Extension was modified in any way. - name
-
Type:
stringname of the Extension. - origin
-
Type:
stringwhere the zip file came from - will always be 'upload' for now. - readme
-
Type:
stringcontents of the README file - if any. - repositoryId
-
Type:
stringID the Extension is stored against in the Repository. - version
-
Type:
stringversion number of the Extension. - zipPath
-
Type:
stringpath of the zip file on the server that contains the Extension.
Nested Schema : items
Nested Schema : items
Type:
object- repositoryId
-
Type:
stringID of item (Element or Widget) contained in the Extension.
Example application/json
{
"items":[
{
"installedTime":"2014-06-20T09:28:31.562Z",
"creator":"Oracle Corp.",
"creationTime":"2014-01-01",
"origin":"upload",
"lastModifiedBy":"admin",
"description":"Delivering New Widget with Element",
"readme":null,
"version":"1",
"enabled":true,
"developerId":"999999",
"zipPath":"extensions/2014520102830313_workingUnderElements.zip",
"modificationTime":"2014-06-20T09:28:31.562Z",
"repositoryId":"4ab03536-9c6f-41ce-84d8-45934bed0693",
"name":"Widget with Element",
"installedBy":"admin",
"installedByUserName":"Amber Admin",
"items":[
{
"repositoryId":"100001"
},
{
"repositoryId":"100002"
}
]
}
]
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{"items": [{
"installedTime": "2014-06-20T09:28:31.562Z",
"creator": "Oracle Corp.",
"creationTime": "2014-01-01",
"origin": "upload",
"lastModifiedBy": "admin",
"description": "Delivering New Widget with Element",
"readme": null,
"version": "1",
"enabled": true,
"developerId": "999999",
"zipPath": "extensions/2014520102830313_workingUnderElements.zip",
"modificationTime": "2014-06-20T09:28:31.562Z",
"repositoryId": "4ab03536-9c6f-41ce-84d8-45934bed0693",
"name": "Widget with Element",
"installedBy": "admin",
"installedByUserName": "Amber Admin",
"items": [
{"repositoryId": "100001"},
{"repositoryId": "100002"}
]
}]}