{"action":"created","comment":{"url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/comments/123270204","pull_request_review_id":45456937,"id":123270204,"diff_hunk":"@@ -0,0 +1,103 @@\n+swagger: \"2.0\"\n+info:\n+  description: \"This is API for the course endpoint of the DCS-TA app.\"\n+  version: \"1.0.0\"\n+  title: \"DCS-TA app\"\n+basePath: \"/v2\"\n+tags:\n+- name: \"dcs-ta\"\n+  description: \"DCS-TA application\"\n+paths:\n+  /positions:\n+    get:\n+      tags:\n+      - \"positions\"\n+      summary: \"Get all Positions\"\n+      produces:\n+      - \"application/json\"\n+      responses:\n+        200:\n+          description: \"successful operation\"\n+          schema:\n+            type: \"array\"\n+            items:\n+              $ref: \"#/definitions/Position\"\n+  /positions/{id}:\n+    patch:\n+      tags:\n+      - \"positions\"\n+      summary: \"Updates Position information for Position {id}\"\n+      parameters:\n+      - in: path\n+        name: id\n+        type: integer\n+        required: true\n+        description: \"id for a Position in the Position Table\"\n+      responses:\n+        404:\n+          description: \"Unable to update course data\"\n+        204:\n+          description: \"Update succeeded\"\n+    get:\n+      tags:\n+       - \"positions\"\n+      summary: \"Get Position {id} Information\"\n+      parameters:\n+      - in: path\n+        name: id\n+        type: integer\n+        required: true\n+        description: \"id for a Position in the Position Table\"\n+      produces:\n+      - \"application/json\"\n+      responses:\n+        404:\n+          description: \"No Position with {id}\"\n+        200:\n+          description: \"successful operation\"\n+          schema:\n+            type: \"array\"\n+            items:\n+              $ref: \"#/definitions/Position\"\n+definitions:\n+  Position:\n+    type: \"object\"\n+    properties:\n+      id:\n+        type: \"integer\"\n+        example: 4\n+      position:\n+        type: \"string\"\n+        example: \"CSC108H1S - Student-Facing TA\"\n+      campus_code:\n+        type: \"integer\"\n+        example: 1\n+      course_name:\n+        type: \"string\"\n+        example: \"Intro to Comp Prog\"\n+      estimated_enrollment:\n+        type: \"integer\"\n+        example: 1000\n+      duties:\n+        type: \"string\"\n+        example: \"Attend lectures to assist in classroom activities. Prepare for each week by doing online programming activities. Some TAs may hold office hours or monitor discussion forums.\"\n+      qualifications:\n+        type: \"string\"\n+        example: \"Experience with programming, such as by completing a 200-level CSC course, or by achieving excellent marks in multiple 100-level CSC courses, or equivalent. Experience with Python, at the level of CSC 148 or equivalent. Must be enrolled in or have completed a computer science degree, or equivalent. Must be interested in teaching beginner programmers. Willing to try different approaches when explaining simple concepts. TAs should be available during at least one of the CSC 108 lecture times (MWF10-11, W6-9).\"\n+      hours:\n+        type: \"integer\"\n+        example: 54\n+      estimated_count:","path":"docs/api/positions.yml","position":90,"original_position":90,"commit_id":"9fc1f4d7290e23fd504a4e1186d7386fe2f6f1aa","original_commit_id":"9fc1f4d7290e23fd504a4e1186d7386fe2f6f1aa","user":{"login":"michellemtchai","id":22383586,"avatar_url":"https://avatars3.githubusercontent.com/u/22383586?v=3","gravatar_id":"","url":"https://api.github.com/users/michellemtchai","html_url":"https://github.com/michellemtchai","followers_url":"https://api.github.com/users/michellemtchai/followers","following_url":"https://api.github.com/users/michellemtchai/following{/other_user}","gists_url":"https://api.github.com/users/michellemtchai/gists{/gist_id}","starred_url":"https://api.github.com/users/michellemtchai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellemtchai/subscriptions","organizations_url":"https://api.github.com/users/michellemtchai/orgs","repos_url":"https://api.github.com/users/michellemtchai/repos","events_url":"https://api.github.com/users/michellemtchai/events{/privacy}","received_events_url":"https://api.github.com/users/michellemtchai/received_events","type":"User","site_admin":false},"body":"Okay. I'll do that.","created_at":"2017-06-21T14:46:41Z","updated_at":"2017-06-21T14:46:41Z","html_url":"https://github.com/uoft-tapp/tapp/pull/43#discussion_r123270204","pull_request_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/comments/123270204"},"html":{"href":"https://github.com/uoft-tapp/tapp/pull/43#discussion_r123270204"},"pull_request":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43","id":126583360,"html_url":"https://github.com/uoft-tapp/tapp/pull/43","diff_url":"https://github.com/uoft-tapp/tapp/pull/43.diff","patch_url":"https://github.com/uoft-tapp/tapp/pull/43.patch","issue_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/43","number":43,"state":"open","locked":false,"title":"23 remove course model","user":{"login":"michellemtchai","id":22383586,"avatar_url":"https://avatars3.githubusercontent.com/u/22383586?v=3","gravatar_id":"","url":"https://api.github.com/users/michellemtchai","html_url":"https://github.com/michellemtchai","followers_url":"https://api.github.com/users/michellemtchai/followers","following_url":"https://api.github.com/users/michellemtchai/following{/other_user}","gists_url":"https://api.github.com/users/michellemtchai/gists{/gist_id}","starred_url":"https://api.github.com/users/michellemtchai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellemtchai/subscriptions","organizations_url":"https://api.github.com/users/michellemtchai/orgs","repos_url":"https://api.github.com/users/michellemtchai/repos","events_url":"https://api.github.com/users/michellemtchai/events{/privacy}","received_events_url":"https://api.github.com/users/michellemtchai/received_events","type":"User","site_admin":false},"body":"- Added new mock_chass.json\r\n- Updated schema to fit new JSON\r\n- Updated ChassImporter & its rspec\r\n- Updated Routes\r\n- Removed Course Model and route\r\n- Update PositionsController & its rspec\r\n  -  `GET /positions` shows all positions\r\n  -  `GET /positions/:id` show position by `id`\r\n  -  `PATCH /positions/:id` update position by `id`","created_at":"2017-06-20T17:03:48Z","updated_at":"2017-06-21T14:46:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed8e015be14177b31cf3dd3b129194c272cc8860","assignee":null,"assignees":[],"requested_reviewers":[{"login":"simpslandyy","id":12716559,"avatar_url":"https://avatars1.githubusercontent.com/u/12716559?v=3","gravatar_id":"","url":"https://api.github.com/users/simpslandyy","html_url":"https://github.com/simpslandyy","followers_url":"https://api.github.com/users/simpslandyy/followers","following_url":"https://api.github.com/users/simpslandyy/following{/other_user}","gists_url":"https://api.github.com/users/simpslandyy/gists{/gist_id}","starred_url":"https://api.github.com/users/simpslandyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpslandyy/subscriptions","organizations_url":"https://api.github.com/users/simpslandyy/orgs","repos_url":"https://api.github.com/users/simpslandyy/repos","events_url":"https://api.github.com/users/simpslandyy/events{/privacy}","received_events_url":"https://api.github.com/users/simpslandyy/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43/commits","review_comments_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43/comments","review_comment_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/43/comments","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp/statuses/9fc1f4d7290e23fd504a4e1186d7386fe2f6f1aa","head":{"label":"uoft-tapp:23-remove-course-model","ref":"23-remove-course-model","sha":"9fc1f4d7290e23fd504a4e1186d7386fe2f6f1aa","user":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars2.githubusercontent.com/u/28903963?v=3","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"repo":{"id":92203213,"name":"tapp","full_name":"uoft-tapp/tapp","owner":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars2.githubusercontent.com/u/28903963?v=3","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uoft-tapp/tapp","description":"TA assignment and matching application.","fork":false,"url":"https://api.github.com/repos/uoft-tapp/tapp","forks_url":"https://api.github.com/repos/uoft-tapp/tapp/forks","keys_url":"https://api.github.com/repos/uoft-tapp/tapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uoft-tapp/tapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uoft-tapp/tapp/teams","hooks_url":"https://api.github.com/repos/uoft-tapp/tapp/hooks","issue_events_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/events{/number}","events_url":"https://api.github.com/repos/uoft-tapp/tapp/events","assignees_url":"https://api.github.com/repos/uoft-tapp/tapp/assignees{/user}","branches_url":"https://api.github.com/repos/uoft-tapp/tapp/branches{/branch}","tags_url":"https://api.github.com/repos/uoft-tapp/tapp/tags","blobs_url":"https://api.github.com/repos/uoft-tapp/tapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uoft-tapp/tapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uoft-tapp/tapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uoft-tapp/tapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp/statuses/{sha}","languages_url":"https://api.github.com/repos/uoft-tapp/tapp/languages","stargazers_url":"https://api.github.com/repos/uoft-tapp/tapp/stargazers","contributors_url":"https://api.github.com/repos/uoft-tapp/tapp/contributors","subscribers_url":"https://api.github.com/repos/uoft-tapp/tapp/subscribers","subscription_url":"https://api.github.com/repos/uoft-tapp/tapp/subscription","commits_url":"https://api.github.com/repos/uoft-tapp/tapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uoft-tapp/tapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uoft-tapp/tapp/contents/{+path}","compare_url":"https://api.github.com/repos/uoft-tapp/tapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uoft-tapp/tapp/merges","archive_url":"https://api.github.com/repos/uoft-tapp/tapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uoft-tapp/tapp/downloads","issues_url":"https://api.github.com/repos/uoft-tapp/tapp/issues{/number}","pulls_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls{/number}","milestones_url":"https://api.github.com/repos/uoft-tapp/tapp/milestones{/number}","notifications_url":"https://api.github.com/repos/uoft-tapp/tapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uoft-tapp/tapp/labels{/name}","releases_url":"https://api.github.com/repos/uoft-tapp/tapp/releases{/id}","deployments_url":"https://api.github.com/repos/uoft-tapp/tapp/deployments","created_at":"2017-05-23T17:55:08Z","updated_at":"2017-06-01T16:19:37Z","pushed_at":"2017-06-20T20:44:34Z","git_url":"git://github.com/uoft-tapp/tapp.git","ssh_url":"git@github.com:uoft-tapp/tapp.git","clone_url":"https://github.com/uoft-tapp/tapp.git","svn_url":"https://github.com/uoft-tapp/tapp","homepage":null,"size":6069,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"uoft-tapp:master","ref":"master","sha":"9136b97bb3cbd7783265e1aa3ad7e5d9225a7720","user":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars2.githubusercontent.com/u/28903963?v=3","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"repo":{"id":92203213,"name":"tapp","full_name":"uoft-tapp/tapp","owner":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars2.githubusercontent.com/u/28903963?v=3","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uoft-tapp/tapp","description":"TA assignment and matching application.","fork":false,"url":"https://api.github.com/repos/uoft-tapp/tapp","forks_url":"https://api.github.com/repos/uoft-tapp/tapp/forks","keys_url":"https://api.github.com/repos/uoft-tapp/tapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uoft-tapp/tapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uoft-tapp/tapp/teams","hooks_url":"https://api.github.com/repos/uoft-tapp/tapp/hooks","issue_events_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/events{/number}","events_url":"https://api.github.com/repos/uoft-tapp/tapp/events","assignees_url":"https://api.github.com/repos/uoft-tapp/tapp/assignees{/user}","branches_url":"https://api.github.com/repos/uoft-tapp/tapp/branches{/branch}","tags_url":"https://api.github.com/repos/uoft-tapp/tapp/tags","blobs_url":"https://api.github.com/repos/uoft-tapp/tapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uoft-tapp/tapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uoft-tapp/tapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uoft-tapp/tapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp/statuses/{sha}","languages_url":"https://api.github.com/repos/uoft-tapp/tapp/languages","stargazers_url":"https://api.github.com/repos/uoft-tapp/tapp/stargazers","contributors_url":"https://api.github.com/repos/uoft-tapp/tapp/contributors","subscribers_url":"https://api.github.com/repos/uoft-tapp/tapp/subscribers","subscription_url":"https://api.github.com/repos/uoft-tapp/tapp/subscription","commits_url":"https://api.github.com/repos/uoft-tapp/tapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uoft-tapp/tapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uoft-tapp/tapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uoft-tapp/tapp/contents/{+path}","compare_url":"https://api.github.com/repos/uoft-tapp/tapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uoft-tapp/tapp/merges","archive_url":"https://api.github.com/repos/uoft-tapp/tapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uoft-tapp/tapp/downloads","issues_url":"https://api.github.com/repos/uoft-tapp/tapp/issues{/number}","pulls_url":"https://api.github.com/repos/uoft-tapp/tapp/pulls{/number}","milestones_url":"https://api.github.com/repos/uoft-tapp/tapp/milestones{/number}","notifications_url":"https://api.github.com/repos/uoft-tapp/tapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uoft-tapp/tapp/labels{/name}","releases_url":"https://api.github.com/repos/uoft-tapp/tapp/releases{/id}","deployments_url":"https://api.github.com/repos/uoft-tapp/tapp/deployments","created_at":"2017-05-23T17:55:08Z","updated_at":"2017-06-01T16:19:37Z","pushed_at":"2017-06-20T20:44:34Z","git_url":"git://github.com/uoft-tapp/tapp.git","ssh_url":"git@github.com:uoft-tapp/tapp.git","clone_url":"https://github.com/uoft-tapp/tapp.git","svn_url":"https://github.com/uoft-tapp/tapp","homepage":null,"size":6069,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43"},"html":{"href":"https://github.com/uoft-tapp/tapp/pull/43"},"issue":{"href":"https://api.github.com/repos/uoft-tapp/tapp/issues/43"},"comments":{"href":"https://api.github.com/repos/uoft-tapp/tapp/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uoft-tapp/tapp/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/uoft-tapp/tapp/statuses/9fc1f4d7290e23fd504a4e1186d7386fe2f6f1aa"}}}}
{"actor":{"display_login":"michellemtchai"}}