{"action":"created","comment":{"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/comments/240443686","pull_request_review_id":183464965,"id":240443686,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDQ0MzY4Ng==","diff_hunk":"@@ -109,19 +115,177 @@ def domain(email):\n     return supplier, brief\n \n \n+@api.route('/brief/rfx', methods=['POST'])\n+@login_required\n+@role_required('buyer')\n+def create_rfx_brief():\n+    if current_user.role != 'buyer':\n+        return forbidden('Unauthorised to create a brief')\n+    try:\n+        lot = Lot.query.filter(Lot.slug == 'rfx').first()\n+        framework = Framework.query.filter(Framework.slug == 'digital-marketplace').first()\n+        user = User.query.get(current_user.id)\n+        brief = Brief(\n+            users=[user],\n+            framework=framework,\n+            lot=lot,\n+            data={}\n+        )\n+        db.session.add(brief)\n+        db.session.commit()\n+    except Exception as e:\n+        rollbar.report_exc_info()\n+        return jsonify(message=e.message), 400\n+\n+    return jsonify(brief.serialize(with_users=False))\n+\n+\n @api.route('/brief/<int:brief_id>', methods=[\"GET\"])\n def get_brief(brief_id):\n     brief = Brief.query.filter(\n         Brief.id == brief_id\n-    ).first_or_404()\n-    if brief.status == 'draft':\n+    ).first()\n+    if not brief:\n+        not_found(\"No brief for id '%s' found\" % (brief_id))\n+\n+    is_buyer = False\n+    is_brief_owner = False\n+    brief_user_ids = [user.id for user in brief.users]\n+    if hasattr(current_user, 'role') and current_user.role == 'buyer':\n+        is_buyer = True\n+    if is_buyer and current_user.id in brief_user_ids:\n+        is_brief_owner = True\n+\n+    if brief.status == 'draft' and not is_brief_owner:\n+        return forbidden(\"Unauthorised to view brief or brief does not exist\")\n+\n+    brief_response_count = 0\n+    brief_responses = brief_responses_service.get_brief_responses(brief_id, None)\n+    if brief_responses:\n+        brief_response_count = len(brief_responses)\n+\n+    invited_seller_count = 0\n+    if 'sellers' in brief.data and brief.data['sellers']:\n+        invited_seller_count = len(brief.data['sellers'])\n+\n+    # is the current user an invited seller, and have they already responded?\n+    is_invited_seller = False\n+    has_responded = False\n+    if ('sellers' in brief.data and\n+       hasattr(current_user, 'role') and\n+       current_user.role == 'supplier' and\n+       str(current_user.supplier_code) in brief.data['sellers'].keys()):\n+        is_invited_seller = True\n+        responses = BriefResponse.query.filter(\n+            BriefResponse.brief_id == brief_id,\n+            BriefResponse.supplier_code == current_user.supplier_code\n+        ).first()\n+        has_responded = True if responses else False\n+\n+    # remove private data for non brief owners\n+    if not is_buyer and not is_brief_owner:\n+        brief.data['sellers'] = {}\n+        brief.responses_zip_filesize = None\n+        if not is_invited_seller:\n+            brief.data['industryBriefing'] = ''\n+            brief.data['attachments'] = []\n+    if is_buyer and not is_brief_owner:\n+        brief.data['sellers'] = {}\n+\n+    # remove private data for anonymous users\n+    if current_user.is_anonymous:\n+        brief.data['proposalType'] = []\n+        brief.data['evaluationType'] = []\n+        brief.data['responseTemplate'] = []\n+        brief.data['requirementsDocument'] = []\n+        brief.data['attachments'] = []\n+\n+    # add the domains available for the buyer during RFX brief build\n+    domains = []\n+    if is_buyer or is_brief_owner:\n+        for domain in Domain.query.order_by(Domain.ordering.asc()).all():\n+            domains.append({\n+                'id': str(domain.id),\n+                'name': domain.name\n+            })\n+\n+    return jsonify(brief=brief.serialize(with_users=False),\n+                   brief_response_count=brief_response_count,\n+                   invited_seller_count=invited_seller_count,\n+                   is_invited_seller=is_invited_seller,\n+                   is_brief_owner=is_brief_owner,\n+                   is_buyer=is_buyer,\n+                   has_responded=has_responded,\n+                   domains=domains)\n+\n+\n+@api.route('/brief/<int:brief_id>', methods=['PATCH'])\n+@login_required\n+@role_required('buyer')\n+def update_brief(brief_id):\n+    brief = briefs.get(brief_id)\n+\n+    if not brief:\n+        not_found(\"Invalid brief id '{}'\".format(brief_id))\n+\n+    if brief.status != 'draft':\n+        abort('Cannot edit a {} brief'.format(brief.status))\n+\n+    if current_user.role == 'buyer':\n         brief_user_ids = [user.id for user in brief.users]\n-        if hasattr(current_user, 'role') and current_user.role == 'buyer' and current_user.id in brief_user_ids:\n-            return jsonify(brief.serialize(with_users=True))\n-        else:\n-            return forbidden(\"Unauthorised to view brief or brief does not exist\")\n-    else:\n-        return jsonify(brief.serialize(with_users=False))\n+        if current_user.id not in brief_user_ids:\n+            return forbidden('Unauthorised to update brief')\n+\n+    data = get_json_from_request()\n+\n+    # validate the RFX JSON request data\n+    errors = RFXDataValidator(brief).validate()\n+    if len(errors) > 0:\n+        abort(', '.join(errors))\n+\n+    publish = False\n+    if 'publish' in data and data['publish']:\n+        del data['publish']\n+        publish = True\n+\n+    if 'evaluationType' in data:\n+        if 'Written proposal' not in data['evaluationType']:\n+            data['proposalType'] = []\n+        if 'Response template' not in data['evaluationType']:\n+            data['responseTemplate'] = []\n+\n+    if 'evaluationCriteria' in data:\n+        for i, criteria in enumerate(data['evaluationCriteria']):\n+            if criteria['weighting']:\n+                data['evaluationCriteria'][i]['weighting'] = criteria['weighting'].replace('%', '')\n+\n+    closed_at = None\n+    if 'closedAt' in data and data['closedAt'] and publish:","path":"app/api/views/briefs.py","position":218,"original_position":216,"commit_id":"dd14debfec50807767d045bde34824c6ab489edf","original_commit_id":"757ac50e3c25071765eef0782832a1cf0426cabf","user":{"login":"malmas18","id":29763502,"node_id":"MDQ6VXNlcjI5NzYzNTAy","avatar_url":"https://avatars1.githubusercontent.com/u/29763502?v=4","gravatar_id":"","url":"https://api.github.com/users/malmas18","html_url":"https://github.com/malmas18","followers_url":"https://api.github.com/users/malmas18/followers","following_url":"https://api.github.com/users/malmas18/following{/other_user}","gists_url":"https://api.github.com/users/malmas18/gists{/gist_id}","starred_url":"https://api.github.com/users/malmas18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malmas18/subscriptions","organizations_url":"https://api.github.com/users/malmas18/orgs","repos_url":"https://api.github.com/users/malmas18/repos","events_url":"https://api.github.com/users/malmas18/events{/privacy}","received_events_url":"https://api.github.com/users/malmas18/received_events","type":"User","site_admin":false},"body":"shouldn't this be in the RFXValidator?","created_at":"2018-12-11T01:21:57Z","updated_at":"2018-12-11T01:32:56Z","html_url":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569#discussion_r240443686","pull_request_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/comments/240443686"},"html":{"href":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569#discussion_r240443686"},"pull_request":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569"}}},"pull_request":{"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569","id":236723429,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NzIzNDI5","html_url":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569","diff_url":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569.diff","patch_url":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569.patch","issue_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/569","number":569,"state":"open","locked":false,"title":"RFX","user":{"login":"ndavison","id":1152676,"node_id":"MDQ6VXNlcjExNTI2NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1152676?v=4","gravatar_id":"","url":"https://api.github.com/users/ndavison","html_url":"https://github.com/ndavison","followers_url":"https://api.github.com/users/ndavison/followers","following_url":"https://api.github.com/users/ndavison/following{/other_user}","gists_url":"https://api.github.com/users/ndavison/gists{/gist_id}","starred_url":"https://api.github.com/users/ndavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndavison/subscriptions","organizations_url":"https://api.github.com/users/ndavison/orgs","repos_url":"https://api.github.com/users/ndavison/repos","events_url":"https://api.github.com/users/ndavison/events{/privacy}","received_events_url":"https://api.github.com/users/ndavison/received_events","type":"User","site_admin":false},"body":"The `app/emails/templates/brief_rfx_invite_seller.md` content is pending. There is also likely an email for the buyer being added when a RFX is published.","created_at":"2018-12-07T01:02:51Z","updated_at":"2018-12-11T01:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5d92ce683666dcf61bcf1e34d1efe08b4f93b9d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569/commits","review_comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569/comments","review_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/569/comments","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/statuses/dd14debfec50807767d045bde34824c6ab489edf","head":{"label":"AusDTO:mar-2514-buyer-rfx","ref":"mar-2514-buyer-rfx","sha":"dd14debfec50807767d045bde34824c6ab489edf","user":{"login":"AusDTO","id":11763427,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzYzNDI3","avatar_url":"https://avatars3.githubusercontent.com/u/11763427?v=4","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"repo":{"id":62025672,"node_id":"MDEwOlJlcG9zaXRvcnk2MjAyNTY3Mg==","name":"dto-digitalmarketplace-api","full_name":"AusDTO/dto-digitalmarketplace-api","private":false,"owner":{"login":"AusDTO","id":11763427,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzYzNDI3","avatar_url":"https://avatars3.githubusercontent.com/u/11763427?v=4","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AusDTO/dto-digitalmarketplace-api","description":"Digital Marketplace API.","fork":true,"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api","forks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/forks","keys_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/teams","hooks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/hooks","issue_events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/events{/number}","events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/events","assignees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/assignees{/user}","branches_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/branches{/branch}","tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/tags","blobs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/statuses/{sha}","languages_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/languages","stargazers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/stargazers","contributors_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/contributors","subscribers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/subscribers","subscription_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/subscription","commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/contents/{+path}","compare_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/merges","archive_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/downloads","issues_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues{/number}","pulls_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls{/number}","milestones_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/milestones{/number}","notifications_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/labels{/name}","releases_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/releases{/id}","deployments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/deployments","created_at":"2016-06-27T04:34:37Z","updated_at":"2018-12-11T01:05:58Z","pushed_at":"2018-12-11T01:31:45Z","git_url":"git://github.com/AusDTO/dto-digitalmarketplace-api.git","ssh_url":"git@github.com:AusDTO/dto-digitalmarketplace-api.git","clone_url":"https://github.com/AusDTO/dto-digitalmarketplace-api.git","svn_url":"https://github.com/AusDTO/dto-digitalmarketplace-api","homepage":null,"size":9323,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"AusDTO:master","ref":"master","sha":"50f978c043ec0ef56e1725c93afe25238972888d","user":{"login":"AusDTO","id":11763427,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzYzNDI3","avatar_url":"https://avatars3.githubusercontent.com/u/11763427?v=4","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"repo":{"id":62025672,"node_id":"MDEwOlJlcG9zaXRvcnk2MjAyNTY3Mg==","name":"dto-digitalmarketplace-api","full_name":"AusDTO/dto-digitalmarketplace-api","private":false,"owner":{"login":"AusDTO","id":11763427,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzYzNDI3","avatar_url":"https://avatars3.githubusercontent.com/u/11763427?v=4","gravatar_id":"","url":"https://api.github.com/users/AusDTO","html_url":"https://github.com/AusDTO","followers_url":"https://api.github.com/users/AusDTO/followers","following_url":"https://api.github.com/users/AusDTO/following{/other_user}","gists_url":"https://api.github.com/users/AusDTO/gists{/gist_id}","starred_url":"https://api.github.com/users/AusDTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AusDTO/subscriptions","organizations_url":"https://api.github.com/users/AusDTO/orgs","repos_url":"https://api.github.com/users/AusDTO/repos","events_url":"https://api.github.com/users/AusDTO/events{/privacy}","received_events_url":"https://api.github.com/users/AusDTO/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/AusDTO/dto-digitalmarketplace-api","description":"Digital Marketplace API.","fork":true,"url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api","forks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/forks","keys_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/teams","hooks_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/hooks","issue_events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/events{/number}","events_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/events","assignees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/assignees{/user}","branches_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/branches{/branch}","tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/tags","blobs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/statuses/{sha}","languages_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/languages","stargazers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/stargazers","contributors_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/contributors","subscribers_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/subscribers","subscription_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/subscription","commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/contents/{+path}","compare_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/merges","archive_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/downloads","issues_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues{/number}","pulls_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls{/number}","milestones_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/milestones{/number}","notifications_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/labels{/name}","releases_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/releases{/id}","deployments_url":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/deployments","created_at":"2016-06-27T04:34:37Z","updated_at":"2018-12-11T01:05:58Z","pushed_at":"2018-12-11T01:31:45Z","git_url":"git://github.com/AusDTO/dto-digitalmarketplace-api.git","ssh_url":"git@github.com:AusDTO/dto-digitalmarketplace-api.git","clone_url":"https://github.com/AusDTO/dto-digitalmarketplace-api.git","svn_url":"https://github.com/AusDTO/dto-digitalmarketplace-api","homepage":null,"size":9323,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569"},"html":{"href":"https://github.com/AusDTO/dto-digitalmarketplace-api/pull/569"},"issue":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/569"},"comments":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/issues/569/comments"},"review_comments":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569/comments"},"review_comment":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/pulls/569/commits"},"statuses":{"href":"https://api.github.com/repos/AusDTO/dto-digitalmarketplace-api/statuses/dd14debfec50807767d045bde34824c6ab489edf"}},"author_association":"NONE"}}
{"actor":{"display_login":"malmas18"}}