{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/7589","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/7589/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/7589/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/7589/events","html_url":"https://github.com/nextcloud/server/issues/7589","id":283692984,"node_id":"MDU6SXNzdWUyODM2OTI5ODQ=","number":7589,"title":"Add new interface OCP\\Streamer","user":{"login":"jakobsack","id":776911,"node_id":"MDQ6VXNlcjc3NjkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/776911?v=4","gravatar_id":"","url":"https://api.github.com/users/jakobsack","html_url":"https://github.com/jakobsack","followers_url":"https://api.github.com/users/jakobsack/followers","following_url":"https://api.github.com/users/jakobsack/following{/other_user}","gists_url":"https://api.github.com/users/jakobsack/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobsack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobsack/subscriptions","organizations_url":"https://api.github.com/users/jakobsack/orgs","repos_url":"https://api.github.com/users/jakobsack/repos","events_url":"https://api.github.com/users/jakobsack/events{/privacy}","received_events_url":"https://api.github.com/users/jakobsack/received_events","type":"User","site_admin":false},"labels":[{"id":389003533,"node_id":"MDU6TGFiZWwzODkwMDM1MzM=","url":"https://api.github.com/repos/nextcloud/server/labels/1.%20to%20develop","name":"1. to develop","color":"0052cc","default":false},{"id":386379233,"node_id":"MDU6TGFiZWwzODYzNzkyMzM=","url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":386379234,"node_id":"MDU6TGFiZWwzODYzNzkyMzQ=","url":"https://api.github.com/repos/nextcloud/server/labels/help%20wanted","name":"help wanted","color":"006b75","default":true}],"state":"closed","locked":false,"assignee":{"login":"rullzer","id":45821,"node_id":"MDQ6VXNlcjQ1ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/45821?v=4","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},"assignees":[{"login":"rullzer","id":45821,"node_id":"MDQ6VXNlcjQ1ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/45821?v=4","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}],"milestone":null,"comments":11,"created_at":"2017-12-20T20:58:12Z","updated_at":"2018-10-04T11:03:51Z","closed_at":"2018-10-04T11:03:51Z","author_association":"MEMBER","body":"To add the possibility to download all attachments of an email I'd like to use the following features from `OC\\Streamer` and `OC_UTIL` in a public API:\r\n\r\n```\r\nOC_Util::obEnd();\r\n$streamer = new Streamer();\r\n$streamer->sendHeaders(\"attachments\");\r\n$streamer->addFileFromStream($fh, $attachment['fileName'], $attachment['size'], false);\r\n$streamer->finalize();\r\n```\r\n\r\nThe public interface could be called `OCP\\Streamer`.\r\nOrigin of this issue is nextcloud/mail#580"}}
{"actor":{"display_login":"rullzer"}}