{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/talzag/cct/pulls/1","id":63068628,"html_url":"https://github.com/talzag/cct/pull/1","diff_url":"https://github.com/talzag/cct/pull/1.diff","patch_url":"https://github.com/talzag/cct/pull/1.patch","issue_url":"https://api.github.com/repos/talzag/cct/issues/1","number":1,"state":"closed","locked":false,"title":"Update CCT API.md","user":{"login":"mpatrick","id":14170785,"avatar_url":"https://avatars.githubusercontent.com/u/14170785?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatrick","html_url":"https://github.com/mpatrick","followers_url":"https://api.github.com/users/mpatrick/followers","following_url":"https://api.github.com/users/mpatrick/following{/other_user}","gists_url":"https://api.github.com/users/mpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatrick/subscriptions","organizations_url":"https://api.github.com/users/mpatrick/orgs","repos_url":"https://api.github.com/users/mpatrick/repos","events_url":"https://api.github.com/users/mpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/mpatrick/received_events","type":"User","site_admin":false},"body":"Morning-\r\n\r\nChanges poposed:\r\n- I think /shows is good as-is; depending on the dataset size, in a hypothetical setting, I might want to paginate that but I doubt that's going to be an issue unless we're planning a year out...I don't see that happening\r\n- For /classes, I'd like to avoid using \"classes\" or \"class\" in the API because it's too similar to \"class\" (the code one); I used workshops (or \"courses\" would work too) to avoid that; depending on the data we are retrieving, it might be useful to retrieve a workshop by a course id of sorts, but we'd need to settle on the nomenclature and clarify with Keli on levels\r\n- I'd also add a way to only retrieve upcoming and/or open classes (the latter might not be possible) so that we're not retrieving anything in the past and having to filter it out, maybe like /workshops?status=open\r\n- /reservations, to me, retrieves the current reservations for a given show; /tickets could be /order and that way we could use it for people signing up for workshops or getting tickets\r\n\r\nThoughts?  We can talk about payload next; could you pull or direct me to a sample data set we'd have for these?  Unstructured is fine.","created_at":"2016-03-16T14:00:32Z","updated_at":"2016-03-16T14:09:25Z","closed_at":"2016-03-16T14:09:25Z","merged_at":"2016-03-16T14:09:25Z","merge_commit_sha":"f1e01f4322f5912c90f68d3204067b5f9ad7eeb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/talzag/cct/pulls/1/commits","review_comments_url":"https://api.github.com/repos/talzag/cct/pulls/1/comments","review_comment_url":"https://api.github.com/repos/talzag/cct/pulls/comments{/number}","comments_url":"https://api.github.com/repos/talzag/cct/issues/1/comments","statuses_url":"https://api.github.com/repos/talzag/cct/statuses/0897a1f4d20bb1f100c77854e3aceb481332075c","head":{"label":"mpatrick:patch-1","ref":"patch-1","sha":"0897a1f4d20bb1f100c77854e3aceb481332075c","user":{"login":"mpatrick","id":14170785,"avatar_url":"https://avatars.githubusercontent.com/u/14170785?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatrick","html_url":"https://github.com/mpatrick","followers_url":"https://api.github.com/users/mpatrick/followers","following_url":"https://api.github.com/users/mpatrick/following{/other_user}","gists_url":"https://api.github.com/users/mpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatrick/subscriptions","organizations_url":"https://api.github.com/users/mpatrick/orgs","repos_url":"https://api.github.com/users/mpatrick/repos","events_url":"https://api.github.com/users/mpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/mpatrick/received_events","type":"User","site_admin":false},"repo":{"id":53786864,"name":"cct","full_name":"mpatrick/cct","owner":{"login":"mpatrick","id":14170785,"avatar_url":"https://avatars.githubusercontent.com/u/14170785?v=3","gravatar_id":"","url":"https://api.github.com/users/mpatrick","html_url":"https://github.com/mpatrick","followers_url":"https://api.github.com/users/mpatrick/followers","following_url":"https://api.github.com/users/mpatrick/following{/other_user}","gists_url":"https://api.github.com/users/mpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/mpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpatrick/subscriptions","organizations_url":"https://api.github.com/users/mpatrick/orgs","repos_url":"https://api.github.com/users/mpatrick/repos","events_url":"https://api.github.com/users/mpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/mpatrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpatrick/cct","description":"Charlotte Comedy Theater website","fork":true,"url":"https://api.github.com/repos/mpatrick/cct","forks_url":"https://api.github.com/repos/mpatrick/cct/forks","keys_url":"https://api.github.com/repos/mpatrick/cct/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpatrick/cct/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpatrick/cct/teams","hooks_url":"https://api.github.com/repos/mpatrick/cct/hooks","issue_events_url":"https://api.github.com/repos/mpatrick/cct/issues/events{/number}","events_url":"https://api.github.com/repos/mpatrick/cct/events","assignees_url":"https://api.github.com/repos/mpatrick/cct/assignees{/user}","branches_url":"https://api.github.com/repos/mpatrick/cct/branches{/branch}","tags_url":"https://api.github.com/repos/mpatrick/cct/tags","blobs_url":"https://api.github.com/repos/mpatrick/cct/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpatrick/cct/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpatrick/cct/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpatrick/cct/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpatrick/cct/statuses/{sha}","languages_url":"https://api.github.com/repos/mpatrick/cct/languages","stargazers_url":"https://api.github.com/repos/mpatrick/cct/stargazers","contributors_url":"https://api.github.com/repos/mpatrick/cct/contributors","subscribers_url":"https://api.github.com/repos/mpatrick/cct/subscribers","subscription_url":"https://api.github.com/repos/mpatrick/cct/subscription","commits_url":"https://api.github.com/repos/mpatrick/cct/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpatrick/cct/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpatrick/cct/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpatrick/cct/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpatrick/cct/contents/{+path}","compare_url":"https://api.github.com/repos/mpatrick/cct/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpatrick/cct/merges","archive_url":"https://api.github.com/repos/mpatrick/cct/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpatrick/cct/downloads","issues_url":"https://api.github.com/repos/mpatrick/cct/issues{/number}","pulls_url":"https://api.github.com/repos/mpatrick/cct/pulls{/number}","milestones_url":"https://api.github.com/repos/mpatrick/cct/milestones{/number}","notifications_url":"https://api.github.com/repos/mpatrick/cct/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpatrick/cct/labels{/name}","releases_url":"https://api.github.com/repos/mpatrick/cct/releases{/id}","deployments_url":"https://api.github.com/repos/mpatrick/cct/deployments","created_at":"2016-03-13T13:38:06Z","updated_at":"2016-03-13T13:38:07Z","pushed_at":"2016-03-13T13:51:14Z","git_url":"git://github.com/mpatrick/cct.git","ssh_url":"git@github.com:mpatrick/cct.git","clone_url":"https://github.com/mpatrick/cct.git","svn_url":"https://github.com/mpatrick/cct","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"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":"talzag:master","ref":"master","sha":"345bb019a2ae2970502688b251911f053b70e956","user":{"login":"talzag","id":4011126,"avatar_url":"https://avatars.githubusercontent.com/u/4011126?v=3","gravatar_id":"","url":"https://api.github.com/users/talzag","html_url":"https://github.com/talzag","followers_url":"https://api.github.com/users/talzag/followers","following_url":"https://api.github.com/users/talzag/following{/other_user}","gists_url":"https://api.github.com/users/talzag/gists{/gist_id}","starred_url":"https://api.github.com/users/talzag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talzag/subscriptions","organizations_url":"https://api.github.com/users/talzag/orgs","repos_url":"https://api.github.com/users/talzag/repos","events_url":"https://api.github.com/users/talzag/events{/privacy}","received_events_url":"https://api.github.com/users/talzag/received_events","type":"User","site_admin":false},"repo":{"id":50806177,"name":"cct","full_name":"talzag/cct","owner":{"login":"talzag","id":4011126,"avatar_url":"https://avatars.githubusercontent.com/u/4011126?v=3","gravatar_id":"","url":"https://api.github.com/users/talzag","html_url":"https://github.com/talzag","followers_url":"https://api.github.com/users/talzag/followers","following_url":"https://api.github.com/users/talzag/following{/other_user}","gists_url":"https://api.github.com/users/talzag/gists{/gist_id}","starred_url":"https://api.github.com/users/talzag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talzag/subscriptions","organizations_url":"https://api.github.com/users/talzag/orgs","repos_url":"https://api.github.com/users/talzag/repos","events_url":"https://api.github.com/users/talzag/events{/privacy}","received_events_url":"https://api.github.com/users/talzag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/talzag/cct","description":"Charlotte Comedy Theater website","fork":false,"url":"https://api.github.com/repos/talzag/cct","forks_url":"https://api.github.com/repos/talzag/cct/forks","keys_url":"https://api.github.com/repos/talzag/cct/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talzag/cct/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talzag/cct/teams","hooks_url":"https://api.github.com/repos/talzag/cct/hooks","issue_events_url":"https://api.github.com/repos/talzag/cct/issues/events{/number}","events_url":"https://api.github.com/repos/talzag/cct/events","assignees_url":"https://api.github.com/repos/talzag/cct/assignees{/user}","branches_url":"https://api.github.com/repos/talzag/cct/branches{/branch}","tags_url":"https://api.github.com/repos/talzag/cct/tags","blobs_url":"https://api.github.com/repos/talzag/cct/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talzag/cct/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talzag/cct/git/refs{/sha}","trees_url":"https://api.github.com/repos/talzag/cct/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talzag/cct/statuses/{sha}","languages_url":"https://api.github.com/repos/talzag/cct/languages","stargazers_url":"https://api.github.com/repos/talzag/cct/stargazers","contributors_url":"https://api.github.com/repos/talzag/cct/contributors","subscribers_url":"https://api.github.com/repos/talzag/cct/subscribers","subscription_url":"https://api.github.com/repos/talzag/cct/subscription","commits_url":"https://api.github.com/repos/talzag/cct/commits{/sha}","git_commits_url":"https://api.github.com/repos/talzag/cct/git/commits{/sha}","comments_url":"https://api.github.com/repos/talzag/cct/comments{/number}","issue_comment_url":"https://api.github.com/repos/talzag/cct/issues/comments{/number}","contents_url":"https://api.github.com/repos/talzag/cct/contents/{+path}","compare_url":"https://api.github.com/repos/talzag/cct/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talzag/cct/merges","archive_url":"https://api.github.com/repos/talzag/cct/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talzag/cct/downloads","issues_url":"https://api.github.com/repos/talzag/cct/issues{/number}","pulls_url":"https://api.github.com/repos/talzag/cct/pulls{/number}","milestones_url":"https://api.github.com/repos/talzag/cct/milestones{/number}","notifications_url":"https://api.github.com/repos/talzag/cct/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talzag/cct/labels{/name}","releases_url":"https://api.github.com/repos/talzag/cct/releases{/id}","deployments_url":"https://api.github.com/repos/talzag/cct/deployments","created_at":"2016-02-01T01:45:45Z","updated_at":"2016-02-01T01:46:21Z","pushed_at":"2016-03-16T14:09:25Z","git_url":"git://github.com/talzag/cct.git","ssh_url":"git@github.com:talzag/cct.git","clone_url":"https://github.com/talzag/cct.git","svn_url":"https://github.com/talzag/cct","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talzag/cct/pulls/1"},"html":{"href":"https://github.com/talzag/cct/pull/1"},"issue":{"href":"https://api.github.com/repos/talzag/cct/issues/1"},"comments":{"href":"https://api.github.com/repos/talzag/cct/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/talzag/cct/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/talzag/cct/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/talzag/cct/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/talzag/cct/statuses/0897a1f4d20bb1f100c77854e3aceb481332075c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"talzag","id":4011126,"avatar_url":"https://avatars.githubusercontent.com/u/4011126?v=3","gravatar_id":"","url":"https://api.github.com/users/talzag","html_url":"https://github.com/talzag","followers_url":"https://api.github.com/users/talzag/followers","following_url":"https://api.github.com/users/talzag/following{/other_user}","gists_url":"https://api.github.com/users/talzag/gists{/gist_id}","starred_url":"https://api.github.com/users/talzag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talzag/subscriptions","organizations_url":"https://api.github.com/users/talzag/orgs","repos_url":"https://api.github.com/users/talzag/repos","events_url":"https://api.github.com/users/talzag/events{/privacy}","received_events_url":"https://api.github.com/users/talzag/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":1}}