{"action":"created","issue":{"url":"https://api.github.com/repos/dru-io/Dru.io/issues/461","repository_url":"https://api.github.com/repos/dru-io/Dru.io","labels_url":"https://api.github.com/repos/dru-io/Dru.io/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/dru-io/Dru.io/issues/461/comments","events_url":"https://api.github.com/repos/dru-io/Dru.io/issues/461/events","html_url":"https://github.com/dru-io/Dru.io/pull/461","id":166879944,"number":461,"title":"add redirect to page after authorization","user":{"login":"sashagar","id":13992012,"avatar_url":"https://avatars.githubusercontent.com/u/13992012?v=3","gravatar_id":"","url":"https://api.github.com/users/sashagar","html_url":"https://github.com/sashagar","followers_url":"https://api.github.com/users/sashagar/followers","following_url":"https://api.github.com/users/sashagar/following{/other_user}","gists_url":"https://api.github.com/users/sashagar/gists{/gist_id}","starred_url":"https://api.github.com/users/sashagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashagar/subscriptions","organizations_url":"https://api.github.com/users/sashagar/orgs","repos_url":"https://api.github.com/users/sashagar/repos","events_url":"https://api.github.com/users/sashagar/events{/privacy}","received_events_url":"https://api.github.com/users/sashagar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-21T17:56:16Z","updated_at":"2016-07-21T20:26:16Z","closed_at":"2016-07-21T20:18:46Z","pull_request":{"url":"https://api.github.com/repos/dru-io/Dru.io/pulls/461","html_url":"https://github.com/dru-io/Dru.io/pull/461","diff_url":"https://github.com/dru-io/Dru.io/pull/461.diff","patch_url":"https://github.com/dru-io/Dru.io/pull/461.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/dru-io/Dru.io/issues/comments/234373203","html_url":"https://github.com/dru-io/Dru.io/pull/461#issuecomment-234373203","issue_url":"https://api.github.com/repos/dru-io/Dru.io/issues/461","id":234373203,"user":{"login":"fortis","id":1042494,"avatar_url":"https://avatars.githubusercontent.com/u/1042494?v=3","gravatar_id":"","url":"https://api.github.com/users/fortis","html_url":"https://github.com/fortis","followers_url":"https://api.github.com/users/fortis/followers","following_url":"https://api.github.com/users/fortis/following{/other_user}","gists_url":"https://api.github.com/users/fortis/gists{/gist_id}","starred_url":"https://api.github.com/users/fortis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortis/subscriptions","organizations_url":"https://api.github.com/users/fortis/orgs","repos_url":"https://api.github.com/users/fortis/repos","events_url":"https://api.github.com/users/fortis/events{/privacy}","received_events_url":"https://api.github.com/users/fortis/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T20:26:16Z","updated_at":"2016-07-21T20:26:16Z","body":"как вариант можно подготовить урл в препроцессе с функцией url() передав ей значение от drupal_get_destination()"}}
{"actor":{"display_login":"fortis"}}