{"action":"created","comment":{"url":"https://api.github.com/repos/malinink/easy-tests/pulls/comments/182847529","pull_request_review_id":113728462,"id":182847529,"diff_hunk":"@@ -197,6 +197,166 @@ paths:\n   #\n   # Subjects\n   #\n+  /v1/subjects:\n+    get:\n+      summary: List of all subjects\n+      operationId: listSubjects\n+      tags:\n+          - subjects\n+      parameters:\n+        - name: userId\n+          in: query\n+          description: Id of specific user\n+          required: true\n+          type: integer\n+          format: int64\n+      responses:\n+        '200':\n+          description: An array of subjects\n+          schema:\n+            type: array\n+            items:\n+              $ref: '#/definitions/V1Subjects'\n+        '400':\n+          description: Invalid user ID supplied\n+          schema:\n+              $ref: '#/definitions/V1Error'\n+        '403':\n+          description: Permission denied\n+          schema:\n+              $ref: '#/definitions/V1Error'\n+        '404':\n+          description: Subject not found\n+          schema:\n+              $ref: '#/definitions/V1Error'\n+        default:\n+          description: unexpected error\n+          schema:\n+              $ref: '#/definitions/V1Error'\n+    post:\n+      summary: Create a new Subject\n+      operationId: createSubject\n+      parameters:\n+        - name: subject\n+          in: body\n+          required: true\n+          description: Subject that needs to be created\n+          schema:\n+            $ref: '#/definitions/V1Subject'\n+      tags:\n+          - subjects\n+      responses:\n+        '200':\n+          description: Return a new subject\n+          schema:\n+            $ref: '#/definitions/V1Subject'\n+        '400':\n+          description: Invalid input\n+          schema:\n+            $ref: '#/definitions/V1Error'\n+        '403':\n+          description: Permission denied\n+          schema:\n+            $ref: '#/definitions/V1Error'\n+        default:\n+          description: Unexpected error\n+          schema:\n+            $ref: '#/definitions/V1Error'\n+    put:\n+      summary: Update an existing subject\n+      operationId: updateSubject\n+      tags:\n+        - subjects\n+      parameters:\n+        - name: subject\n+          in: body\n+          required: true\n+          description: Subject that needs to be updated\n+          schema:\n+            $ref: '#/definitions/V1Subject'\n+      responses:\n+        '200':\n+          description: Return the updated question","path":"src/main/resources/api/api.yaml","position":83,"original_position":83,"commit_id":"ca48f9041a4844460801e71e9c83371f33cfe2c8","original_commit_id":"ca48f9041a4844460801e71e9c83371f33cfe2c8","user":{"login":"malinink","id":5726553,"avatar_url":"https://avatars1.githubusercontent.com/u/5726553?v=4","gravatar_id":"","url":"https://api.github.com/users/malinink","html_url":"https://github.com/malinink","followers_url":"https://api.github.com/users/malinink/followers","following_url":"https://api.github.com/users/malinink/following{/other_user}","gists_url":"https://api.github.com/users/malinink/gists{/gist_id}","starred_url":"https://api.github.com/users/malinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinink/subscriptions","organizations_url":"https://api.github.com/users/malinink/orgs","repos_url":"https://api.github.com/users/malinink/repos","events_url":"https://api.github.com/users/malinink/events{/privacy}","received_events_url":"https://api.github.com/users/malinink/received_events","type":"User","site_admin":false},"body":"empty body","created_at":"2018-04-19T18:45:24Z","updated_at":"2018-04-19T18:50:09Z","html_url":"https://github.com/malinink/easy-tests/pull/315#discussion_r182847529","pull_request_url":"https://api.github.com/repos/malinink/easy-tests/pulls/315","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/comments/182847529"},"html":{"href":"https://github.com/malinink/easy-tests/pull/315#discussion_r182847529"},"pull_request":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/315"}}},"pull_request":{"url":"https://api.github.com/repos/malinink/easy-tests/pulls/315","id":182836493,"html_url":"https://github.com/malinink/easy-tests/pull/315","diff_url":"https://github.com/malinink/easy-tests/pull/315.diff","patch_url":"https://github.com/malinink/easy-tests/pull/315.patch","issue_url":"https://api.github.com/repos/malinink/easy-tests/issues/315","number":315,"state":"open","locked":false,"title":"Add Subject description into API.yaml","user":{"login":"VeronikaRevjakina","id":26744553,"avatar_url":"https://avatars3.githubusercontent.com/u/26744553?v=4","gravatar_id":"","url":"https://api.github.com/users/VeronikaRevjakina","html_url":"https://github.com/VeronikaRevjakina","followers_url":"https://api.github.com/users/VeronikaRevjakina/followers","following_url":"https://api.github.com/users/VeronikaRevjakina/following{/other_user}","gists_url":"https://api.github.com/users/VeronikaRevjakina/gists{/gist_id}","starred_url":"https://api.github.com/users/VeronikaRevjakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeronikaRevjakina/subscriptions","organizations_url":"https://api.github.com/users/VeronikaRevjakina/orgs","repos_url":"https://api.github.com/users/VeronikaRevjakina/repos","events_url":"https://api.github.com/users/VeronikaRevjakina/events{/privacy}","received_events_url":"https://api.github.com/users/VeronikaRevjakina/received_events","type":"User","site_admin":false},"body":"#309\r\n\r\n- [x]  Subject model\r\n\r\n- [x] Methods\r\n\r\n- [x] Methods with id","created_at":"2018-04-19T16:47:11Z","updated_at":"2018-04-19T18:50:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ee507d037ba86abcb084a572b9c47af707d2d8a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":770884517,"url":"https://api.github.com/repos/malinink/easy-tests/labels/pr%20ready%20for%20review","name":"pr ready for review","color":"b8f26d","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/malinink/easy-tests/pulls/315/commits","review_comments_url":"https://api.github.com/repos/malinink/easy-tests/pulls/315/comments","review_comment_url":"https://api.github.com/repos/malinink/easy-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/malinink/easy-tests/issues/315/comments","statuses_url":"https://api.github.com/repos/malinink/easy-tests/statuses/ca48f9041a4844460801e71e9c83371f33cfe2c8","head":{"label":"VeronikaRevjakina:feature-309","ref":"feature-309","sha":"ca48f9041a4844460801e71e9c83371f33cfe2c8","user":{"login":"VeronikaRevjakina","id":26744553,"avatar_url":"https://avatars3.githubusercontent.com/u/26744553?v=4","gravatar_id":"","url":"https://api.github.com/users/VeronikaRevjakina","html_url":"https://github.com/VeronikaRevjakina","followers_url":"https://api.github.com/users/VeronikaRevjakina/followers","following_url":"https://api.github.com/users/VeronikaRevjakina/following{/other_user}","gists_url":"https://api.github.com/users/VeronikaRevjakina/gists{/gist_id}","starred_url":"https://api.github.com/users/VeronikaRevjakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeronikaRevjakina/subscriptions","organizations_url":"https://api.github.com/users/VeronikaRevjakina/orgs","repos_url":"https://api.github.com/users/VeronikaRevjakina/repos","events_url":"https://api.github.com/users/VeronikaRevjakina/events{/privacy}","received_events_url":"https://api.github.com/users/VeronikaRevjakina/received_events","type":"User","site_admin":false},"repo":{"id":107112377,"name":"easy-tests","full_name":"VeronikaRevjakina/easy-tests","owner":{"login":"VeronikaRevjakina","id":26744553,"avatar_url":"https://avatars3.githubusercontent.com/u/26744553?v=4","gravatar_id":"","url":"https://api.github.com/users/VeronikaRevjakina","html_url":"https://github.com/VeronikaRevjakina","followers_url":"https://api.github.com/users/VeronikaRevjakina/followers","following_url":"https://api.github.com/users/VeronikaRevjakina/following{/other_user}","gists_url":"https://api.github.com/users/VeronikaRevjakina/gists{/gist_id}","starred_url":"https://api.github.com/users/VeronikaRevjakina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VeronikaRevjakina/subscriptions","organizations_url":"https://api.github.com/users/VeronikaRevjakina/orgs","repos_url":"https://api.github.com/users/VeronikaRevjakina/repos","events_url":"https://api.github.com/users/VeronikaRevjakina/events{/privacy}","received_events_url":"https://api.github.com/users/VeronikaRevjakina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VeronikaRevjakina/easy-tests","description":"Project for creating and passing any tests online ","fork":true,"url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests","forks_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/forks","keys_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/teams","hooks_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/hooks","issue_events_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/issues/events{/number}","events_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/events","assignees_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/assignees{/user}","branches_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/branches{/branch}","tags_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/tags","blobs_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/languages","stargazers_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/stargazers","contributors_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/contributors","subscribers_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/subscribers","subscription_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/subscription","commits_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/contents/{+path}","compare_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/merges","archive_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/downloads","issues_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/issues{/number}","pulls_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/labels{/name}","releases_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/releases{/id}","deployments_url":"https://api.github.com/repos/VeronikaRevjakina/easy-tests/deployments","created_at":"2017-10-16T10:22:11Z","updated_at":"2017-10-16T10:22:14Z","pushed_at":"2018-04-19T16:42:38Z","git_url":"git://github.com/VeronikaRevjakina/easy-tests.git","ssh_url":"git@github.com:VeronikaRevjakina/easy-tests.git","clone_url":"https://github.com/VeronikaRevjakina/easy-tests.git","svn_url":"https://github.com/VeronikaRevjakina/easy-tests","homepage":null,"size":2510,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"malinink:dev","ref":"dev","sha":"323d61748034866df714513ac894b146e28278b9","user":{"login":"malinink","id":5726553,"avatar_url":"https://avatars1.githubusercontent.com/u/5726553?v=4","gravatar_id":"","url":"https://api.github.com/users/malinink","html_url":"https://github.com/malinink","followers_url":"https://api.github.com/users/malinink/followers","following_url":"https://api.github.com/users/malinink/following{/other_user}","gists_url":"https://api.github.com/users/malinink/gists{/gist_id}","starred_url":"https://api.github.com/users/malinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinink/subscriptions","organizations_url":"https://api.github.com/users/malinink/orgs","repos_url":"https://api.github.com/users/malinink/repos","events_url":"https://api.github.com/users/malinink/events{/privacy}","received_events_url":"https://api.github.com/users/malinink/received_events","type":"User","site_admin":false},"repo":{"id":72142979,"name":"easy-tests","full_name":"malinink/easy-tests","owner":{"login":"malinink","id":5726553,"avatar_url":"https://avatars1.githubusercontent.com/u/5726553?v=4","gravatar_id":"","url":"https://api.github.com/users/malinink","html_url":"https://github.com/malinink","followers_url":"https://api.github.com/users/malinink/followers","following_url":"https://api.github.com/users/malinink/following{/other_user}","gists_url":"https://api.github.com/users/malinink/gists{/gist_id}","starred_url":"https://api.github.com/users/malinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinink/subscriptions","organizations_url":"https://api.github.com/users/malinink/orgs","repos_url":"https://api.github.com/users/malinink/repos","events_url":"https://api.github.com/users/malinink/events{/privacy}","received_events_url":"https://api.github.com/users/malinink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malinink/easy-tests","description":"Project for creating and passing any tests online ","fork":false,"url":"https://api.github.com/repos/malinink/easy-tests","forks_url":"https://api.github.com/repos/malinink/easy-tests/forks","keys_url":"https://api.github.com/repos/malinink/easy-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malinink/easy-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malinink/easy-tests/teams","hooks_url":"https://api.github.com/repos/malinink/easy-tests/hooks","issue_events_url":"https://api.github.com/repos/malinink/easy-tests/issues/events{/number}","events_url":"https://api.github.com/repos/malinink/easy-tests/events","assignees_url":"https://api.github.com/repos/malinink/easy-tests/assignees{/user}","branches_url":"https://api.github.com/repos/malinink/easy-tests/branches{/branch}","tags_url":"https://api.github.com/repos/malinink/easy-tests/tags","blobs_url":"https://api.github.com/repos/malinink/easy-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malinink/easy-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malinink/easy-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/malinink/easy-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malinink/easy-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/malinink/easy-tests/languages","stargazers_url":"https://api.github.com/repos/malinink/easy-tests/stargazers","contributors_url":"https://api.github.com/repos/malinink/easy-tests/contributors","subscribers_url":"https://api.github.com/repos/malinink/easy-tests/subscribers","subscription_url":"https://api.github.com/repos/malinink/easy-tests/subscription","commits_url":"https://api.github.com/repos/malinink/easy-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/malinink/easy-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/malinink/easy-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/malinink/easy-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/malinink/easy-tests/contents/{+path}","compare_url":"https://api.github.com/repos/malinink/easy-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malinink/easy-tests/merges","archive_url":"https://api.github.com/repos/malinink/easy-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malinink/easy-tests/downloads","issues_url":"https://api.github.com/repos/malinink/easy-tests/issues{/number}","pulls_url":"https://api.github.com/repos/malinink/easy-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/malinink/easy-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/malinink/easy-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malinink/easy-tests/labels{/name}","releases_url":"https://api.github.com/repos/malinink/easy-tests/releases{/id}","deployments_url":"https://api.github.com/repos/malinink/easy-tests/deployments","created_at":"2016-10-27T19:52:24Z","updated_at":"2018-04-18T13:06:24Z","pushed_at":"2018-04-19T16:47:11Z","git_url":"git://github.com/malinink/easy-tests.git","ssh_url":"git@github.com:malinink/easy-tests.git","clone_url":"https://github.com/malinink/easy-tests.git","svn_url":"https://github.com/malinink/easy-tests","homepage":null,"size":2492,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":24,"open_issues":47,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/315"},"html":{"href":"https://github.com/malinink/easy-tests/pull/315"},"issue":{"href":"https://api.github.com/repos/malinink/easy-tests/issues/315"},"comments":{"href":"https://api.github.com/repos/malinink/easy-tests/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/malinink/easy-tests/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/malinink/easy-tests/statuses/ca48f9041a4844460801e71e9c83371f33cfe2c8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"malinink"}}