{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/13","repository_url":"https://api.github.com/repos/nextcloud/admin_notifications","labels_url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/13/comments","events_url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/13/events","html_url":"https://github.com/nextcloud/admin_notifications/issues/13","id":230414240,"number":13,"title":"Ability to push messages to NC user from external source","user":{"login":"jkaberg","id":613363,"avatar_url":"https://avatars0.githubusercontent.com/u/613363?v=4","gravatar_id":"","url":"https://api.github.com/users/jkaberg","html_url":"https://github.com/jkaberg","followers_url":"https://api.github.com/users/jkaberg/followers","following_url":"https://api.github.com/users/jkaberg/following{/other_user}","gists_url":"https://api.github.com/users/jkaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jkaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkaberg/subscriptions","organizations_url":"https://api.github.com/users/jkaberg/orgs","repos_url":"https://api.github.com/users/jkaberg/repos","events_url":"https://api.github.com/users/jkaberg/events{/privacy}","received_events_url":"https://api.github.com/users/jkaberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-22T14:28:52Z","updated_at":"2018-02-16T13:01:30Z","closed_at":"2018-02-16T13:01:30Z","author_association":"NONE","body":"Repost of https://github.com/nextcloud/notifications/issues/83\r\n\r\nPerhaps implement it in the same manner as user app password where one could revoke tokens aswell. That way one could generate an token per service. \r\n\r\nSomething like this would be nice:\r\n```\r\ncurl -X POST \\\r\n  https://<server-url>/ocs/v2.php/apps/admin_notifications/api/v1/notifications/<user-id>/<token> \\\r\n  -d \"shortMessage=<short-message>\" \\\r\n  -d \"longMessage=<long-message>\"\r\n```"},"comment":{"url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/comments/366229343","html_url":"https://github.com/nextcloud/admin_notifications/issues/13#issuecomment-366229343","issue_url":"https://api.github.com/repos/nextcloud/admin_notifications/issues/13","id":366229343,"user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars3.githubusercontent.com/u/213943?v=4","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T13:01:30Z","updated_at":"2018-02-16T13:01:30Z","author_association":"OWNER","body":"Because this app is merged into notifications, I'm reopening https://github.com/nextcloud/notifications/issues/83 instead. Sorry for the trouble."}}
{"actor":{"display_login":"nickvergessen"}}