{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/12471","labels_url":"https://api.github.com/repos/owncloud/core/issues/12471/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/12471/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/12471/events","html_url":"https://github.com/owncloud/core/issues/12471","id":50280017,"number":12471,"title":"Internal apps should also use the file node-based public API instead of View","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/discussion","name":"discussion","color":"fbca04"},{"url":"https://api.github.com/repos/owncloud/core/labels/technical%20debt","name":"technical debt","color":"FFFF00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-27T11:11:36Z","updated_at":"2015-06-15T12:47:51Z","closed_at":null,"body":"Instead of using `\\OC\\Files\\View()` in internal apps like files, sharing, etc, we should make them use the node-based API that can be accessed with `OC::$server->getUserFolder()` (See https://github.com/owncloud/core/blob/master/lib/public/files/folder.php)\r\n\r\nIt seems the search app is already using that (CC @butonic) and I'm also using it now in the new metadata/tags app.\r\n\r\nBut first we need to discuss whether we all agree that we want to go that way as we don't want to have lots of different APIs. Then we need to document this better (I only discovered this very recently).\r\n\r\n@icewind1991 @DeepDiver1975 @schiesbn @nickvergessen @MorrisJobke "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/112054508","html_url":"https://github.com/owncloud/core/issues/12471#issuecomment-112054508","issue_url":"https://api.github.com/repos/owncloud/core/issues/12471","id":112054508,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T12:47:51Z","updated_at":"2015-06-15T12:47:51Z","body":"A few places that could be changed to use the Node API:\r\n- [ ] Sabre plugins\r\n- [ ] Files app UI (but might be using WebDAV instead in #12353 which itself would go through Sabre)\r\n- [ ] Versions ?\r\n- [ ] Trashbin ?\r\n- [ ] Sharing app ?\r\n"}}