This route returns a collection of available media to the Authenticated User.
Resource URI
GET /files
Sample Request URI
html
https://api.4over.com/files
Sample Response
JSON
{ "entities":[ { "file_uuid":"044839cc-fe2c-44e8-9695-82a3003a96e4", "extention":"pdf", "reference_file_name":"test.pdf", "uri":"http:\/\/dev.api.4over.com\/files\/044839cc-fe2c-44e8-9695-82a3003a96e4" }, { "file_uuid":"aa48d768-0f22-40fe-95ff-31931c2c3d78", "extention":"pdf", "reference_file_name":"test.pdf", "uri":"http:\/\/dev.api.4over.com\/files\/aa48d768-0f22-40fe-95ff-31931c2c3d78" }, { "file_uuid":"bfcefbda-1d74-41b1-a2f8-1630b72aa20a", "extention":"png", "reference_file_name":"136691309451797046916d3.png", "uri":"http:\/\/dev.api.4over.com\/files\/bfcefbda-1d74-41b1-a2f8-1630b72aa20a" }, { "file_uuid":"1de30b9a-4bb9-484d-b723-930aaf6370a5", "extention":"pdf", "reference_file_name":"EDDM_Pub_UGR&P_v2.pdf", "uri":"http:\/\/dev.api.4over.com\/files\/1de30b9a-4bb9-484d-b723-930aaf6370a5" }, { "file_uuid":"9029cac0-c9ae-45bb-a6b8-aa3bb1fb3cf1", "extention":"png", "reference_file_name":"demo_files.png", "uri":"http:\/\/dev.api.4over.com\/files\/9029cac0-c9ae-45bb-a6b8-aa3bb1fb3cf1" } } ], "currentPage":1, "maximumPages":1 }
This route returns the binary content of specified file resource specified by the UUID.
Resource URI
GET /files/{file_id}
@param file_id {uuid} UUID of file
Sample Request URI
html
https://api.4over.com/files/3a886626-63f9-4f1c-9c1e-7c8e04c245d7
Sample Response
text
The file will be returned in the response.