{"action":"created","issue":{"url":"https://api.github.com/repos/marvinlabs/customer-area/issues/74","labels_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/74/comments","events_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/74/events","html_url":"https://github.com/marvinlabs/customer-area/issues/74","id":66372185,"number":74,"title":"Please make it possible to create/link a file from a program without having to emulate browser","user":{"login":"ssteinerx","id":43063,"avatar_url":"https://avatars.githubusercontent.com/u/43063?v=3","gravatar_id":"","url":"https://api.github.com/users/ssteinerx","html_url":"https://github.com/ssteinerx","followers_url":"https://api.github.com/users/ssteinerx/followers","following_url":"https://api.github.com/users/ssteinerx/following{/other_user}","gists_url":"https://api.github.com/users/ssteinerx/gists{/gist_id}","starred_url":"https://api.github.com/users/ssteinerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssteinerx/subscriptions","organizations_url":"https://api.github.com/users/ssteinerx/orgs","repos_url":"https://api.github.com/users/ssteinerx/repos","events_url":"https://api.github.com/users/ssteinerx/events{/privacy}","received_events_url":"https://api.github.com/users/ssteinerx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-04T22:06:21Z","updated_at":"2015-04-06T13:41:07Z","closed_at":null,"body":"As you know, I'm writing an addon that allows serving of client files from Amazon S3.\r\n\r\nI would like a function that:\r\n\r\n  1. Creates a post\r\n  2. Attaches a file to the post\r\n  3. Triggers appropriate notifications\r\n\r\nHaving to emulate a logged in user to perform this collection of functions is just way too much work, nor is it documented making any code that relies on specific calls within the plugin(s) very fragile vis a vis updates to the plugin.\r\n\r\nThanks,\r\n\r\nSteve\r\nssteinerX"},"comment":{"url":"https://api.github.com/repos/marvinlabs/customer-area/issues/comments/90069510","html_url":"https://github.com/marvinlabs/customer-area/issues/74#issuecomment-90069510","issue_url":"https://api.github.com/repos/marvinlabs/customer-area/issues/74","id":90069510,"user":{"login":"vpratfr","id":2526465,"avatar_url":"https://avatars.githubusercontent.com/u/2526465?v=3","gravatar_id":"","url":"https://api.github.com/users/vpratfr","html_url":"https://github.com/vpratfr","followers_url":"https://api.github.com/users/vpratfr/followers","following_url":"https://api.github.com/users/vpratfr/following{/other_user}","gists_url":"https://api.github.com/users/vpratfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vpratfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpratfr/subscriptions","organizations_url":"https://api.github.com/users/vpratfr/orgs","repos_url":"https://api.github.com/users/vpratfr/repos","events_url":"https://api.github.com/users/vpratfr/events{/privacy}","received_events_url":"https://api.github.com/users/vpratfr/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T13:41:07Z","updated_at":"2015-04-06T13:41:07Z","body":"Yes of course, all filters will also be executed. In fact that function should only be using the existing core add-ons so no worries on that side I think."}}