{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16724","labels_url":"https://api.github.com/repos/owncloud/core/issues/16724/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16724/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16724/events","html_url":"https://github.com/owncloud/core/pull/16724","id":84559460,"number":16724,"title":"Javascript to fetch mimetype icons","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/core/labels/sharing","name":"sharing","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-next","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":607,"closed_issues":2,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-06-22T11:52:41Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-06-03T13:18:45Z","updated_at":"2015-06-22T12:00:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/16724","html_url":"https://github.com/owncloud/core/pull/16724","diff_url":"https://github.com/owncloud/core/pull/16724.diff","patch_url":"https://github.com/owncloud/core/pull/16724.patch"},"body":"As stated in #16531 we do not want to have the icon in the return of the OCS Share API. \r\n\r\nThis PR adds a mimetype.js file that is basically and implentation of the mimetype stuff from OC_Helper in javascript. It can probably be made more efficient later on.\r\n\r\nThe second commit removes the icon from the OCS Share API.\r\n\r\nTodo:\r\n[ ] Tests!\r\n\r\n@MorrisJobke something like this is what you had in mind as well I assume?\r\n@PVince81 could you also have a look\r\n@oparoz Probably also relevant for #14431"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/114078872","html_url":"https://github.com/owncloud/core/pull/16724#issuecomment-114078872","issue_url":"https://api.github.com/repos/owncloud/core/issues/16724","id":114078872,"user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T12:00:56Z","updated_at":"2015-06-22T12:00:56Z","body":"@PVince81 yeah that suggestions sounds like the best solution. Probably a simple script to generate this file is easiest.\r\n\r\nI guess the change is indeed a bit to big for 8.1... :("}}