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: string
Text string to apply to name field to filter results.
limit
Type: integer
Query limit.
offset
Type: integer
Query offset.
sort
Type: string
Required: true
A sort directive in the form: field:direction where direction is asc or desc.
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listSSEFiles_response
Nested Schema : items
Type: array
Result items.
Nested Schema : sort
Type: array
Sort directive.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
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 Response
The 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.|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

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"
  }]
}