{"action":"created","issue":{"url":"https://api.github.com/repos/activity-time/activity/issues/15","repository_url":"https://api.github.com/repos/activity-time/activity","labels_url":"https://api.github.com/repos/activity-time/activity/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/activity-time/activity/issues/15/comments","events_url":"https://api.github.com/repos/activity-time/activity/issues/15/events","html_url":"https://github.com/activity-time/activity/issues/15","id":187848652,"number":15,"title":"Понять как создавать Actions при помощи REST-a","user":{"login":"turgeniev","id":6492396,"avatar_url":"https://avatars.githubusercontent.com/u/6492396?v=3","gravatar_id":"","url":"https://api.github.com/users/turgeniev","html_url":"https://github.com/turgeniev","followers_url":"https://api.github.com/users/turgeniev/followers","following_url":"https://api.github.com/users/turgeniev/following{/other_user}","gists_url":"https://api.github.com/users/turgeniev/gists{/gist_id}","starred_url":"https://api.github.com/users/turgeniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turgeniev/subscriptions","organizations_url":"https://api.github.com/users/turgeniev/orgs","repos_url":"https://api.github.com/users/turgeniev/repos","events_url":"https://api.github.com/users/turgeniev/events{/privacy}","received_events_url":"https://api.github.com/users/turgeniev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"turgeniev","id":6492396,"avatar_url":"https://avatars.githubusercontent.com/u/6492396?v=3","gravatar_id":"","url":"https://api.github.com/users/turgeniev","html_url":"https://github.com/turgeniev","followers_url":"https://api.github.com/users/turgeniev/followers","following_url":"https://api.github.com/users/turgeniev/following{/other_user}","gists_url":"https://api.github.com/users/turgeniev/gists{/gist_id}","starred_url":"https://api.github.com/users/turgeniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turgeniev/subscriptions","organizations_url":"https://api.github.com/users/turgeniev/orgs","repos_url":"https://api.github.com/users/turgeniev/repos","events_url":"https://api.github.com/users/turgeniev/events{/privacy}","received_events_url":"https://api.github.com/users/turgeniev/received_events","type":"User","site_admin":false},"assignees":[{"login":"turgeniev","id":6492396,"avatar_url":"https://avatars.githubusercontent.com/u/6492396?v=3","gravatar_id":"","url":"https://api.github.com/users/turgeniev","html_url":"https://github.com/turgeniev","followers_url":"https://api.github.com/users/turgeniev/followers","following_url":"https://api.github.com/users/turgeniev/following{/other_user}","gists_url":"https://api.github.com/users/turgeniev/gists{/gist_id}","starred_url":"https://api.github.com/users/turgeniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turgeniev/subscriptions","organizations_url":"https://api.github.com/users/turgeniev/orgs","repos_url":"https://api.github.com/users/turgeniev/repos","events_url":"https://api.github.com/users/turgeniev/events{/privacy}","received_events_url":"https://api.github.com/users/turgeniev/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/activity-time/activity/milestones/1","html_url":"https://github.com/activity-time/activity/milestones/0.1","labels_url":"https://api.github.com/repos/activity-time/activity/milestones/1/labels","id":2110050,"number":1,"title":"0.1","description":"","creator":{"login":"andreevym","id":8217718,"avatar_url":"https://avatars.githubusercontent.com/u/8217718?v=3","gravatar_id":"","url":"https://api.github.com/users/andreevym","html_url":"https://github.com/andreevym","followers_url":"https://api.github.com/users/andreevym/followers","following_url":"https://api.github.com/users/andreevym/following{/other_user}","gists_url":"https://api.github.com/users/andreevym/gists{/gist_id}","starred_url":"https://api.github.com/users/andreevym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreevym/subscriptions","organizations_url":"https://api.github.com/users/andreevym/orgs","repos_url":"https://api.github.com/users/andreevym/repos","events_url":"https://api.github.com/users/andreevym/events{/privacy}","received_events_url":"https://api.github.com/users/andreevym/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2016-11-02T16:27:43Z","updated_at":"2016-11-08T20:08:15Z","due_on":"2016-11-13T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-11-07T22:31:33Z","updated_at":"2016-11-09T20:23:08Z","closed_at":null,"body":"После того как появилась связь между `Stream` и `Action` - каким запросом и на какой URL можно создавать `Actions`?"},"comment":{"url":"https://api.github.com/repos/activity-time/activity/issues/comments/259516443","html_url":"https://github.com/activity-time/activity/issues/15#issuecomment-259516443","issue_url":"https://api.github.com/repos/activity-time/activity/issues/15","id":259516443,"user":{"login":"turgeniev","id":6492396,"avatar_url":"https://avatars.githubusercontent.com/u/6492396?v=3","gravatar_id":"","url":"https://api.github.com/users/turgeniev","html_url":"https://github.com/turgeniev","followers_url":"https://api.github.com/users/turgeniev/followers","following_url":"https://api.github.com/users/turgeniev/following{/other_user}","gists_url":"https://api.github.com/users/turgeniev/gists{/gist_id}","starred_url":"https://api.github.com/users/turgeniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turgeniev/subscriptions","organizations_url":"https://api.github.com/users/turgeniev/orgs","repos_url":"https://api.github.com/users/turgeniev/repos","events_url":"https://api.github.com/users/turgeniev/events{/privacy}","received_events_url":"https://api.github.com/users/turgeniev/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T20:23:08Z","updated_at":"2016-11-09T20:23:08Z","body":"нужно проставить ссылку на пользователя в желаемом стриме, например так:\r\n\r\nPATCH \r\nhttp://localhost:8080/streams/1\r\n{\r\n\"user\": \"http://localhost:8080/user/2\"\r\n}\r\n"}}
{"actor":{"display_login":"turgeniev"}}