{"action":"closed","number":68,"pull_request":{"url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68","id":168612028,"html_url":"https://github.com/HartiganHM/spirit-backend/pull/68","diff_url":"https://github.com/HartiganHM/spirit-backend/pull/68.diff","patch_url":"https://github.com/HartiganHM/spirit-backend/pull/68.patch","issue_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/68","number":68,"state":"closed","locked":false,"title":"Clinic endpoints","user":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"body":"NOTE: Extended from `patient-endpoints` branch, which **must** be merged before this branch.\r\n\r\n- Builds `GET` endpoints for all clinics and clinic by id\r\n- Builds `POST` endpoint to add new clinic\r\n- Writes tests for all `GET` and `POST` clinic endpoints\r\n- Writes missing test for `POST` new patient","created_at":"2018-02-12T15:40:49Z","updated_at":"2018-02-22T21:45:54Z","closed_at":"2018-02-22T21:45:54Z","merged_at":"2018-02-22T21:45:54Z","merge_commit_sha":"031bdc2b22dff7de71da70bdfc409ff577d7ed3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":829300653,"url":"https://api.github.com/repos/HartiganHM/spirit-backend/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68/commits","review_comments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68/comments","review_comment_url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/68/comments","statuses_url":"https://api.github.com/repos/HartiganHM/spirit-backend/statuses/f659c3ad7ef3cb41e1cbfc1a73f350964715a822","head":{"label":"HartiganHM:clinic-endpoints","ref":"clinic-endpoints","sha":"f659c3ad7ef3cb41e1cbfc1a73f350964715a822","user":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"repo":{"id":120359427,"name":"spirit-backend","full_name":"HartiganHM/spirit-backend","owner":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HartiganHM/spirit-backend","description":"SpIRiT© - Back End: Built with PostgreSQL, Node.js, Express, and Knex. Built for Developmental FX and their SpIRiT© of Pediatric Occupational Therapy. Allows clinics to register and invite occupational therapists to join. OTs can then keep track of patient progress via dated sessions, treatment plans, and therapy goals. ","fork":false,"url":"https://api.github.com/repos/HartiganHM/spirit-backend","forks_url":"https://api.github.com/repos/HartiganHM/spirit-backend/forks","keys_url":"https://api.github.com/repos/HartiganHM/spirit-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HartiganHM/spirit-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HartiganHM/spirit-backend/teams","hooks_url":"https://api.github.com/repos/HartiganHM/spirit-backend/hooks","issue_events_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/events{/number}","events_url":"https://api.github.com/repos/HartiganHM/spirit-backend/events","assignees_url":"https://api.github.com/repos/HartiganHM/spirit-backend/assignees{/user}","branches_url":"https://api.github.com/repos/HartiganHM/spirit-backend/branches{/branch}","tags_url":"https://api.github.com/repos/HartiganHM/spirit-backend/tags","blobs_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HartiganHM/spirit-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/HartiganHM/spirit-backend/languages","stargazers_url":"https://api.github.com/repos/HartiganHM/spirit-backend/stargazers","contributors_url":"https://api.github.com/repos/HartiganHM/spirit-backend/contributors","subscribers_url":"https://api.github.com/repos/HartiganHM/spirit-backend/subscribers","subscription_url":"https://api.github.com/repos/HartiganHM/spirit-backend/subscription","commits_url":"https://api.github.com/repos/HartiganHM/spirit-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/HartiganHM/spirit-backend/contents/{+path}","compare_url":"https://api.github.com/repos/HartiganHM/spirit-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HartiganHM/spirit-backend/merges","archive_url":"https://api.github.com/repos/HartiganHM/spirit-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HartiganHM/spirit-backend/downloads","issues_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues{/number}","pulls_url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/HartiganHM/spirit-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/HartiganHM/spirit-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HartiganHM/spirit-backend/labels{/name}","releases_url":"https://api.github.com/repos/HartiganHM/spirit-backend/releases{/id}","deployments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/deployments","created_at":"2018-02-05T20:44:15Z","updated_at":"2018-02-22T17:57:00Z","pushed_at":"2018-02-22T21:45:54Z","git_url":"git://github.com/HartiganHM/spirit-backend.git","ssh_url":"git@github.com:HartiganHM/spirit-backend.git","clone_url":"https://github.com/HartiganHM/spirit-backend.git","svn_url":"https://github.com/HartiganHM/spirit-backend","homepage":"","size":2225,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":26,"license":null,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"HartiganHM:master","ref":"master","sha":"2d6e6b10e472b2dbe3def0681939dfe6c5107b08","user":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"repo":{"id":120359427,"name":"spirit-backend","full_name":"HartiganHM/spirit-backend","owner":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HartiganHM/spirit-backend","description":"SpIRiT© - Back End: Built with PostgreSQL, Node.js, Express, and Knex. Built for Developmental FX and their SpIRiT© of Pediatric Occupational Therapy. Allows clinics to register and invite occupational therapists to join. OTs can then keep track of patient progress via dated sessions, treatment plans, and therapy goals. ","fork":false,"url":"https://api.github.com/repos/HartiganHM/spirit-backend","forks_url":"https://api.github.com/repos/HartiganHM/spirit-backend/forks","keys_url":"https://api.github.com/repos/HartiganHM/spirit-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HartiganHM/spirit-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HartiganHM/spirit-backend/teams","hooks_url":"https://api.github.com/repos/HartiganHM/spirit-backend/hooks","issue_events_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/events{/number}","events_url":"https://api.github.com/repos/HartiganHM/spirit-backend/events","assignees_url":"https://api.github.com/repos/HartiganHM/spirit-backend/assignees{/user}","branches_url":"https://api.github.com/repos/HartiganHM/spirit-backend/branches{/branch}","tags_url":"https://api.github.com/repos/HartiganHM/spirit-backend/tags","blobs_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HartiganHM/spirit-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/HartiganHM/spirit-backend/languages","stargazers_url":"https://api.github.com/repos/HartiganHM/spirit-backend/stargazers","contributors_url":"https://api.github.com/repos/HartiganHM/spirit-backend/contributors","subscribers_url":"https://api.github.com/repos/HartiganHM/spirit-backend/subscribers","subscription_url":"https://api.github.com/repos/HartiganHM/spirit-backend/subscription","commits_url":"https://api.github.com/repos/HartiganHM/spirit-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/HartiganHM/spirit-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/HartiganHM/spirit-backend/contents/{+path}","compare_url":"https://api.github.com/repos/HartiganHM/spirit-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HartiganHM/spirit-backend/merges","archive_url":"https://api.github.com/repos/HartiganHM/spirit-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HartiganHM/spirit-backend/downloads","issues_url":"https://api.github.com/repos/HartiganHM/spirit-backend/issues{/number}","pulls_url":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/HartiganHM/spirit-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/HartiganHM/spirit-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HartiganHM/spirit-backend/labels{/name}","releases_url":"https://api.github.com/repos/HartiganHM/spirit-backend/releases{/id}","deployments_url":"https://api.github.com/repos/HartiganHM/spirit-backend/deployments","created_at":"2018-02-05T20:44:15Z","updated_at":"2018-02-22T17:57:00Z","pushed_at":"2018-02-22T21:45:54Z","git_url":"git://github.com/HartiganHM/spirit-backend.git","ssh_url":"git@github.com:HartiganHM/spirit-backend.git","clone_url":"https://github.com/HartiganHM/spirit-backend.git","svn_url":"https://github.com/HartiganHM/spirit-backend","homepage":"","size":2225,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":26,"license":null,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68"},"html":{"href":"https://github.com/HartiganHM/spirit-backend/pull/68"},"issue":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/68"},"comments":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/HartiganHM/spirit-backend/statuses/f659c3ad7ef3cb41e1cbfc1a73f350964715a822"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"HartiganHM","id":24458700,"avatar_url":"https://avatars3.githubusercontent.com/u/24458700?v=4","gravatar_id":"","url":"https://api.github.com/users/HartiganHM","html_url":"https://github.com/HartiganHM","followers_url":"https://api.github.com/users/HartiganHM/followers","following_url":"https://api.github.com/users/HartiganHM/following{/other_user}","gists_url":"https://api.github.com/users/HartiganHM/gists{/gist_id}","starred_url":"https://api.github.com/users/HartiganHM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HartiganHM/subscriptions","organizations_url":"https://api.github.com/users/HartiganHM/orgs","repos_url":"https://api.github.com/users/HartiganHM/repos","events_url":"https://api.github.com/users/HartiganHM/events{/privacy}","received_events_url":"https://api.github.com/users/HartiganHM/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":46,"additions":1008,"deletions":111,"changed_files":15}}
{"actor":{"display_login":"HartiganHM"}}