{"action":"created","comment":{"url":"https://api.github.com/repos/vmware/column/pulls/comments/129716928","pull_request_review_id":52520112,"id":129716928,"diff_hunk":"@@ -0,0 +1,151 @@\n+consumes:\n+- application/json\n+info:\n+  description: Column - Ansible as a service\n+  title: Column\n+  version: 0.0.1\n+  contact:\n+    website: https://github.com/vmware/column\n+  license:\n+    name: BSD-2\n+    url: https://github.com/vmware/column/blob/master/LICENSE\n+produces:\n+- application/json\n+swagger: \"2.0\"\n+schemes:\n+- http\n+basePath: /v1\n+paths:\n+  /runs:\n+    post:\n+      summary: Create a new run to execute ansible playbook\n+      operationId: createRun\n+      parameters:\n+      - in: body\n+        name: body\n+        description: Run object that will describe execution context\n+        required: true\n+        schema:\n+          $ref: \"#/definitions/RunPayload\"\n+      responses:\n+        200:\n+          description: Run started successfully\n+          schema:\n+            $ref: \"#/definitions/Run\"\n+    get:\n+      summary: Get a list of all ansible playbook runs\n+      operationId: getRuns\n+      responses:\n+        200:\n+          description: Returns a list of Runs successfully\n+          schema:\n+            type: array\n+            items:\n+              $ref: \"#/definitions/Run\"\n+  /runs/{runId}:\n+    get:\n+      summary: Returns a single run given its ID\n+      operationID: getRunByID\n+      parameters:\n+      - name: runId\n+        in: path\n+        description: ID of run to return\n+        required: true\n+        type: string\n+        format: uuid\n+      responses:\n+        200:\n+          description: Successful retrieval of Run\n+          schema:\n+            $ref: \"#/definitions/Run\"\n+        404:\n+          description: Run not found\n+          schema:\n+            $ref: \"#/definitions/Error\"\n+  /credentials:\n+    get:\n+      summary: Retrieve credential by credential file path\n+      operationID: getCredential\n+      parameters:\n+      - in: body\n+        name: body\n+        required: true\n+        schema:\n+          $ref: \"#/definitions/CredentialPayload\"\n+      responses:\n+        200:\n+          description: OK\n+          schema:\n+            $ref: \"#/definitions/Credential\"\n+        404:\n+          description: Credential file not found\n+          schema:\n+            $ref: \"#/definitions/Error\"\n+    put:\n+      summary: Update credential by credential file path\n+      operationID: updateCredential\n+      parameters:\n+      - in: body\n+        name: body\n+        required: true\n+        schema:\n+          $ref: \"#/definitions/CredentialPayload\"\n+      responses:\n+        204:\n+          description: OK\n+\n+definitions:\n+  RunPayload:\n+    type: object\n+    properties:\n+      playbook_path:\n+        type: string\n+      inventory:\n+        type: string\n+      options:\n+        type: object\n+        $ref: '#/definitions/Options'\n+\n+  CredentialPayload:\n+    type: object\n+    properties:\n+      value:\n+        type: string\n+\n+  Run:\n+    allOf:\n+    - $ref: '#/definitions/RunPayload'\n+    - type: object\n+      properties:\n+        id:\n+          type: string\n+          format: uuid\n+        state:\n+          type: string\n+          enum:\n+            - running\n+            - completed\n+            - error\n+  Credential:\n+    type: object\n+    properties:\n+      value:\n+        type: string\n+\n+  Options:\n+    type: object","path":"api-spec.yaml","position":136,"original_position":136,"commit_id":"a09a83b372a05bb69977f6321fffb5ecfdd08bd3","original_commit_id":"a09a83b372a05bb69977f6321fffb5ecfdd08bd3","user":{"login":"ericwb","id":5316833,"avatar_url":"https://avatars3.githubusercontent.com/u/5316833?v=4","gravatar_id":"","url":"https://api.github.com/users/ericwb","html_url":"https://github.com/ericwb","followers_url":"https://api.github.com/users/ericwb/followers","following_url":"https://api.github.com/users/ericwb/following{/other_user}","gists_url":"https://api.github.com/users/ericwb/gists{/gist_id}","starred_url":"https://api.github.com/users/ericwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericwb/subscriptions","organizations_url":"https://api.github.com/users/ericwb/orgs","repos_url":"https://api.github.com/users/ericwb/repos","events_url":"https://api.github.com/users/ericwb/events{/privacy}","received_events_url":"https://api.github.com/users/ericwb/received_events","type":"User","site_admin":false},"body":"missing extra_vars - very important","created_at":"2017-07-26T22:57:08Z","updated_at":"2017-07-26T22:57:08Z","html_url":"https://github.com/vmware/column/pull/44#discussion_r129716928","pull_request_url":"https://api.github.com/repos/vmware/column/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/vmware/column/pulls/comments/129716928"},"html":{"href":"https://github.com/vmware/column/pull/44#discussion_r129716928"},"pull_request":{"href":"https://api.github.com/repos/vmware/column/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/vmware/column/pulls/44","id":129612223,"html_url":"https://github.com/vmware/column/pull/44","diff_url":"https://github.com/vmware/column/pull/44.diff","patch_url":"https://github.com/vmware/column/pull/44.patch","issue_url":"https://api.github.com/repos/vmware/column/issues/44","number":44,"state":"open","locked":false,"title":"API specification for Column REST service","user":{"login":"ushergod","id":6515354,"avatar_url":"https://avatars1.githubusercontent.com/u/6515354?v=4","gravatar_id":"","url":"https://api.github.com/users/ushergod","html_url":"https://github.com/ushergod","followers_url":"https://api.github.com/users/ushergod/followers","following_url":"https://api.github.com/users/ushergod/following{/other_user}","gists_url":"https://api.github.com/users/ushergod/gists{/gist_id}","starred_url":"https://api.github.com/users/ushergod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ushergod/subscriptions","organizations_url":"https://api.github.com/users/ushergod/orgs","repos_url":"https://api.github.com/users/ushergod/repos","events_url":"https://api.github.com/users/ushergod/events{/privacy}","received_events_url":"https://api.github.com/users/ushergod/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Sihan Wang <wsihan@vmware.com>","created_at":"2017-07-10T06:58:56Z","updated_at":"2017-07-26T22:57:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffabb2aae1fb6727d6e56d7299b50ed05d698fb5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vmware/column/pulls/44/commits","review_comments_url":"https://api.github.com/repos/vmware/column/pulls/44/comments","review_comment_url":"https://api.github.com/repos/vmware/column/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/column/issues/44/comments","statuses_url":"https://api.github.com/repos/vmware/column/statuses/a09a83b372a05bb69977f6321fffb5ecfdd08bd3","head":{"label":"ushergod:api-spec","ref":"api-spec","sha":"a09a83b372a05bb69977f6321fffb5ecfdd08bd3","user":{"login":"ushergod","id":6515354,"avatar_url":"https://avatars1.githubusercontent.com/u/6515354?v=4","gravatar_id":"","url":"https://api.github.com/users/ushergod","html_url":"https://github.com/ushergod","followers_url":"https://api.github.com/users/ushergod/followers","following_url":"https://api.github.com/users/ushergod/following{/other_user}","gists_url":"https://api.github.com/users/ushergod/gists{/gist_id}","starred_url":"https://api.github.com/users/ushergod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ushergod/subscriptions","organizations_url":"https://api.github.com/users/ushergod/orgs","repos_url":"https://api.github.com/users/ushergod/repos","events_url":"https://api.github.com/users/ushergod/events{/privacy}","received_events_url":"https://api.github.com/users/ushergod/received_events","type":"User","site_admin":false},"repo":{"id":95042487,"name":"column","full_name":"ushergod/column","owner":{"login":"ushergod","id":6515354,"avatar_url":"https://avatars1.githubusercontent.com/u/6515354?v=4","gravatar_id":"","url":"https://api.github.com/users/ushergod","html_url":"https://github.com/ushergod","followers_url":"https://api.github.com/users/ushergod/followers","following_url":"https://api.github.com/users/ushergod/following{/other_user}","gists_url":"https://api.github.com/users/ushergod/gists{/gist_id}","starred_url":"https://api.github.com/users/ushergod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ushergod/subscriptions","organizations_url":"https://api.github.com/users/ushergod/orgs","repos_url":"https://api.github.com/users/ushergod/repos","events_url":"https://api.github.com/users/ushergod/events{/privacy}","received_events_url":"https://api.github.com/users/ushergod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ushergod/column","description":"A stable API for Ansible","fork":true,"url":"https://api.github.com/repos/ushergod/column","forks_url":"https://api.github.com/repos/ushergod/column/forks","keys_url":"https://api.github.com/repos/ushergod/column/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ushergod/column/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ushergod/column/teams","hooks_url":"https://api.github.com/repos/ushergod/column/hooks","issue_events_url":"https://api.github.com/repos/ushergod/column/issues/events{/number}","events_url":"https://api.github.com/repos/ushergod/column/events","assignees_url":"https://api.github.com/repos/ushergod/column/assignees{/user}","branches_url":"https://api.github.com/repos/ushergod/column/branches{/branch}","tags_url":"https://api.github.com/repos/ushergod/column/tags","blobs_url":"https://api.github.com/repos/ushergod/column/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ushergod/column/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ushergod/column/git/refs{/sha}","trees_url":"https://api.github.com/repos/ushergod/column/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ushergod/column/statuses/{sha}","languages_url":"https://api.github.com/repos/ushergod/column/languages","stargazers_url":"https://api.github.com/repos/ushergod/column/stargazers","contributors_url":"https://api.github.com/repos/ushergod/column/contributors","subscribers_url":"https://api.github.com/repos/ushergod/column/subscribers","subscription_url":"https://api.github.com/repos/ushergod/column/subscription","commits_url":"https://api.github.com/repos/ushergod/column/commits{/sha}","git_commits_url":"https://api.github.com/repos/ushergod/column/git/commits{/sha}","comments_url":"https://api.github.com/repos/ushergod/column/comments{/number}","issue_comment_url":"https://api.github.com/repos/ushergod/column/issues/comments{/number}","contents_url":"https://api.github.com/repos/ushergod/column/contents/{+path}","compare_url":"https://api.github.com/repos/ushergod/column/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ushergod/column/merges","archive_url":"https://api.github.com/repos/ushergod/column/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ushergod/column/downloads","issues_url":"https://api.github.com/repos/ushergod/column/issues{/number}","pulls_url":"https://api.github.com/repos/ushergod/column/pulls{/number}","milestones_url":"https://api.github.com/repos/ushergod/column/milestones{/number}","notifications_url":"https://api.github.com/repos/ushergod/column/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ushergod/column/labels{/name}","releases_url":"https://api.github.com/repos/ushergod/column/releases{/id}","deployments_url":"https://api.github.com/repos/ushergod/column/deployments","created_at":"2017-06-21T20:19:43Z","updated_at":"2017-06-21T20:19:44Z","pushed_at":"2017-07-21T19:06:25Z","git_url":"git://github.com/ushergod/column.git","ssh_url":"git@github.com:ushergod/column.git","clone_url":"https://github.com/ushergod/column.git","svn_url":"https://github.com/ushergod/column","homepage":"","size":103,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"vmware:master","ref":"master","sha":"6556f25f42add4f9062f00928bbd9770698192d4","user":{"login":"vmware","id":473334,"avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":92447023,"name":"column","full_name":"vmware/column","owner":{"login":"vmware","id":473334,"avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/column","description":"A stable API for Ansible","fork":false,"url":"https://api.github.com/repos/vmware/column","forks_url":"https://api.github.com/repos/vmware/column/forks","keys_url":"https://api.github.com/repos/vmware/column/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/column/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/column/teams","hooks_url":"https://api.github.com/repos/vmware/column/hooks","issue_events_url":"https://api.github.com/repos/vmware/column/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/column/events","assignees_url":"https://api.github.com/repos/vmware/column/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/column/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/column/tags","blobs_url":"https://api.github.com/repos/vmware/column/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/column/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/column/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/column/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/column/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/column/languages","stargazers_url":"https://api.github.com/repos/vmware/column/stargazers","contributors_url":"https://api.github.com/repos/vmware/column/contributors","subscribers_url":"https://api.github.com/repos/vmware/column/subscribers","subscription_url":"https://api.github.com/repos/vmware/column/subscription","commits_url":"https://api.github.com/repos/vmware/column/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/column/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/column/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/column/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/column/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/column/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/column/merges","archive_url":"https://api.github.com/repos/vmware/column/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/column/downloads","issues_url":"https://api.github.com/repos/vmware/column/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/column/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/column/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/column/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/column/labels{/name}","releases_url":"https://api.github.com/repos/vmware/column/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/column/deployments","created_at":"2017-05-25T21:45:08Z","updated_at":"2017-07-26T05:02:10Z","pushed_at":"2017-07-26T07:36:34Z","git_url":"git://github.com/vmware/column.git","ssh_url":"git@github.com:vmware/column.git","clone_url":"https://github.com/vmware/column.git","svn_url":"https://github.com/vmware/column","homepage":"","size":131,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/column/pulls/44"},"html":{"href":"https://github.com/vmware/column/pull/44"},"issue":{"href":"https://api.github.com/repos/vmware/column/issues/44"},"comments":{"href":"https://api.github.com/repos/vmware/column/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/column/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/column/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/column/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/column/statuses/a09a83b372a05bb69977f6321fffb5ecfdd08bd3"}}}}
{"actor":{"display_login":"ericwb"}}