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
-
environmentType: string
It specifies the environment where operation needs to be performed. Default value is live. (value: preview or live)
-
filter: string
Text string to apply to name field to filter results.
-
limit: integer
Query limit.
-
offset: integer
Query offset.
-
sort(required): string
A sort directive in the form: field:direction where direction is asc or desc.
Header Parameters
-
X-CCAsset-Language: string
The asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listSSEFiles_response
Type:
Show Source
object
-
items:
array items
Result items.
-
limit:
integer
Query limit.
-
links:
array links
List of navigation links.
-
offset:
integer
Query offset.
-
sort:
array sort
Sort directive.
-
total:
integer
Total items found by query. Deprecated.
-
totalResults:
integer
Total items found by query.
Nested Schema : items
Type:
Show Source
object
-
checksum:
integer
File checksum. Omitted for folders.
-
lastModified:
string
Last modified date and time. Omitted for folders.
-
name:
string
File name without path.
-
path:
string
Full path to file, including name.
-
repositoryId:
string
The repository id of the file.
-
size:
integer
File size in bytes. Omitted for folders.
-
type:
string
The item type; file. Omited for folders.
Nested Schema : items
Type:
Show Source
object
-
href:
string
The URL of the link.
-
rel:
string
The link's relation to the current page of results: next, prev or self.
Nested Schema : items
Type:
Show Source
object
-
order:
string
Sort order.
-
property:
string
Sort property.
Example Response (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":"-5790068496120802300",
"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.|
|100325|Provided environment type value {0} is invalid. Please provide a valid value.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code