{"action":"created","comment":{"url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/comments/96883100","pull_request_review_id":17479518,"id":96883100,"diff_hunk":"@@ -6562,4 +6690,54 @@ definitions:\n       properties:\n         type: object\n         additionalProperties:\n-            type: string\n\\ No newline at end of file\n+            type: string\n+  DownloadBodyCreate:\n+    type: object\n+    required:\n+      - nodeIds\n+    properties:\n+      nodeIds:\n+        type: array\n+        items:\n+          type: string\n+          default: \"278187d5-bf87-44ce-ab9a-3b4e6db932d1\"\n+  DownloadEntry:\n+    type: object\n+    required:\n+      - entry\n+    properties:\n+      entry:\n+        $ref: '#/definitions/Download'\n+  Download:\n+    type: object\n+    properties:\n+      filesAdded:\n+        type: integer\n+        default: 0\n+        description: number of files added so far in the zip\n+      done:","path":"src/main/webapp/definitions/alfresco-core.yaml","position":180,"original_position":180,"commit_id":"960df43f87fbd7afce800d93be01f011a95a6b86","original_commit_id":"960df43f87fbd7afce800d93be01f011a95a6b86","user":{"login":"gavincornwell","id":1194868,"avatar_url":"https://avatars.githubusercontent.com/u/1194868?v=3","gravatar_id":"","url":"https://api.github.com/users/gavincornwell","html_url":"https://github.com/gavincornwell","followers_url":"https://api.github.com/users/gavincornwell/followers","following_url":"https://api.github.com/users/gavincornwell/following{/other_user}","gists_url":"https://api.github.com/users/gavincornwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gavincornwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavincornwell/subscriptions","organizations_url":"https://api.github.com/users/gavincornwell/orgs","repos_url":"https://api.github.com/users/gavincornwell/repos","events_url":"https://api.github.com/users/gavincornwell/events{/privacy}","received_events_url":"https://api.github.com/users/gavincornwell/received_events","type":"User","site_admin":false},"body":"\"done\" is not very descriptive for someone just looking at the response JSON, I would suggest \"bytesAdded\".","created_at":"2017-01-19T15:26:12Z","updated_at":"2017-01-19T15:26:12Z","html_url":"https://github.com/Alfresco/rest-api-explorer/pull/23#discussion_r96883100","pull_request_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/comments/96883100"},"html":{"href":"https://github.com/Alfresco/rest-api-explorer/pull/23#discussion_r96883100"},"pull_request":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23","id":102083727,"html_url":"https://github.com/Alfresco/rest-api-explorer/pull/23","diff_url":"https://github.com/Alfresco/rest-api-explorer/pull/23.diff","patch_url":"https://github.com/Alfresco/rest-api-explorer/pull/23.patch","issue_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/23","number":23,"state":"open","locked":false,"title":"APPSREPO-34 : Added specs for the /downloads API","user":{"login":"constantinpopa10","id":8421030,"avatar_url":"https://avatars.githubusercontent.com/u/8421030?v=3","gravatar_id":"","url":"https://api.github.com/users/constantinpopa10","html_url":"https://github.com/constantinpopa10","followers_url":"https://api.github.com/users/constantinpopa10/followers","following_url":"https://api.github.com/users/constantinpopa10/following{/other_user}","gists_url":"https://api.github.com/users/constantinpopa10/gists{/gist_id}","starred_url":"https://api.github.com/users/constantinpopa10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constantinpopa10/subscriptions","organizations_url":"https://api.github.com/users/constantinpopa10/orgs","repos_url":"https://api.github.com/users/constantinpopa10/repos","events_url":"https://api.github.com/users/constantinpopa10/events{/privacy}","received_events_url":"https://api.github.com/users/constantinpopa10/received_events","type":"User","site_admin":false},"body":"Could you please review the new OpenAPI spec for the download as a zip API.\r\nThanks","created_at":"2017-01-18T15:09:30Z","updated_at":"2017-01-19T15:26:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be8a74a175d80c35765414006718cc9bfe0f1993","assignee":{"login":"gavincornwell","id":1194868,"avatar_url":"https://avatars.githubusercontent.com/u/1194868?v=3","gravatar_id":"","url":"https://api.github.com/users/gavincornwell","html_url":"https://github.com/gavincornwell","followers_url":"https://api.github.com/users/gavincornwell/followers","following_url":"https://api.github.com/users/gavincornwell/following{/other_user}","gists_url":"https://api.github.com/users/gavincornwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gavincornwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavincornwell/subscriptions","organizations_url":"https://api.github.com/users/gavincornwell/orgs","repos_url":"https://api.github.com/users/gavincornwell/repos","events_url":"https://api.github.com/users/gavincornwell/events{/privacy}","received_events_url":"https://api.github.com/users/gavincornwell/received_events","type":"User","site_admin":false},"assignees":[{"login":"gavincornwell","id":1194868,"avatar_url":"https://avatars.githubusercontent.com/u/1194868?v=3","gravatar_id":"","url":"https://api.github.com/users/gavincornwell","html_url":"https://github.com/gavincornwell","followers_url":"https://api.github.com/users/gavincornwell/followers","following_url":"https://api.github.com/users/gavincornwell/following{/other_user}","gists_url":"https://api.github.com/users/gavincornwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gavincornwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavincornwell/subscriptions","organizations_url":"https://api.github.com/users/gavincornwell/orgs","repos_url":"https://api.github.com/users/gavincornwell/repos","events_url":"https://api.github.com/users/gavincornwell/events{/privacy}","received_events_url":"https://api.github.com/users/gavincornwell/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23/commits","review_comments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23/comments","review_comment_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/23/comments","statuses_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/statuses/960df43f87fbd7afce800d93be01f011a95a6b86","head":{"label":"Alfresco:feature/APPSREPO-34_download_zip_api","ref":"feature/APPSREPO-34_download_zip_api","sha":"960df43f87fbd7afce800d93be01f011a95a6b86","user":{"login":"Alfresco","id":391127,"avatar_url":"https://avatars.githubusercontent.com/u/391127?v=3","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"repo":{"id":51218323,"name":"rest-api-explorer","full_name":"Alfresco/rest-api-explorer","owner":{"login":"Alfresco","id":391127,"avatar_url":"https://avatars.githubusercontent.com/u/391127?v=3","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alfresco/rest-api-explorer","description":"Public REST API Explorer","fork":false,"url":"https://api.github.com/repos/Alfresco/rest-api-explorer","forks_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/forks","keys_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/teams","hooks_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/hooks","issue_events_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/events","assignees_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/tags","blobs_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/languages","stargazers_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/stargazers","contributors_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/contributors","subscribers_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/subscribers","subscription_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/subscription","commits_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/merges","archive_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/downloads","issues_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/labels{/name}","releases_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/deployments","created_at":"2016-02-06T19:39:51Z","updated_at":"2016-11-09T14:12:56Z","pushed_at":"2017-01-18T15:09:31Z","git_url":"git://github.com/Alfresco/rest-api-explorer.git","ssh_url":"git@github.com:Alfresco/rest-api-explorer.git","clone_url":"https://github.com/Alfresco/rest-api-explorer.git","svn_url":"https://github.com/Alfresco/rest-api-explorer","homepage":"","size":671,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"Alfresco:5.2.N","ref":"5.2.N","sha":"d4b06b74eae714d54344d4b7cf328cf6f8e7bf89","user":{"login":"Alfresco","id":391127,"avatar_url":"https://avatars.githubusercontent.com/u/391127?v=3","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"repo":{"id":51218323,"name":"rest-api-explorer","full_name":"Alfresco/rest-api-explorer","owner":{"login":"Alfresco","id":391127,"avatar_url":"https://avatars.githubusercontent.com/u/391127?v=3","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alfresco/rest-api-explorer","description":"Public REST API Explorer","fork":false,"url":"https://api.github.com/repos/Alfresco/rest-api-explorer","forks_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/forks","keys_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/teams","hooks_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/hooks","issue_events_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/events","assignees_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/tags","blobs_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/languages","stargazers_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/stargazers","contributors_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/contributors","subscribers_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/subscribers","subscription_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/subscription","commits_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/merges","archive_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/downloads","issues_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/labels{/name}","releases_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/Alfresco/rest-api-explorer/deployments","created_at":"2016-02-06T19:39:51Z","updated_at":"2016-11-09T14:12:56Z","pushed_at":"2017-01-18T15:09:31Z","git_url":"git://github.com/Alfresco/rest-api-explorer.git","ssh_url":"git@github.com:Alfresco/rest-api-explorer.git","clone_url":"https://github.com/Alfresco/rest-api-explorer.git","svn_url":"https://github.com/Alfresco/rest-api-explorer","homepage":"","size":671,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23"},"html":{"href":"https://github.com/Alfresco/rest-api-explorer/pull/23"},"issue":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/23"},"comments":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/Alfresco/rest-api-explorer/statuses/960df43f87fbd7afce800d93be01f011a95a6b86"}}}}
{"actor":{"display_login":"gavincornwell"}}