{"id":102,"date":"2016-01-26T00:59:42","date_gmt":"2016-01-26T00:59:42","guid":{"rendered":"http:\/\/192.168.114.129\/?page_id=102"},"modified":"2023-06-24T11:10:36","modified_gmt":"2023-06-24T11:10:36","slug":"get-files","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=102","title":{"rendered":"Retrieve Files"},"content":{"rendered":"<p>This route returns a collection of available media to the Authenticated User.<\/p>\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nGET \/files                                                  \r\n<\/pre>\n<h3>Sample Request URI<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nhttps:\/\/api.4over.com\/files \r\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;entities&quot;:[\r\n    {\r\n      &quot;file_uuid&quot;:&quot;044839cc-fe2c-44e8-9695-82a3003a96e4&quot;,\r\n      &quot;extention&quot;:&quot;pdf&quot;,\r\n      &quot;reference_file_name&quot;:&quot;test.pdf&quot;,\r\n      &quot;uri&quot;:&quot;http:\\\/\\\/dev.api.4over.com\\\/files\\\/044839cc-fe2c-44e8-9695-82a3003a96e4&quot;\r\n    },\r\n    {\r\n      &quot;file_uuid&quot;:&quot;aa48d768-0f22-40fe-95ff-31931c2c3d78&quot;,\r\n      &quot;extention&quot;:&quot;pdf&quot;,\r\n      &quot;reference_file_name&quot;:&quot;test.pdf&quot;,\r\n      &quot;uri&quot;:&quot;http:\\\/\\\/dev.api.4over.com\\\/files\\\/aa48d768-0f22-40fe-95ff-31931c2c3d78&quot;\r\n    },\r\n    {\r\n      &quot;file_uuid&quot;:&quot;bfcefbda-1d74-41b1-a2f8-1630b72aa20a&quot;,\r\n      &quot;extention&quot;:&quot;png&quot;,\r\n      &quot;reference_file_name&quot;:&quot;136691309451797046916d3.png&quot;,\r\n      &quot;uri&quot;:&quot;http:\\\/\\\/dev.api.4over.com\\\/files\\\/bfcefbda-1d74-41b1-a2f8-1630b72aa20a&quot;\r\n    },\r\n    {\r\n      &quot;file_uuid&quot;:&quot;1de30b9a-4bb9-484d-b723-930aaf6370a5&quot;,\r\n      &quot;extention&quot;:&quot;pdf&quot;,\r\n      &quot;reference_file_name&quot;:&quot;EDDM_Pub_UGR&amp;P_v2.pdf&quot;,\r\n      &quot;uri&quot;:&quot;http:\\\/\\\/dev.api.4over.com\\\/files\\\/1de30b9a-4bb9-484d-b723-930aaf6370a5&quot;\r\n    },\r\n    {\r\n      &quot;file_uuid&quot;:&quot;9029cac0-c9ae-45bb-a6b8-aa3bb1fb3cf1&quot;,\r\n      &quot;extention&quot;:&quot;png&quot;,\r\n      &quot;reference_file_name&quot;:&quot;demo_files.png&quot;,\r\n      &quot;uri&quot;:&quot;http:\\\/\\\/dev.api.4over.com\\\/files\\\/9029cac0-c9ae-45bb-a6b8-aa3bb1fb3cf1&quot;\r\n    }\r\n  }\r\n],\r\n&quot;currentPage&quot;:1,\r\n&quot;maximumPages&quot;:1\r\n} \r\n<\/pre>\n<p>This route returns the binary content of specified file resource specified by the UUID.<\/p>\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nGET \/files\/{file_id}                                                 \r\n<\/pre>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n@param file_id {uuid} UUID of file \r\n<\/pre>\n<h3>Sample Request URI<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nhttps:\/\/api.4over.com\/files\/3a886626-63f9-4f1c-9c1e-7c8e04c245d7\r\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>text<\/p>\n<p>The file will be returned in the response.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This route returns a collection of available media to the Authenticated User. Resource URI Sample Request URI html Sample Response JSON This route returns the binary content of specified file resource specified by the UUID. Resource URI Sample Request URI html Sample Response text The file will be returned in the response.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":100,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-102","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":4,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/102\/revisions"}],"predecessor-version":[{"id":491,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/102\/revisions\/491"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/100"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}