{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-api/issues/690","repository_url":"https://api.github.com/repos/travis-ci/travis-api","labels_url":"https://api.github.com/repos/travis-ci/travis-api/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-api/issues/690/comments","events_url":"https://api.github.com/repos/travis-ci/travis-api/issues/690/events","html_url":"https://github.com/travis-ci/travis-api/pull/690","id":304393175,"number":690,"title":"/v3/subscriptions endpoint","user":{"login":"porras","id":3830,"avatar_url":"https://avatars3.githubusercontent.com/u/3830?v=4","gravatar_id":"","url":"https://api.github.com/users/porras","html_url":"https://github.com/porras","followers_url":"https://api.github.com/users/porras/followers","following_url":"https://api.github.com/users/porras/following{/other_user}","gists_url":"https://api.github.com/users/porras/gists{/gist_id}","starred_url":"https://api.github.com/users/porras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porras/subscriptions","organizations_url":"https://api.github.com/users/porras/orgs","repos_url":"https://api.github.com/users/porras/repos","events_url":"https://api.github.com/users/porras/events{/privacy}","received_events_url":"https://api.github.com/users/porras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-12T14:26:13Z","updated_at":"2018-03-12T15:40:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/travis-ci/travis-api/pulls/690","html_url":"https://github.com/travis-ci/travis-api/pull/690","diff_url":"https://github.com/travis-ci/travis-api/pull/690.diff","patch_url":"https://github.com/travis-ci/travis-api/pull/690.patch"},"body":"@tyranja and I paired on this.\r\n\r\nThis is the endpoint the frontend would request to get all the subscriptions of a user (own and from organizations they belong to), to render the equivalent of this page:\r\n\r\n![img-2018-03-12-152146](https://user-images.githubusercontent.com/3830/37289209-69cc1424-2609-11e8-828b-9fda96a70701.png)\r\n\r\nIt's work in progress (e.g. we still need to define the attributes that will be in the response) but can be merged if correct."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-api/issues/comments/372355182","html_url":"https://github.com/travis-ci/travis-api/pull/690#issuecomment-372355182","issue_url":"https://api.github.com/repos/travis-ci/travis-api/issues/690","id":372355182,"user":{"login":"joecorcoran","id":65193,"avatar_url":"https://avatars0.githubusercontent.com/u/65193?v=4","gravatar_id":"","url":"https://api.github.com/users/joecorcoran","html_url":"https://github.com/joecorcoran","followers_url":"https://api.github.com/users/joecorcoran/followers","following_url":"https://api.github.com/users/joecorcoran/following{/other_user}","gists_url":"https://api.github.com/users/joecorcoran/gists{/gist_id}","starred_url":"https://api.github.com/users/joecorcoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joecorcoran/subscriptions","organizations_url":"https://api.github.com/users/joecorcoran/orgs","repos_url":"https://api.github.com/users/joecorcoran/repos","events_url":"https://api.github.com/users/joecorcoran/events{/privacy}","received_events_url":"https://api.github.com/users/joecorcoran/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T15:40:55Z","updated_at":"2018-03-12T15:40:55Z","author_association":"CONTRIBUTOR","body":"@porras Re: connections, sounds good.\r\n\r\nThe docs are from this app, which generates a skeleton from the service index and populates it with markdown partials. It's a bit hard to understand at first: https://github.com/travis-pro/developer"}}
{"actor":{"display_login":"joecorcoran"}}