{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/29936433","id":29936433,"diff_hunk":"@@ -0,0 +1,313 @@\n+# -*- coding: utf-8 -*-\n+#\n+# This file is part of Invenio.\n+# Copyright (C) 2015 CERN.\n+#\n+# Invenio is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License as\n+# published by the Free Software Foundation; either version 2 of the\n+# License, or (at your option) any later version.\n+#\n+# Invenio is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with Invenio; if not, write to the Free Software Foundation, Inc.,\n+# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n+\n+\"\"\"webnews Flask Blueprint.\"\"\"\n+from flask import (\n+    Blueprint,\n+    flash,\n+    redirect,\n+    render_template,\n+    request\n+)\n+from flask.ext.login import login_required\n+from flask.ext.menu import register_menu\n+\n+from invenio.ext.principal import permission_required\n+from invenio.ext.sqlalchemy import db\n+\n+from sqlalchemy.exc import IntegrityError\n+\n+from .. import config\n+from ..encoder import Decode, Encode\n+from ..models import NwsSTORY, NwsTAG, NwsToolTip\n+\n+\n+blueprint = Blueprint(\n+    'webnews.admin',\n+    __name__,\n+    template_folder='../templates',\n+    static_folder='../static'\n+)\n+\n+\n+# For Object Insert\n+@blueprint.route(config.CFG_WEBNEWS_ADMIN_INSERT, methods=['GET', 'POST'])\n+@login_required\n+@permission_required(config.CFG_WEBNEWS_WEBACCESSACTION)\n+def Insert():\n+    \"\"\"Insert function.\"\"\"\n+    if request.method == 'POST':\n+        try:\n+            if (\n+                request.form.get('_action', None) ==\n+                config.CFG_WEBNEWS_ADMIN_ACTION_NEWS\n+            ):\n+                new_story = NwsSTORY(\n+                    title=str(request.form.get('txtTitle', None)),\n+                    body=str(request.form.get('txtBody_news', None)),\n+                    document_status=str(request.form.get(\n+                        'st_document_status',\n+                        None\n+                    )),\n+                    remote_ip=str(request.form.get('remote_ip', None)),\n+                    email=str(request.form.get('email', None)),\n+                    nickname=str(request.form.get('nickname', None)),\n+                    uid=int(request.form.get('uid', None))\n+                )\n+                db.session.add(new_story)\n+                db.session.commit()\n+                flash(config.CFG_WEBNEWS_SUCCESS_RECORD_ADDED)\n+                # alert = config.CFG_WEBNEWS_SUCCESS_ALERT\n+                return redirect(\n+                    config.CFG_WEBNEWS_ADMIN_UPDATE + '/?id=' + str(\n+                        Encode(new_story.id)\n+                    )\n+                )\n+            elif (\n+                request.form.get('_action', None) ==\n+                config.CFG_WEBNEWS_ADMIN_ACTION_TOOLTIP\n+            ):\n+                new_tooltip = NwsToolTip(\n+                    body=str(request.form.get('txtBody_tooltip', None)),\n+                    target_element=str(request.form.get(\n+                        'txttarget_element', None\n+                    )),\n+                    target_page=str(request.form.get('txttarget_page', None)),\n+                    id_story=int(Decode(request.form.get(\n+                        '_newsID',\n+                        Encode(0)\n+                    )))\n+                )\n+                db.session.add(new_tooltip)\n+                db.session.commit()\n+                flash(config.CFG_WEBNEWS_SUCCESS_RECORD_ADDED)\n+                # alert = config.CFG_WEBNEWS_SUCCESS_ALERT\n+\n+            elif (\n+                request.form.get('_action', None) ==\n+                config.CFG_WEBNEWS_ADMIN_ACTION_TAG\n+            ):\n+                print(request.form.get('_newsID', 0))\n+                new_tag = NwsTAG(\n+                    tag=str(request.form.get('txttag', None)),\n+                    id_story=int(Decode(request.form.get(\n+                        '_newsID',\n+                        Encode(0)\n+                    )))\n+                )\n+                db.session.add(new_tag)\n+                db.session.commit()\n+                flash(config.CFG_WEBNEWS_SUCCESS_RECORD_ADDED)\n+                # alert = config.CFG_WEBNEWS_SUCCESS_ALERT\n+            id = int(Decode(request.form.get('_newsID', Encode(0))))\n+            # result = NwsSTORY.query.get(id)\n+            return redirect(\n+                config.CFG_WEBNEWS_ADMIN_UPDATE + '/?id=' + str(Encode(id))\n+            )\n+            # return  render_template(\n+            #     'admin/update.html',\n+            #     EncodeStr=Encode,\n+            #     searchResult=result,\n+            #     display_forms=['normal','none','none']\n+            # )\n+        except IntegrityError, e:\n+            return e\n+    else:\n+        try:\n+            formAct = request.args.get('formAct', Encode(None))\n+            id = Decode(request.args.get('id', Encode(0)))\n+            if Decode(formAct) == '1':\n+                return render_template(\n+                    'admin/insert.html',\n+                    EncodeStr=Encode,\n+                    display_forms=['none', 'normal', 'none'],\n+                    id=id\n+                )\n+            elif Decode(formAct) == '2':\n+                return render_template(\n+                    'admin/insert.html',\n+                    EncodeStr=Encode,\n+                    display_forms=['none', 'none', 'normal'],\n+                    id=id\n+                )   # [news,tooltip,tag]\n+            else:\n+                return render_template(\n+                    'admin/insert.html',\n+                    EncodeStr=Encode,\n+                    display_forms=['normal', 'none', 'none']\n+                )   # [news,tooltip,tag]\n+        except IntegrityError:\n+                flash('Error')\n+                # alert = config.CFG_WEBNEWS_ERROR_ALERT\n+\n+\n+# For Object Update\n+@blueprint.route(config.CFG_WEBNEWS_ADMIN_UPDATE, methods=['GET', 'POST'])\n+@login_required\n+@permission_required(config.CFG_WEBNEWS_WEBACCESSACTION)","path":"invenio/modules/news/views/admin.py","position":163,"original_position":163,"commit_id":"8bb039a5ab49ccbc202dd7b6605ebcba7b8e036b","original_commit_id":"8bb039a5ab49ccbc202dd7b6605ebcba7b8e036b","user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"body":"create new action in `acl.py` and use it here","created_at":"2015-05-08T12:45:32Z","updated_at":"2015-05-08T12:45:32Z","html_url":"https://github.com/inveniosoftware/invenio/pull/3114#discussion_r29936433","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments/29936433"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/3114#discussion_r29936433"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114","id":35004281,"html_url":"https://github.com/inveniosoftware/invenio/pull/3114","diff_url":"https://github.com/inveniosoftware/invenio/pull/3114.diff","patch_url":"https://github.com/inveniosoftware/invenio/pull/3114.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3114","number":3114,"state":"open","locked":false,"title":"WIP news: initial commit","user":{"login":"kasioumis","id":968953,"avatar_url":"https://avatars.githubusercontent.com/u/968953?v=3","gravatar_id":"","url":"https://api.github.com/users/kasioumis","html_url":"https://github.com/kasioumis","followers_url":"https://api.github.com/users/kasioumis/followers","following_url":"https://api.github.com/users/kasioumis/following{/other_user}","gists_url":"https://api.github.com/users/kasioumis/gists{/gist_id}","starred_url":"https://api.github.com/users/kasioumis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasioumis/subscriptions","organizations_url":"https://api.github.com/users/kasioumis/orgs","repos_url":"https://api.github.com/users/kasioumis/repos","events_url":"https://api.github.com/users/kasioumis/events{/privacy}","received_events_url":"https://api.github.com/users/kasioumis/received_events","type":"User","site_admin":false},"body":"* Initial port of the Webnews module from legacy\r\n  to the news module in master.\r\n\r\nCo-authored-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>\r\nSigned-off-by: Robert Winchell <robertzwinchell@gmail.com>","created_at":"2015-05-08T12:27:29Z","updated_at":"2015-05-08T12:45:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92b10a1e11f814c43378ac2ef80597c19f382f66","assignee":{"login":"kasioumis","id":968953,"avatar_url":"https://avatars.githubusercontent.com/u/968953?v=3","gravatar_id":"","url":"https://api.github.com/users/kasioumis","html_url":"https://github.com/kasioumis","followers_url":"https://api.github.com/users/kasioumis/followers","following_url":"https://api.github.com/users/kasioumis/following{/other_user}","gists_url":"https://api.github.com/users/kasioumis/gists{/gist_id}","starred_url":"https://api.github.com/users/kasioumis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasioumis/subscriptions","organizations_url":"https://api.github.com/users/kasioumis/orgs","repos_url":"https://api.github.com/users/kasioumis/repos","events_url":"https://api.github.com/users/kasioumis/events{/privacy}","received_events_url":"https://api.github.com/users/kasioumis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6","html_url":"https://github.com/inveniosoftware/invenio/milestones/v2.2.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6/labels","id":696686,"number":6,"title":"v2.2.0","description":"","creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":153,"closed_issues":0,"state":"open","created_at":"2014-06-20T11:43:39Z","updated_at":"2015-05-08T12:28:39Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3114/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/8bb039a5ab49ccbc202dd7b6605ebcba7b8e036b","head":{"label":"kasioumis:master-news","ref":"master-news","sha":"8bb039a5ab49ccbc202dd7b6605ebcba7b8e036b","user":{"login":"kasioumis","id":968953,"avatar_url":"https://avatars.githubusercontent.com/u/968953?v=3","gravatar_id":"","url":"https://api.github.com/users/kasioumis","html_url":"https://github.com/kasioumis","followers_url":"https://api.github.com/users/kasioumis/followers","following_url":"https://api.github.com/users/kasioumis/following{/other_user}","gists_url":"https://api.github.com/users/kasioumis/gists{/gist_id}","starred_url":"https://api.github.com/users/kasioumis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasioumis/subscriptions","organizations_url":"https://api.github.com/users/kasioumis/orgs","repos_url":"https://api.github.com/users/kasioumis/repos","events_url":"https://api.github.com/users/kasioumis/events{/privacy}","received_events_url":"https://api.github.com/users/kasioumis/received_events","type":"User","site_admin":false},"repo":{"id":19779662,"name":"invenio","full_name":"kasioumis/invenio","owner":{"login":"kasioumis","id":968953,"avatar_url":"https://avatars.githubusercontent.com/u/968953?v=3","gravatar_id":"","url":"https://api.github.com/users/kasioumis","html_url":"https://github.com/kasioumis","followers_url":"https://api.github.com/users/kasioumis/followers","following_url":"https://api.github.com/users/kasioumis/following{/other_user}","gists_url":"https://api.github.com/users/kasioumis/gists{/gist_id}","starred_url":"https://api.github.com/users/kasioumis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasioumis/subscriptions","organizations_url":"https://api.github.com/users/kasioumis/orgs","repos_url":"https://api.github.com/users/kasioumis/repos","events_url":"https://api.github.com/users/kasioumis/events{/privacy}","received_events_url":"https://api.github.com/users/kasioumis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kasioumis/invenio","description":"Invenio digital library software","fork":true,"url":"https://api.github.com/repos/kasioumis/invenio","forks_url":"https://api.github.com/repos/kasioumis/invenio/forks","keys_url":"https://api.github.com/repos/kasioumis/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasioumis/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasioumis/invenio/teams","hooks_url":"https://api.github.com/repos/kasioumis/invenio/hooks","issue_events_url":"https://api.github.com/repos/kasioumis/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/kasioumis/invenio/events","assignees_url":"https://api.github.com/repos/kasioumis/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/kasioumis/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/kasioumis/invenio/tags","blobs_url":"https://api.github.com/repos/kasioumis/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasioumis/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasioumis/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasioumis/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasioumis/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/kasioumis/invenio/languages","stargazers_url":"https://api.github.com/repos/kasioumis/invenio/stargazers","contributors_url":"https://api.github.com/repos/kasioumis/invenio/contributors","subscribers_url":"https://api.github.com/repos/kasioumis/invenio/subscribers","subscription_url":"https://api.github.com/repos/kasioumis/invenio/subscription","commits_url":"https://api.github.com/repos/kasioumis/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasioumis/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasioumis/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasioumis/invenio/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasioumis/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/kasioumis/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasioumis/invenio/merges","archive_url":"https://api.github.com/repos/kasioumis/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasioumis/invenio/downloads","issues_url":"https://api.github.com/repos/kasioumis/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/kasioumis/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/kasioumis/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/kasioumis/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasioumis/invenio/labels{/name}","releases_url":"https://api.github.com/repos/kasioumis/invenio/releases{/id}","created_at":"2014-05-14T13:04:46Z","updated_at":"2015-03-13T22:41:47Z","pushed_at":"2015-05-08T12:25:12Z","git_url":"git://github.com/kasioumis/invenio.git","ssh_url":"git@github.com:kasioumis/invenio.git","clone_url":"https://github.com/kasioumis/invenio.git","svn_url":"https://github.com/kasioumis/invenio","homepage":"http://invenio-software.org/","size":81423,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inveniosoftware:master","ref":"master","sha":"f69898e7765c84dc8d0baf911c7bc3ee182adf9c","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":2665618,"name":"invenio","full_name":"inveniosoftware/invenio","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio","description":"Invenio digital library software","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio","forks_url":"https://api.github.com/repos/inveniosoftware/invenio/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio/releases{/id}","created_at":"2011-10-28T14:33:51Z","updated_at":"2015-05-07T08:50:31Z","pushed_at":"2015-05-08T12:27:30Z","git_url":"git://github.com/inveniosoftware/invenio.git","ssh_url":"git@github.com:inveniosoftware/invenio.git","clone_url":"https://github.com/inveniosoftware/invenio.git","svn_url":"https://github.com/inveniosoftware/invenio","homepage":"http://invenio-software.org/","size":108812,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"open_issues_count":770,"forks":124,"open_issues":770,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114"},"html":{"href":"https://github.com/inveniosoftware/invenio/pull/3114"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/3114"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/issues/3114/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio/pulls/3114/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio/statuses/8bb039a5ab49ccbc202dd7b6605ebcba7b8e036b"}}}}