{"action":"created","issue":{"url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/50","repository_url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament","labels_url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/50/comments","events_url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/50/events","html_url":"https://github.com/Forum-Informationsfreiheit/OffenesParlament/issues/50","id":142143568,"number":50,"title":"Subscriptions: Single/Detail Page subscription URL isn't working properly","user":{"login":"lyrixderaven","id":295440,"avatar_url":"https://avatars.githubusercontent.com/u/295440?v=3","gravatar_id":"","url":"https://api.github.com/users/lyrixderaven","html_url":"https://github.com/lyrixderaven","followers_url":"https://api.github.com/users/lyrixderaven/followers","following_url":"https://api.github.com/users/lyrixderaven/following{/other_user}","gists_url":"https://api.github.com/users/lyrixderaven/gists{/gist_id}","starred_url":"https://api.github.com/users/lyrixderaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyrixderaven/subscriptions","organizations_url":"https://api.github.com/users/lyrixderaven/orgs","repos_url":"https://api.github.com/users/lyrixderaven/repos","events_url":"https://api.github.com/users/lyrixderaven/events{/privacy}","received_events_url":"https://api.github.com/users/lyrixderaven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"benfreu","id":2715393,"avatar_url":"https://avatars.githubusercontent.com/u/2715393?v=3","gravatar_id":"","url":"https://api.github.com/users/benfreu","html_url":"https://github.com/benfreu","followers_url":"https://api.github.com/users/benfreu/followers","following_url":"https://api.github.com/users/benfreu/following{/other_user}","gists_url":"https://api.github.com/users/benfreu/gists{/gist_id}","starred_url":"https://api.github.com/users/benfreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfreu/subscriptions","organizations_url":"https://api.github.com/users/benfreu/orgs","repos_url":"https://api.github.com/users/benfreu/repos","events_url":"https://api.github.com/users/benfreu/events{/privacy}","received_events_url":"https://api.github.com/users/benfreu/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-20T09:14:03Z","updated_at":"2016-03-21T15:50:50Z","closed_at":null,"body":"Subscribing a detail page (like the Person detail page for [Rosa Ecker](http://offenesparlament.vm:8000/personen/PAD_87002/Rosa-Ecker/)  doesn't provide a proper, single request link base on the parl_id (or parl_id and llp for laws), but instead uses the generic 'personen' search, which results in this link: \r\n\r\nhttp://offenesparlament.vm:8000/personen/search?llps=XXV&type=Personen&limit=-1&fieldset=all \r\n\r\nThat of course isn't correct and yields problems when trying to subscribe and or collect the changes.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/comments/199350144","html_url":"https://github.com/Forum-Informationsfreiheit/OffenesParlament/issues/50#issuecomment-199350144","issue_url":"https://api.github.com/repos/Forum-Informationsfreiheit/OffenesParlament/issues/50","id":199350144,"user":{"login":"lyrixderaven","id":295440,"avatar_url":"https://avatars.githubusercontent.com/u/295440?v=3","gravatar_id":"","url":"https://api.github.com/users/lyrixderaven","html_url":"https://github.com/lyrixderaven","followers_url":"https://api.github.com/users/lyrixderaven/followers","following_url":"https://api.github.com/users/lyrixderaven/following{/other_user}","gists_url":"https://api.github.com/users/lyrixderaven/gists{/gist_id}","starred_url":"https://api.github.com/users/lyrixderaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyrixderaven/subscriptions","organizations_url":"https://api.github.com/users/lyrixderaven/orgs","repos_url":"https://api.github.com/users/lyrixderaven/repos","events_url":"https://api.github.com/users/lyrixderaven/events{/privacy}","received_events_url":"https://api.github.com/users/lyrixderaven/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T15:50:50Z","updated_at":"2016-03-21T15:50:50Z","body":"The subscription URL _must_ point to the actual search view that returns JSON, not the public frontend view. A subscription process includes requesting the JSON data that the frontend normally requests via AJAX request and then indexing/hashing that. The error we are getting now has nothing to do with the fact that we are requesting a single person instead of a list, but with the fact that the '/suche/personen?[...]' url returns rendered frontend views instead of JSON. \r\n\r\nSince i've seen in your commit where you're setting this URL though, I'll try and correct it myself now."}}