getFileURL

get

/ccstore/v1/files/urlMapping/{id}

Get File URL. Get a file URL given the path. Sends the URL as text(not as JSON). Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
ID of the file.
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request

Response

Supported Media Types
  • text/plain
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getFileURL_response
Example text/plain
http://localhost:8080/file/ccimg/missing-product.jpg
Default Response
The error response
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