{"action":"created","issue":{"url":"https://api.github.com/repos/RetroShare/RetroShare/issues/32","labels_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/32/comments","events_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/32/events","html_url":"https://github.com/RetroShare/RetroShare/pull/32","id":101116333,"number":32,"title":"libresapi - request list of forums","user":{"login":"chozabu","id":937160,"avatar_url":"https://avatars.githubusercontent.com/u/937160?v=3","gravatar_id":"","url":"https://api.github.com/users/chozabu","html_url":"https://github.com/chozabu","followers_url":"https://api.github.com/users/chozabu/followers","following_url":"https://api.github.com/users/chozabu/following{/other_user}","gists_url":"https://api.github.com/users/chozabu/gists{/gist_id}","starred_url":"https://api.github.com/users/chozabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chozabu/subscriptions","organizations_url":"https://api.github.com/users/chozabu/orgs","repos_url":"https://api.github.com/users/chozabu/repos","events_url":"https://api.github.com/users/chozabu/events{/privacy}","received_events_url":"https://api.github.com/users/chozabu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-14T22:36:57Z","updated_at":"2015-08-14T23:02:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RetroShare/RetroShare/pulls/32","html_url":"https://github.com/RetroShare/RetroShare/pull/32","diff_url":"https://github.com/RetroShare/RetroShare/pull/32.diff","patch_url":"https://github.com/RetroShare/RetroShare/pull/32.patch"},"body":"the python code:\r\n\r\n\tprint \"FORUM\"\r\n\tr = requests.put(\"http://0.0.0.0:9090/api/v2/forums\")\r\n\tfor f in r.json()['data']:\r\n\t\tif f['own']:\r\n\t\t\tprint f\r\n\r\nresults in:\r\n\r\n\tFORUM\r\n\t{u'own': True, u'name': u'another test forum', u'visible_msg_count': u'0', u'pop': u'0', u'pgp_linked': False, u'group_status': u'0', u'parent_grp_id': u'00000000000000000000000000000000', u'author_id': u'6f312e1c10163d6261e02ada6067bbb9', u'id': u'720959e1d78edd39d8682c07fc5a8fe1', u'description': u'ignore me?'}\r\n\r\nSo, a webUI could now get a forum list :)\r\n"},"comment":{"url":"https://api.github.com/repos/RetroShare/RetroShare/issues/comments/131264422","html_url":"https://github.com/RetroShare/RetroShare/pull/32#issuecomment-131264422","issue_url":"https://api.github.com/repos/RetroShare/RetroShare/issues/32","id":131264422,"user":{"login":"chozabu","id":937160,"avatar_url":"https://avatars.githubusercontent.com/u/937160?v=3","gravatar_id":"","url":"https://api.github.com/users/chozabu","html_url":"https://github.com/chozabu","followers_url":"https://api.github.com/users/chozabu/followers","following_url":"https://api.github.com/users/chozabu/following{/other_user}","gists_url":"https://api.github.com/users/chozabu/gists{/gist_id}","starred_url":"https://api.github.com/users/chozabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chozabu/subscriptions","organizations_url":"https://api.github.com/users/chozabu/orgs","repos_url":"https://api.github.com/users/chozabu/repos","events_url":"https://api.github.com/users/chozabu/events{/privacy}","received_events_url":"https://api.github.com/users/chozabu/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T23:02:19Z","updated_at":"2015-08-14T23:02:19Z","body":"@sehraf fixed - looks like my qtcreator changed line endings to unix style automatically or something"}}