{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/200387332","pull_request_review_id":134690200,"id":200387332,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDM4NzMzMg==","diff_hunk":"@@ -217,3 +228,319 @@ def update_question(\n     updated_question = apply_change_list(question_id, change_list)\n     _save_question(\n         committer_id, updated_question, change_list, commit_message)\n+\n+\n+def get_new_question_id():\n+    \"\"\"Returns a new question id.\n+\n+    Returns:\n+        str. A new question id.\n+    \"\"\"\n+    return question_models.QuestionModel.get_new_id('')\n+\n+\n+def create_question_summary(\n+        question_id, creator_id, status):\n+    \"\"\"Creates and stores a summary of the given question.\n+\n+    Args:\n+        question_id: str. ID of the question.\n+        creator_id: str. The user ID of the creator of the question.\n+        status: str. The status of the question.\n+    \"\"\"\n+    question = get_question_by_id(question_id)\n+    question_summary = compute_summary_of_question(\n+        question, creator_id, status)\n+    save_question_summary(question_summary)\n+\n+\n+def compute_summary_of_question(question, creator_id, status):\n+    \"\"\"Create a QuestionSummary domain object for a given Question domain\n+    object and return it.\n+\n+    Args:\n+        question: Question. The question object for which the summary\n+            is to be computed.\n+        creator_id: str. The user ID of the creator of the question.\n+        status: str. The status of the question.\n+\n+    Returns:\n+        QuestionSummary. The computed summary for the given question.\n+    \"\"\"\n+    question_html_data = question.question_data['content']['html']\n+    question_summary = question_domain.QuestionSummary(\n+        question.question_id, creator_id, question.language_code,\n+        status, question_html_data\n+    )\n+\n+    return question_summary\n+\n+\n+def save_question_summary(question_summary):\n+    \"\"\"Save a question summary domain object as a QuestionSummaryModel\n+    entity in the datastore.\n+\n+    Args:\n+        question_summary: The question summary object to be saved in the\n+            datastore.\n+    \"\"\"\n+    question_summary_model = question_models.QuestionSummaryModel(\n+        id=question_summary.id,\n+        creator_id=question_summary.creator_id,\n+        language_code=question_summary.language_code,\n+        status=question_summary.status,\n+        question_model_last_updated=question_summary.last_updated,\n+        question_model_created_on=question_summary.created_on,\n+        question_html_data=question_summary.question_data\n+    )\n+\n+    question_summary_model.put()\n+\n+\n+def send_question_for_review(committer_id, question_id):\n+    \"\"\"Marks a question's status as pending.\n+\n+    Args:\n+        committer_id: str. The user_id of the committer.\n+        question_id: str. The user_id of the question.\n+\n+    Returns:\n+        QuestionSummaryModel: The QuestionSummaryModel for the given question.\n+    \"\"\"\n+    model = get_question_summary_by_question_id(question_id, strict=False)\n+    commit_message = 'Marked question as pending.'\n+    model.status = feconf.QUESTION_STATUS_PENDING\n+    model.commit(\n+        committer_id,\n+        commit_message,\n+        [{'cmd': question_domain.CMD_SEND_QUESTION_FOR_REVIEW}])\n+\n+\n+def reject_question(committer_id, question_id):\n+    \"\"\"Marks a question's status as rejected.\n+\n+    Args:\n+        committer_id: str. The user_id of the committer.\n+        question_id: str. The user_id of the question.\n+\n+    Returns:\n+        QuestionSummaryModel: The QuestionSummaryModel for the given question.\n+    \"\"\"\n+    model = get_question_summary_by_question_id(question_id, strict=False)\n+    commit_message = 'Marked question as rejected.'\n+    model.status = feconf.QUESTION_STATUS_REJECTED\n+    model.commit(\n+        committer_id,\n+        commit_message,\n+        [{'cmd': question_domain.CMD_REJECT_QUESTION}])\n+\n+\n+def get_question_summaries_by_creator_id(creator_id):\n+    \"\"\"Gets question summaries of questions created by the user.\n+\n+    Args:\n+        creator_id: str. The user ID of the creator.\n+\n+    Returns:\n+        QuestionSummaryModel. The QuestionSummaryModel for the given question.\n+    \"\"\"\n+    return question_models.QuestionSummaryModel.get_by_creator_id(creator_id)\n+\n+\n+def get_question_summary_by_question_id(question_id, strict=False):\n+    \"\"\"Gets question summaries of questions created by the user.\n+\n+    Args:\n+        question_id: str. The user ID of the question.\n+        strict: bool. Whether to fail noisily if no question summary for the\n+            given question id exists in the datastore.\n+\n+    Returns:\n+        QuestionSummaryModel. The QuestionSummaryModel for the given question.\n+    \"\"\"\n+    return question_models.QuestionSummaryModel.get(question_id, strict=strict)\n+\n+\n+def get_summaries_of_linked_skills(question_id):\n+    \"\"\"Gets linked skill IDs for given question.\n+\n+    Args:\n+        question_id: str. The question ID for the given question.\n+\n+    Returns:\n+        QuestionSkillLinkModel. The QuestionSkillModel for the given question.\n+    \"\"\"\n+    linked_skill_summaries = []\n+    question_skill_links = question_models.QuestionSkillLinkModel.get(\n+        question_id, strict=False)\n+\n+    if question_skill_links is None:\n+        return None\n+    for question_skill_link in question_skill_links:\n+        linked_skill_summaries = (\n+            skill_models.SkillSummaryModel.get(\n+                question_skill_link.skill_id, strict=False))\n+\n+    return linked_skill_summaries\n+\n+\n+def get_question_rights_from_model(question_rights_model):\n+    \"\"\"Constructs a QuestionRights object from the given question rights model.\n+\n+    Args:\n+        question_rights_model: QuestionRightsModel. Question rights from the\n+            datastore.\n+\n+    Returns:\n+        QuestionRights. The rights object created from the model.\n+    \"\"\"\n+\n+    return question_domain.QuestionRights(\n+        question_rights_model.id,\n+        question_rights_model.manager_ids\n+    )\n+\n+\n+def save_question_rights(\n+        question_rights, committer_id, commit_message, commit_cmds):\n+    \"\"\"Saves a QuestionRights domain object to the datastore.\n+\n+    Args:\n+        question_rights: QuestionRights. The rights object for the given\n+            question.\n+        committer_id: str. ID of the committer.\n+        commit_message: str. Descriptive message for the commit.\n+        commit_cmds: list(QuestionChangeDict). A list of commands\n+            describing what kind of commit was done.\n+    \"\"\"\n+\n+    model = question_models.QuestionRightsModel.get(\n+        question_rights.id, strict=False)\n+\n+    model.manager_ids = question_rights.manager_ids\n+    commit_cmd_dicts = [commit_cmd.to_dict() for commit_cmd in commit_cmds]\n+    model.commit(committer_id, commit_message, commit_cmd_dicts)\n+\n+\n+def create_new_question_rights(question_id, committer_id):\n+    \"\"\"Creates a new question rights object and saves it to the datastore.\n+\n+    Args:\n+        question_id: str. ID of the question.\n+        committer_id: str. ID of the committer.\n+    \"\"\"\n+    question_rights = question_domain.QuestionRights(question_id, [])\n+    commit_cmds = [{'cmd': CMD_CREATE_NEW}]\n+\n+    question_models.QuestionRightsModel(\n+        id=question_rights.id,\n+        manager_ids=question_rights.manager_ids\n+    ).commit(committer_id, 'Created new question rights', commit_cmds)\n+\n+\n+def get_question_rights(question_id, strict=True):\n+    \"\"\"Retrieves the rights object for the given question.\n+\n+    Args:\n+        question_id: str. ID of the question.\n+        strict: bool. Whether to fail noisily if no question rights with a\n+            given id exists in the datastore.\n+\n+    Returns:\n+        QuestionRights. The rights object associated with the given question.\n+\n+    Raises:\n+        EntityNotFoundError. The question with ID question_id was not\n+            found in the datastore.\n+    \"\"\"\n+\n+    model = question_models.QuestionRightsModel.get(question_id, strict=strict)\n+\n+    if model is None:\n+        return None\n+\n+    return get_question_rights_from_model(model)\n+\n+\n+def check_can_edit_question(user_id, question_id):\n+    \"\"\"Checks if the user can edit the given question or not\n+\n+    Args:\n+        user_id: str. The user ID of the user.\n+        question_id: str. The question ID of the question.\n+\n+    Returns:\n+        bool. Represents if the user can edit the question or not.\n+    \"\"\"\n+    question_summary = get_question_summary_by_question_id(\n+        question_id, strict=False)\n+\n+    if question_summary.status == feconf.QUESTION_STATUS_PENDING:\n+        return False\n+\n+    if (user_services.is_admin(user_id) or\n+            user_services.is_topic_manager(user_id)):\n+        if question_summary.status == feconf.QUESTION_STATUS_APPROVED:\n+            return True\n+        return False\n+\n+    if (question_summary.status == feconf.ACTIVITY_STATUS_PRIVATE or\n+            question_summary.status == feconf.QUESTION_STATUS_REJECTED):\n+        return True\n+\n+    return False\n+\n+\n+def publish_question(question_id, committer_id):","path":"core/domain/question_services.py","position":334,"original_position":334,"commit_id":"bbe584b36f47bdc016cf1c41d5baec7a2db49958","original_commit_id":"0e9a615abde5e2beb56200223ff7831120b5c350","user":{"login":"aks681","id":22347970,"node_id":"MDQ6VXNlcjIyMzQ3OTcw","avatar_url":"https://avatars3.githubusercontent.com/u/22347970?v=4","gravatar_id":"","url":"https://api.github.com/users/aks681","html_url":"https://github.com/aks681","followers_url":"https://api.github.com/users/aks681/followers","following_url":"https://api.github.com/users/aks681/following{/other_user}","gists_url":"https://api.github.com/users/aks681/gists{/gist_id}","starred_url":"https://api.github.com/users/aks681/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aks681/subscriptions","organizations_url":"https://api.github.com/users/aks681/orgs","repos_url":"https://api.github.com/users/aks681/repos","events_url":"https://api.github.com/users/aks681/events{/privacy}","received_events_url":"https://api.github.com/users/aks681/received_events","type":"User","site_admin":false},"body":"Shouldn't this be approve_question or maybe approve_and_publish_question, since all approved questions are automatically published?","created_at":"2018-07-05T15:05:50Z","updated_at":"2018-07-05T15:13:27Z","html_url":"https://github.com/oppia/oppia/pull/5141#discussion_r200387332","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/5141","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/200387332"},"html":{"href":"https://github.com/oppia/oppia/pull/5141#discussion_r200387332"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5141"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/5141","id":196852628,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODUyNjI4","html_url":"https://github.com/oppia/oppia/pull/5141","diff_url":"https://github.com/oppia/oppia/pull/5141.diff","patch_url":"https://github.com/oppia/oppia/pull/5141.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/5141","number":5141,"state":"open","locked":false,"title":"Edit Creator Dashboard and create Question Editor (Part 1)","user":{"login":"WickedBrat","id":20617436,"node_id":"MDQ6VXNlcjIwNjE3NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/20617436?v=4","gravatar_id":"","url":"https://api.github.com/users/WickedBrat","html_url":"https://github.com/WickedBrat","followers_url":"https://api.github.com/users/WickedBrat/followers","following_url":"https://api.github.com/users/WickedBrat/following{/other_user}","gists_url":"https://api.github.com/users/WickedBrat/gists{/gist_id}","starred_url":"https://api.github.com/users/WickedBrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WickedBrat/subscriptions","organizations_url":"https://api.github.com/users/WickedBrat/orgs","repos_url":"https://api.github.com/users/WickedBrat/repos","events_url":"https://api.github.com/users/WickedBrat/events{/privacy}","received_events_url":"https://api.github.com/users/WickedBrat/received_events","type":"User","site_admin":false},"body":"This PR adds backend model for\r\n- QuestionSummary\r\n- QuestionCommitLogEntry\r\n- QuestionRights\r\n\r\nThis PR also adds required methods and functions required for questions.","created_at":"2018-06-22T21:47:07Z","updated_at":"2018-07-05T15:13:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"343f921fffe270c48bce8509889749a5f910528d","assignee":{"login":"aks681","id":22347970,"node_id":"MDQ6VXNlcjIyMzQ3OTcw","avatar_url":"https://avatars3.githubusercontent.com/u/22347970?v=4","gravatar_id":"","url":"https://api.github.com/users/aks681","html_url":"https://github.com/aks681","followers_url":"https://api.github.com/users/aks681/followers","following_url":"https://api.github.com/users/aks681/following{/other_user}","gists_url":"https://api.github.com/users/aks681/gists{/gist_id}","starred_url":"https://api.github.com/users/aks681/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aks681/subscriptions","organizations_url":"https://api.github.com/users/aks681/orgs","repos_url":"https://api.github.com/users/aks681/repos","events_url":"https://api.github.com/users/aks681/events{/privacy}","received_events_url":"https://api.github.com/users/aks681/received_events","type":"User","site_admin":false},"assignees":[{"login":"aks681","id":22347970,"node_id":"MDQ6VXNlcjIyMzQ3OTcw","avatar_url":"https://avatars3.githubusercontent.com/u/22347970?v=4","gravatar_id":"","url":"https://api.github.com/users/aks681","html_url":"https://github.com/aks681","followers_url":"https://api.github.com/users/aks681/followers","following_url":"https://api.github.com/users/aks681/following{/other_user}","gists_url":"https://api.github.com/users/aks681/gists{/gist_id}","starred_url":"https://api.github.com/users/aks681/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aks681/subscriptions","organizations_url":"https://api.github.com/users/aks681/orgs","repos_url":"https://api.github.com/users/aks681/repos","events_url":"https://api.github.com/users/aks681/events{/privacy}","received_events_url":"https://api.github.com/users/aks681/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"seanlip","id":10575562,"node_id":"MDQ6VXNlcjEwNTc1NTYy","avatar_url":"https://avatars0.githubusercontent.com/u/10575562?v=4","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},{"login":"BenHenning","id":12983742,"node_id":"MDQ6VXNlcjEyOTgzNzQy","avatar_url":"https://avatars3.githubusercontent.com/u/12983742?v=4","gravatar_id":"","url":"https://api.github.com/users/BenHenning","html_url":"https://github.com/BenHenning","followers_url":"https://api.github.com/users/BenHenning/followers","following_url":"https://api.github.com/users/BenHenning/following{/other_user}","gists_url":"https://api.github.com/users/BenHenning/gists{/gist_id}","starred_url":"https://api.github.com/users/BenHenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenHenning/subscriptions","organizations_url":"https://api.github.com/users/BenHenning/orgs","repos_url":"https://api.github.com/users/BenHenning/repos","events_url":"https://api.github.com/users/BenHenning/events{/privacy}","received_events_url":"https://api.github.com/users/BenHenning/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/5141/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/5141/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/5141/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/bbe584b36f47bdc016cf1c41d5baec7a2db49958","head":{"label":"WickedBrat:question-dashboard-backend","ref":"question-dashboard-backend","sha":"bbe584b36f47bdc016cf1c41d5baec7a2db49958","user":{"login":"WickedBrat","id":20617436,"node_id":"MDQ6VXNlcjIwNjE3NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/20617436?v=4","gravatar_id":"","url":"https://api.github.com/users/WickedBrat","html_url":"https://github.com/WickedBrat","followers_url":"https://api.github.com/users/WickedBrat/followers","following_url":"https://api.github.com/users/WickedBrat/following{/other_user}","gists_url":"https://api.github.com/users/WickedBrat/gists{/gist_id}","starred_url":"https://api.github.com/users/WickedBrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WickedBrat/subscriptions","organizations_url":"https://api.github.com/users/WickedBrat/orgs","repos_url":"https://api.github.com/users/WickedBrat/repos","events_url":"https://api.github.com/users/WickedBrat/events{/privacy}","received_events_url":"https://api.github.com/users/WickedBrat/received_events","type":"User","site_admin":false},"repo":{"id":115219204,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUyMTkyMDQ=","name":"oppia","full_name":"WickedBrat/oppia","owner":{"login":"WickedBrat","id":20617436,"node_id":"MDQ6VXNlcjIwNjE3NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/20617436?v=4","gravatar_id":"","url":"https://api.github.com/users/WickedBrat","html_url":"https://github.com/WickedBrat","followers_url":"https://api.github.com/users/WickedBrat/followers","following_url":"https://api.github.com/users/WickedBrat/following{/other_user}","gists_url":"https://api.github.com/users/WickedBrat/gists{/gist_id}","starred_url":"https://api.github.com/users/WickedBrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WickedBrat/subscriptions","organizations_url":"https://api.github.com/users/WickedBrat/orgs","repos_url":"https://api.github.com/users/WickedBrat/repos","events_url":"https://api.github.com/users/WickedBrat/events{/privacy}","received_events_url":"https://api.github.com/users/WickedBrat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WickedBrat/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/WickedBrat/oppia","forks_url":"https://api.github.com/repos/WickedBrat/oppia/forks","keys_url":"https://api.github.com/repos/WickedBrat/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WickedBrat/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WickedBrat/oppia/teams","hooks_url":"https://api.github.com/repos/WickedBrat/oppia/hooks","issue_events_url":"https://api.github.com/repos/WickedBrat/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/WickedBrat/oppia/events","assignees_url":"https://api.github.com/repos/WickedBrat/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/WickedBrat/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/WickedBrat/oppia/tags","blobs_url":"https://api.github.com/repos/WickedBrat/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WickedBrat/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WickedBrat/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/WickedBrat/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WickedBrat/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/WickedBrat/oppia/languages","stargazers_url":"https://api.github.com/repos/WickedBrat/oppia/stargazers","contributors_url":"https://api.github.com/repos/WickedBrat/oppia/contributors","subscribers_url":"https://api.github.com/repos/WickedBrat/oppia/subscribers","subscription_url":"https://api.github.com/repos/WickedBrat/oppia/subscription","commits_url":"https://api.github.com/repos/WickedBrat/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/WickedBrat/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/WickedBrat/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/WickedBrat/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/WickedBrat/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/WickedBrat/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WickedBrat/oppia/merges","archive_url":"https://api.github.com/repos/WickedBrat/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WickedBrat/oppia/downloads","issues_url":"https://api.github.com/repos/WickedBrat/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/WickedBrat/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/WickedBrat/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/WickedBrat/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WickedBrat/oppia/labels{/name}","releases_url":"https://api.github.com/repos/WickedBrat/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/WickedBrat/oppia/deployments","created_at":"2017-12-23T20:09:30Z","updated_at":"2018-07-04T15:53:22Z","pushed_at":"2018-07-05T15:04:55Z","git_url":"git://github.com/WickedBrat/oppia.git","ssh_url":"git@github.com:WickedBrat/oppia.git","clone_url":"https://github.com/WickedBrat/oppia.git","svn_url":"https://github.com/WickedBrat/oppia","homepage":"https://www.oppia.org","size":104994,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"8bb457739dc2f3658a6111095c00cef142456ac5","user":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY4NzU2Mw==","name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2018-07-05T12:39:38Z","pushed_at":"2018-07-05T15:04:57Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":104772,"stargazers_count":681,"watchers_count":681,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":653,"mirror_url":null,"archived":false,"open_issues_count":337,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":653,"open_issues":337,"watchers":681,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5141"},"html":{"href":"https://github.com/oppia/oppia/pull/5141"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/5141"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/5141/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5141/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5141/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/bbe584b36f47bdc016cf1c41d5baec7a2db49958"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"aks681"}}