{"action":"created","comment":{"url":"https://api.github.com/repos/ox-it/wl-citations/pulls/comments/33237015","id":33237015,"diff_hunk":"@@ -0,0 +1,51 @@\n+package org.sakaiproject.citation.api;\n+\n+/**\n+ * Created by nickwilson on 6/23/15.\n+ */\n+public class CitationCollectionOrder {\n+\n+\tprivate String collectionId;\n+\tprivate int location;\n+\tprivate String sectionType;","path":"citations-api/api/src/java/org/sakaiproject/citation/api/CitationCollectionOrder.java","position":10,"original_position":10,"commit_id":"20bcfc0177ad661eb4d1bd72e87c79cdc4ee469d","original_commit_id":"20bcfc0177ad661eb4d1bd72e87c79cdc4ee469d","user":{"login":"buckett","id":5921,"avatar_url":"https://avatars.githubusercontent.com/u/5921?v=3","gravatar_id":"","url":"https://api.github.com/users/buckett","html_url":"https://github.com/buckett","followers_url":"https://api.github.com/users/buckett/followers","following_url":"https://api.github.com/users/buckett/following{/other_user}","gists_url":"https://api.github.com/users/buckett/gists{/gist_id}","starred_url":"https://api.github.com/users/buckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckett/subscriptions","organizations_url":"https://api.github.com/users/buckett/orgs","repos_url":"https://api.github.com/users/buckett/repos","events_url":"https://api.github.com/users/buckett/events{/privacy}","received_events_url":"https://api.github.com/users/buckett/received_events","type":"User","site_admin":false},"body":"But the sectionType can only be a limited number of options so I'd use an enum to make the API easier to use.","created_at":"2015-06-25T09:31:42Z","updated_at":"2015-06-25T09:31:42Z","html_url":"https://github.com/ox-it/wl-citations/pull/29#discussion_r33237015","pull_request_url":"https://api.github.com/repos/ox-it/wl-citations/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/comments/33237015"},"html":{"href":"https://github.com/ox-it/wl-citations/pull/29#discussion_r33237015"},"pull_request":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/ox-it/wl-citations/pulls/29","id":38320396,"html_url":"https://github.com/ox-it/wl-citations/pull/29","diff_url":"https://github.com/ox-it/wl-citations/pull/29.diff","patch_url":"https://github.com/ox-it/wl-citations/pull/29.patch","issue_url":"https://api.github.com/repos/ox-it/wl-citations/issues/29","number":29,"state":"open","locked":false,"title":"WL-3959:  Add Section button","user":{"login":"nicholaswilson100","id":7457681,"avatar_url":"https://avatars.githubusercontent.com/u/7457681?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholaswilson100","html_url":"https://github.com/nicholaswilson100","followers_url":"https://api.github.com/users/nicholaswilson100/followers","following_url":"https://api.github.com/users/nicholaswilson100/following{/other_user}","gists_url":"https://api.github.com/users/nicholaswilson100/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholaswilson100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholaswilson100/subscriptions","organizations_url":"https://api.github.com/users/nicholaswilson100/orgs","repos_url":"https://api.github.com/users/nicholaswilson100/repos","events_url":"https://api.github.com/users/nicholaswilson100/events{/privacy}","received_events_url":"https://api.github.com/users/nicholaswilson100/received_events","type":"User","site_admin":false},"body":"It may be that this ORLIMS stuff needs\r\nits own js file in future as there's quite a lot of it and I'll create one when we get to that stage.","created_at":"2015-06-23T10:09:36Z","updated_at":"2015-06-25T09:31:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e4f040412b9236c1c937ebf73d54de6ee812885","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ox-it/wl-citations/pulls/29/commits","review_comments_url":"https://api.github.com/repos/ox-it/wl-citations/pulls/29/comments","review_comment_url":"https://api.github.com/repos/ox-it/wl-citations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ox-it/wl-citations/issues/29/comments","statuses_url":"https://api.github.com/repos/ox-it/wl-citations/statuses/20bcfc0177ad661eb4d1bd72e87c79cdc4ee469d","head":{"label":"ox-it:WL-3959","ref":"WL-3959","sha":"20bcfc0177ad661eb4d1bd72e87c79cdc4ee469d","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":6060573,"name":"wl-citations","full_name":"ox-it/wl-citations","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-citations","description":null,"fork":false,"url":"https://api.github.com/repos/ox-it/wl-citations","forks_url":"https://api.github.com/repos/ox-it/wl-citations/forks","keys_url":"https://api.github.com/repos/ox-it/wl-citations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-citations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-citations/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-citations/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-citations/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-citations/events","assignees_url":"https://api.github.com/repos/ox-it/wl-citations/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-citations/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-citations/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-citations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-citations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-citations/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-citations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-citations/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-citations/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-citations/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-citations/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-citations/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-citations/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-citations/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-citations/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-citations/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-citations/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-citations/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-citations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-citations/merges","archive_url":"https://api.github.com/repos/ox-it/wl-citations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-citations/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-citations/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-citations/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-citations/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-citations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-citations/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-citations/releases{/id}","created_at":"2012-10-03T13:38:59Z","updated_at":"2015-04-29T09:59:32Z","pushed_at":"2015-06-25T08:32:07Z","git_url":"git://github.com/ox-it/wl-citations.git","ssh_url":"git@github.com:ox-it/wl-citations.git","clone_url":"https://github.com/ox-it/wl-citations.git","svn_url":"https://github.com/ox-it/wl-citations","homepage":null,"size":2977,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"sakai-10.x"}},"base":{"label":"ox-it:sakai-10.x","ref":"sakai-10.x","sha":"c8b3fe2557733d8d4a94a85b333191c72ae0b89a","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":6060573,"name":"wl-citations","full_name":"ox-it/wl-citations","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-citations","description":null,"fork":false,"url":"https://api.github.com/repos/ox-it/wl-citations","forks_url":"https://api.github.com/repos/ox-it/wl-citations/forks","keys_url":"https://api.github.com/repos/ox-it/wl-citations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-citations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-citations/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-citations/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-citations/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-citations/events","assignees_url":"https://api.github.com/repos/ox-it/wl-citations/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-citations/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-citations/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-citations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-citations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-citations/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-citations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-citations/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-citations/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-citations/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-citations/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-citations/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-citations/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-citations/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-citations/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-citations/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-citations/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-citations/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-citations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-citations/merges","archive_url":"https://api.github.com/repos/ox-it/wl-citations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-citations/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-citations/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-citations/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-citations/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-citations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-citations/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-citations/releases{/id}","created_at":"2012-10-03T13:38:59Z","updated_at":"2015-04-29T09:59:32Z","pushed_at":"2015-06-25T08:32:07Z","git_url":"git://github.com/ox-it/wl-citations.git","ssh_url":"git@github.com:ox-it/wl-citations.git","clone_url":"https://github.com/ox-it/wl-citations.git","svn_url":"https://github.com/ox-it/wl-citations","homepage":null,"size":2977,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"sakai-10.x"}},"_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/29"},"html":{"href":"https://github.com/ox-it/wl-citations/pull/29"},"issue":{"href":"https://api.github.com/repos/ox-it/wl-citations/issues/29"},"comments":{"href":"https://api.github.com/repos/ox-it/wl-citations/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ox-it/wl-citations/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/ox-it/wl-citations/statuses/20bcfc0177ad661eb4d1bd72e87c79cdc4ee469d"}}}}