getFileURLs

put

/ccstore/v1/files/urlMappings

Get File URLs. Get a number of file URLs (mappings) given a number of file paths. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : getFileURLs_request
Type: object
Show Source
Example:
{
    "filePaths":[
        "/ccimg/missing-product.jpg"
    ]
}
Nested Schema : filePaths
Type: array
The IDs of the files
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getFileURLs_response
Type: object
Show Source
Example Response (application/json)
{
    "/ccimg/missing-product.jpg":"http://localhost:8080/file/ccimg/missing-product.jpg"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top