{"info":{"_postman_id":"195a13b2-a1f3-44c7-9644-7a544cd4e83c","name":"unoapp resources api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"2370093","collectionId":"195a13b2-a1f3-44c7-9644-7a544cd4e83c","publishedId":"SVYouKkJ","public":true,"customColor":{"top-bar":"303030","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-08-01T18:42:18.000Z"},"item":[{"name":"folders","item":[{"name":"create a folder","id":"0c05a2b3-fac6-4caa-b03a-cc738a466cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>required | string | name of the folder</p>\n","key":"name","type":"text","value":"my    folder"},{"key":"description","value":"my folder description","description":"<p>optional | string | description for the folder</p>\n","type":"text"},{"key":"parent","value":"parentfolderid","description":"<p>optional | string | ID of the parent folder (if this folder will be nested inside of another)</p>\n","type":"text"}]},"url":"/api/v1/folders","urlObject":{"path":["api","v1","folders"],"query":[],"variable":[]}},"response":[{"id":"0ba93a49-1d0d-414b-a144-e8c4161db28b","name":"create a folder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"required | string | provided by UNOapp","key":"api-token","type":"text","value":"providedbyunoapp"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"folder name\",\n\t\"description\": \"folder description\",\n\t\"parent\": \"asdfasdf123123\"\n}"},"url":"/api/v1/folders"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"folder successfully created\",\n    \"payload\": {\n        \"sub_folders\": [],\n        \"_id\": \"folderId\",\n        \"parent\": \"parentFolderId\",\n        \"name\": \"name of folder\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2019-08-07T09:28:16.528Z\",\n        \"updated_at\": \"2019-08-07T09:28:16.528Z\"\n    }\n}"}],"_postman_id":"0c05a2b3-fac6-4caa-b03a-cc738a466cbc"},{"name":"get all folders in root directory","id":"82756129-b7d8-4a2d-b768-53b5ee39e455","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"url":"/api/v1/folders?page=7&limit=2","urlObject":{"path":["api","v1","folders"],"query":[{"description":{"content":"<p>optional | number | if not provided, will default to 1</p>\n","type":"text/plain"},"key":"page","value":"7"},{"description":{"content":"<p>optional | number | if not provided, will default to 50</p>\n","type":"text/plain"},"key":"limit","value":"2"}],"variable":[]}},"response":[{"id":"a4c47744-a9bc-4c67-9fcd-467b49953633","name":"get all folders in root directory","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"required | string | provided by UNOapp","key":"api-token","type":"text","value":"providedbyunoapp"}],"url":"/api/v1/folders"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"msg\": \"folders found\",\n  \"payload\": {\n    \"total_folders\": 19,\n    \"total_pages\": 10,\n    \"page\": 10,\n    \"per_page\": 1,\n    \"folders\": [\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [\n          {\n            \"_id\": \"folderId\",\n            \"sub_folders\": [],\n            \"parent\": \"parentFolderId\",\n            \"name\": \"grand child 2\",\n            \"description\": \"folder description\",\n            \"created_at\": \"2019-08-07T16:51:10.017Z\",\n            \"updated_at\": \"2019-08-07T16:51:10.017Z\"\n          },\n          {\n            \"_id\": \"folderId\",\n            \"sub_folders\": [],\n            \"parent\": \"parentFolderId\",\n            \"name\": \"grand child 2\",\n            \"description\": \"folder description\",\n            \"created_at\": \"2019-08-07T16:51:10.697Z\",\n            \"updated_at\": \"2019-08-07T16:51:10.697Z\"\n          },\n          {\n            \"_id\": \"folderId\",\n            \"sub_folders\": [],\n            \"parent\": \"parentFolderId\",\n            \"name\": \"grand child 2\",\n            \"description\": \"folder description\",\n            \"created_at\": \"2019-08-07T16:51:11.493Z\",\n            \"updated_at\": \"2019-08-07T16:51:11.493Z\"\n          },\n          {\n            \"_id\": \"folderId\",\n            \"sub_folders\": [],\n            \"parent\": \"parentFolderId\",\n            \"name\": \"grand child 2\",\n            \"description\": \"folder description\",\n            \"created_at\": \"2019-08-07T16:51:12.228Z\",\n            \"updated_at\": \"2019-08-07T16:51:12.228Z\"\n          },\n          {\n            \"_id\": \"folderId\",\n            \"sub_folders\": [],\n            \"parent\": \"parentFolderId\",\n            \"name\": \"grand child 2\",\n            \"description\": \"folder description\",\n            \"created_at\": \"2019-08-07T17:10:51.217Z\",\n            \"updated_at\": \"2019-08-07T17:10:51.217Z\"\n          }\n        ],\n        \"parent\": \"parentFolderId\",\n        \"name\": \"grand child 2\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2019-08-07T16:27:13.927Z\",\n        \"updated_at\": \"2019-08-07T17:10:51.221Z\"\n      }\n    ]\n  }\n}"}],"_postman_id":"82756129-b7d8-4a2d-b768-53b5ee39e455"},{"name":"get a folder by id","id":"b2024542-b24a-4946-9cb0-2a2d36e1abda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"url":"/api/v1/folders/:folder","urlObject":{"path":["api","v1","folders",":folder"],"query":[],"variable":[{"description":{"content":"<p>required | string </p>\n","type":"text/plain"},"type":"string","value":"asdfa3234asdfa3asfasd","key":"folder"}]}},"response":[{"id":"3e5d71ef-7d38-4208-a98c-46a20aa4202d","name":"get a folder by id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"api-token","type":"text","value":"{{api_token}}"},{"key":"auth-token","type":"text","value":"{{auth_token}}"}],"url":{"raw":"/api/v1/folders/:folder","path":["api","v1","folders",":folder"],"variable":[{"key":"folder","type":"string","value":"{{folder_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"Origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1411"},{"key":"ETag","value":"W/\"583-ltURzwHysSv1moMaqkdPdxCd4fA\""},{"key":"Date","value":"Wed, 07 Aug 2019 09:39:22 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"msg\": \"folder found\",\n  \"payload\": {\n    \"_id\": \"folderId\",\n    \"sub_folders\": [\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [],\n        \"parent\": \"parentFodlerId\",\n        \"name\": \"folder name\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2018-08-07T16:51:10.017Z\",\n        \"updated_at\": \"2018-08-07T16:51:10.017Z\"\n      },\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [],\n        \"parent\": \"parentFodlerId\",\n        \"name\": \"folder name\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2018-08-07T16:51:10.697Z\",\n        \"updated_at\": \"2018-08-07T16:51:10.697Z\"\n      },\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [],\n        \"parent\": \"parentFodlerId\",\n        \"name\": \"folder name\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2018-08-07T16:51:11.493Z\",\n        \"updated_at\": \"2018-08-07T16:51:11.493Z\"\n      },\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [],\n        \"parent\": \"parentFodlerId\",\n        \"name\": \"folder name\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2018-08-07T16:51:12.228Z\",\n        \"updated_at\": \"2018-08-07T16:51:12.228Z\"\n      },\n      {\n        \"_id\": \"folderId\",\n        \"sub_folders\": [],\n        \"parent\": \"parentFodlerId\",\n        \"name\": \"folder name\",\n        \"description\": \"folder description\",\n        \"created_at\": \"2018-08-07T17:10:51.217Z\",\n        \"updated_at\": \"2018-08-07T17:10:51.217Z\"\n      }\n    ],\n    \"parent\": \"parentFodlerId\",\n    \"name\": \"folder name\",\n    \"description\": \"folder description\",\n    \"created_at\": \"2018-08-07T16:27:13.927Z\",\n    \"updated_at\": \"2018-08-07T17:10:51.221Z\"\n  }\n}"}],"_postman_id":"b2024542-b24a-4946-9cb0-2a2d36e1abda"},{"name":"get resources in a folder","id":"94a9c841-951a-4133-98e2-e1fb5995eb5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api_token}}"}],"url":"/api/v1/folders/:folder/resources?page=1&limit=10&image=0&document=0&file=0&video=1&audio=0","urlObject":{"path":["api","v1","folders",":folder","resources"],"query":[{"description":{"content":"<p>optional | number | default is 1</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>optional | number | default is 50</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>optional | number | values[1, 0] | defaut = 1</p>\n","type":"text/plain"},"key":"image","value":"0"},{"description":{"content":"<p>optional | number | values[1, 0] | defaut = 1</p>\n","type":"text/plain"},"key":"document","value":"0"},{"description":{"content":"<p>optional | number | values[1, 0] | defaut = 1</p>\n","type":"text/plain"},"key":"file","value":"0"},{"description":{"content":"<p>optional | number | values[1, 0] | defaut = 1</p>\n","type":"text/plain"},"key":"video","value":"1"},{"description":{"content":"<p>optional | number | values[1, 0] | defaut = 1</p>\n","type":"text/plain"},"key":"audio","value":"0"}],"variable":[{"description":{"content":"<p>required | string </p>\n","type":"text/plain"},"type":"string","value":"{{folder_id}}","key":"folder"}]}},"response":[{"id":"fc0311ca-d3bb-4d61-a517-fd115975c082","name":"get resources of by folder","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api_token}}"}],"url":{"raw":"/api/v1/resources/:folder?page=1&limit=10&image=0&document=0&file=0&video=1&audio=0","path":["api","v1","resources",":folder"],"query":[{"key":"page","value":"1","description":"optional | number | default is 1"},{"key":"limit","value":"10","description":"optional | number | default is 50"},{"key":"image","value":"0","description":"optional | number | values[1, 0] | defaut = 1"},{"key":"document","value":"0","description":"optional | number | values[1, 0] | defaut = 0"},{"key":"file","value":"0","description":"optional | number | values[1, 0] | defaut = 0"},{"key":"video","value":"1","description":"optional | number | values[1, 0] | defaut = 0"},{"key":"audio","value":"0","description":"optional | number | values[1, 0] | defaut = 0"}],"variable":[{"description":"required | string ","key":"folder","value":"{{folder_id}}"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"resources found\",\n    \"payload\": {\n        \"total_resources\": 19,\n        \"total_pages\": 2,\n        \"page\": 1,\n        \"per_page\": 10,\n        \"resources\": [\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 1\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:08.742Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 2\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:10.514Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 4\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:13.678Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 5\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:14.852Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 6\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:16.173Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 8\",\n                \"description\": \"description of file\",\n                \"content_type\": \"video/mp4\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:18.106Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 9\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:19.386Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 10\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:20.880Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 111\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:22.353Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            },\n            {\n                \"_id\": \"resourceId\",\n                \"tags\": [\n                    \"tag 1\",\n                    \"tag 2\",\n                    \"tag 3\"\n                ],\n                \"name\": \"file 11\",\n                \"description\": \"description of file\",\n                \"content_type\": \"image/jpg\",\n                \"folder\": \"5d4b597f091b7e371c7464c8\",\n                \"full_url\": \"urlForTheFile.png\",\n                \"auto_labels\": [],\n                \"auto_logos\": [],\n                \"auto_objects\": [],\n                \"created_at\": \"2017-10-07T23:26:25.030Z\",\n                \"updated_at\": \"2017-10-07T23:54:42.089Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"94a9c841-951a-4133-98e2-e1fb5995eb5f"},{"name":"delete a folder","id":"b0d48ab1-ecce-412d-9566-970643009786","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"description":"<p>required | string</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"url":"/api/v1/folders/:folder","description":"<p><strong>Caution:</strong> If the folder contains resources, resources within that folder will no longer be accessible.</p>\n","urlObject":{"path":["api","v1","folders",":folder"],"query":[],"variable":[{"description":{"content":"<p>required | string</p>\n","type":"text/plain"},"type":"string","value":"asdfasdf123123asdfasdf","key":"folder"}]}},"response":[{"id":"87e72787-de2b-44d8-9d89-982a99e8af52","name":"delete a folder","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"api-token","type":"text","value":"{{api_token}}"},{"key":"auth-token","type":"text","value":"{{auth_token}}"}],"url":{"raw":"/api/v1/folders/:folder","path":["api","v1","folders",":folder"],"variable":[{"description":"required | string","key":"folder","type":"string","value":"{{folder_id}}"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"folder successfully deleted\"\n}"}],"_postman_id":"b0d48ab1-ecce-412d-9566-970643009786"}],"id":"3d51d268-7c56-4210-aca9-7cce31deb5cb","_postman_id":"3d51d268-7c56-4210-aca9-7cce31deb5cb","description":""},{"name":"resources","item":[{"name":"create a resource","id":"3eafbf20-6405-4efd-b8d3-b4e275d8e389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string | provided by UNOapp</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>required | string | one of  ['application/msword', 'application/pdf', 'application/x-compressed', 'application/zip', 'application/gzip', 'application/x-gzip', 'audio/basic', 'audio/L24', 'audio/mp4', 'audio/mpeg', 'text/css', 'text/csv', 'text/html', 'text/plain', 'text/vcard', 'text/xml', 'text/rtf', 'image/gif', 'image/jpeg', 'image/jpg', 'image/png', 'image/svg+xml', 'image/tiff', 'video/mp4', 'video/x-flv', '    video/quicktime']</p>\n","key":"content_type","type":"text","value":"image/png"},{"description":"<p>required | string | a name for the file</p>\n","key":"name","type":"text","value":"name of file"},{"description":"<p>optional | string  | description of the file</p>\n","key":"description","type":"text","value":"description of file"},{"description":"<p>optional | string | if no folder is passed, file will be uploaded to the root directory</p>\n","key":"folder","type":"text","value":"folderId"},{"description":"<p>optional | array | any tags that you would like associated with the file</p>\n","key":"tags","type":"text","value":"['tag 1', 'tag 2', 'tag 3']"}]},"url":"/api/v1/resources/upload","description":"<p>A successful response will return the details of the newly created resource as well as the <code>upload_url</code>. The <code>upload_url</code> will be <strong>valid for 5 minutes</strong> and will only accept a single file. </p>\n<p>If multiple uploads are made against the same <code>upload_url</code>, the previously uploaded file will be <strong>overwritten</strong> by the latest file that has been uploaded.</p>\n<p>List of supported <code>Content-Type</code> values:</p>\n<ul>\n<li><code>application/msword</code></li>\n<li><code>application/pdf</code></li>\n<li><code>application/x-compressed</code></li>\n<li><code>application/zip</code></li>\n<li><code>application/gzip</code></li>\n<li><code>application/x-gzip</code></li>\n<li><code>audio/basic</code></li>\n<li><code>audio/L24</code></li>\n<li><code>audio/mp4</code></li>\n<li><code>audio/mpeg</code></li>\n<li><code>text/css</code></li>\n<li><code>text/csv</code></li>\n<li><code>text/html</code></li>\n<li><code>text/plain</code></li>\n<li><code>text/vcard</code></li>\n<li><code>text/xml</code></li>\n<li><code>text/rtf</code></li>\n<li><code>image/gif</code></li>\n<li><code>image/jpeg</code></li>\n<li><code>image/jpg</code></li>\n<li><code>image/png</code></li>\n<li><code>image/svg+xml</code></li>\n<li><code>image/tiff</code></li>\n<li><code>video/mp4</code></li>\n<li><code>video/x-flv</code></li>\n<li><code>video/quicktime</code></li>\n</ul>\n","urlObject":{"path":["api","v1","resources","upload"],"query":[],"variable":[]}},"response":[{"id":"5da0c51c-6b0a-4958-8dc7-7a2dfdbf5d6f","name":"create a resource","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"api-token","type":"text","value":"{{api-token}}"},{"key":"auth-token","type":"text","value":"{{auth-token}}"}],"body":{"mode":"raw","raw":"{\n  \"content_type\": \"image/png\",\n  \"name\": \"name of file\",\n  \"description\": \"description of file\",\n  \"folder\": \"folderId\",\n  \"tags\": [\n    \"tag 1\",\n    \"tag 2\",\n    \"tag 3\"\n  ]\n}"},"url":"{{url}}/api/v1/resources/upload"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"successfully created resource.\",\n    \"payload\": {\n        \"tags\": [\n            \"tag 1\",\n            \"tag 2\",\n            \"tag 3\"\n        ],\n        \"_id\": \"idofnewfile\",\n        \"name\": \"name of file\",\n        \"description\": \"description of file\",\n        \"content_type\": \"image/jpg\",\n        \"folder\": \"idoffolder\",\n        \"file_path\": \"mybusiness/generated_unique_file_name.jpg\",\n        \"full_url\": \"https://this.will.be.the.full.file.url.94546263576.jpg\",\n        \"created_at\": \"2019-08-01T18:10:35.111Z\",\n        \"updated_at\": \"2019-08-01T18:10:35.111Z\",\n        \"upload_url\": \"https://full_url_that_will_be_used_to_upload_the_file.com/must_pass_content_type/when_uploading/the_file\"\n    }\n}"}],"_postman_id":"3eafbf20-6405-4efd-b8d3-b4e275d8e389"},{"name":"upload resource","id":"c969ad9b-93a3-4027-9c70-9b82b39dd80b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>required | string | must use the same content type that was used when creating the resource</p>\n","key":"Content-Type","name":"Content-Type","type":"text","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":"/Users/arun/Downloads/logo.png"}},"url":"upload_url","description":"<p><strong>IMPORTANT:</strong> The <code>Content-Type</code> used during the upload, <strong>MUST</strong> match the <code>Content-Type</code> that was provided when creating the resource.</p>\n<p>A successul upload will return a <code>200</code> response code. The body of the response will be empty. You can rest assured that if the response code is <code>200</code>, that the file has been successfuly uploaded and can be retrieved/viewed, using the value of the <code>full_url</code> property that was returned when you created the resource. Uploads <strong>MUST</strong> be done as <strong>Binary Data</strong>.</p>\n","urlObject":{"host":["upload_url"],"query":[],"variable":[]}},"response":[{"id":"c7524962-0d95-442b-858f-ce67b4f67ca5","name":"upload resource","originalRequest":{"method":"PUT","header":[{"description":"required | string | must use the same content type that was used when creating the resource","key":"Content-Type","name":"Content-Type","type":"text","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":"/Users/arun/Downloads/logo.png"}},"url":"upload_url"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c969ad9b-93a3-4027-9c70-9b82b39dd80b"},{"name":"move resources","id":"b0fdb520-2444-4acb-8ac6-9c311e6b9710","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>required | array</p>\n","key":"resources","type":"text","value":"[\"asdfasdf12312312\", \"asdfasdf1231312\"]"},{"description":"<p>required | string</p>\n","key":"folder","type":"text","value":"asdfasdf1231231232"}]},"url":"/api/v1/resources/move","description":"<p>Move resources to another folder</p>\n","urlObject":{"path":["api","v1","resources","move"],"query":[],"variable":[]}},"response":[{"id":"f6f1559f-fcfe-46e8-a1b3-9f545aaf86e1","name":"move resources","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api_token}}"},{"key":"auth-token","type":"text","value":"{{auth_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"resources\": [\"asdfasdf12312312\", \"asdfasdf1231312\"],\n\t\"folder\": \"asdfasdf12312312\"\n}"},"url":"/api/v1/resources/move"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"successfully moved resources\"\n}"}],"_postman_id":"b0fdb520-2444-4acb-8ac6-9c311e6b9710"},{"name":"dynamically resize images","id":"a75fe483-d0a6-428c-8475-3863061eba9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"description":"<p>required | string</p>\n","key":"api-token","type":"text","value":"providedByUNOapp"}],"url":"full/image/url.png?d=100x100","description":"<p>Images can be resized on the fly by passing in the required dimensions in the query string. Dynamically resized images will preserve the aspect ratio, and the image will be large as possible while ensuring its dimensions are less than or equal to both those specified.</p>\n<p><strong>Note</strong>: Only images that are smaller than <em><strong>5MB</strong></em> can be resized. If you attempt to resize a large image, you will resize an error message. A fallback is recommended to ensure that there are no broken links.</p>\n","urlObject":{"path":["image","url.png"],"host":["full"],"query":[{"description":{"content":"<p>optional | number x number</p>\n","type":"text/plain"},"key":"d","value":"100x100"}],"variable":[]}},"response":[{"id":"026e2115-0ff3-4235-95b9-6575b90d5d28","name":"move resources","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api_token}}"},{"key":"auth-token","type":"text","value":"{{auth_token}}"}],"body":{"mode":"raw","raw":"{\n\t\"resources\": [\"asdfasdf12312312\", \"asdfasdf1231312\"],\n\t\"folder\": \"asdfasdf12312312\"\n}"},"url":"/api/v1/resources/move"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"successfully moved resources\"\n}"}],"_postman_id":"a75fe483-d0a6-428c-8475-3863061eba9a"},{"name":"delete a resource","id":"c77dbfdf-b9ff-4326-bdbe-ea68d4072a92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"api-token","type":"text","value":"{{api_token}}"}],"url":"/api/v1/resources/:resource","urlObject":{"path":["api","v1","resources",":resource"],"query":[],"variable":[{"description":{"content":"<p>required | string</p>\n","type":"text/plain"},"type":"string","value":"{{resource_id}}","key":"resource"}]}},"response":[],"_postman_id":"c77dbfdf-b9ff-4326-bdbe-ea68d4072a92"}],"id":"87f5228f-ff4a-4fb3-b0f6-0f055f84ebf2","_postman_id":"87f5228f-ff4a-4fb3-b0f6-0f055f84ebf2","description":""}]}