listSSEFiles
get
/ccadmin/v1/serverExtensions
List SSEFiles. Get a list of uploaded files. Optionally takes the x-ccasset-language header to get translated content in another language.
Request
Supported Media Types
- application/json
Query Parameters
- filter
-
Type:
stringText string to apply to name field to filter results.- limit
Type:integerQuery limit.- offset
Type:integerQuery offset.- sort
Type:stringRequired:trueA sort directive in the form: field:direction where direction is asc or desc.Header Parameters- X-CCAsset-Language
-
Type:
stringThe asset language of the request
Response
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : listSSEFiles_response- items
-
Type:
arrayitemsAdditional Properties Allowed:Result items. - limit
-
Type:
integerQuery limit. - links
-
Type:
arraylinksAdditional Properties Allowed:List of navigation links. - offset
-
Type:
integerQuery offset. - sort
-
Type:
arraysortAdditional Properties Allowed:Sort directive. - total
-
Type:
integerTotal items found by query. Deprecated. - totalResults
-
Type:
integerTotal items found by query.
Nested Schema : itemsNested Schema : linksNested Schema : sortNested Schema : itemsType:object- checksum
-
Type:
integerFile checksum. Omitted for folders. - lastModified
-
Type:
stringLast modified date and time. Omitted for folders. - name
-
Type:
stringFile name without path. - path
-
Type:
stringFull path to file, including name. - repositoryId
-
Type:
stringThe repository id of the file. - size
-
Type:
integerFile size in bytes. Omitted for folders. - type
-
Type:
stringThe item type; file. Omited for folders.
Nested Schema : itemsType:object- href
-
Type:
stringThe URL of the link. - rel
-
Type:
stringThe link's relation to the current page of results: next, prev or self.
Nested Schema : itemsType:object- order
-
Type:
stringSort order. - property
-
Type:
stringSort property.
Example application/json
{ "total":1, "totalResults":1, "offset":0, "limit":250, "links":[ { "rel":"self", "href":"http://localhost:9080/ccadminui/v1/serverExtensions" } ], "sort":[ { "property":"id", "order":"asc" } ], "items":[ { "path":"/serverExtensions/externalShippingCalculator.zip", "metadata":{ }, "size":1092820, "repositoryId":"f20001", "name":"externalShippingCalculator.zip", "checksum":-5.7900684961208023E18, "lastModified":"2017-05-09T17:23:56.000Z", "type":"file" } ] }Default ResponseThe error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |33108|The "q" param is not allowed.|BodyRoot Schema : errorModelType: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 : errorsNested Schema : itemsType: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:
{ "total": 1, "totalResults": 1, "offset": 0, "limit": 250, "links": [{ "rel": "self", "href": "http://localhost:9080/ccadminui/v1/serverExtensions" }], "sort": [{ "property": "id", "order": "asc" }], "items": [{ "path": "/serverExtensions/externalShippingCalculator.zip", "metadata": {}, "size": 1092820, "repositoryId": "f20001", "name": "externalShippingCalculator.zip", "checksum": -5790068496120802000, "lastModified": "2017-05-09T17:23:56.000Z", "type": "file" }] }