{"action":"created","comment":{"url":"https://api.github.com/repos/threatgrid/ctia/pulls/comments/79710154","id":79710154,"diff_hunk":"@@ -13,9 +24,9 @@\n             [schema.core :as s]))\n \n (defn realize\n-  \"return the realize function provided an entity key name\"\n+  \"return the realize function provided an entity type key\"\n   [k]\n-  (condp = k\n+  (case k","path":"src/ctia/http/routes/bulk.clj","position":26,"original_position":26,"commit_id":"0618ad475727e5f95f0f5cbac9d337f970594b11","original_commit_id":"0618ad475727e5f95f0f5cbac9d337f970594b11","user":{"login":"quoll","id":358875,"avatar_url":"https://avatars.githubusercontent.com/u/358875?v=3","gravatar_id":"","url":"https://api.github.com/users/quoll","html_url":"https://github.com/quoll","followers_url":"https://api.github.com/users/quoll/followers","following_url":"https://api.github.com/users/quoll/following{/other_user}","gists_url":"https://api.github.com/users/quoll/gists{/gist_id}","starred_url":"https://api.github.com/users/quoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quoll/subscriptions","organizations_url":"https://api.github.com/users/quoll/orgs","repos_url":"https://api.github.com/users/quoll/repos","events_url":"https://api.github.com/users/quoll/events{/privacy}","received_events_url":"https://api.github.com/users/quoll/received_events","type":"User","site_admin":false},"body":"Good catch","created_at":"2016-09-20T20:55:26Z","updated_at":"2016-09-20T20:55:26Z","html_url":"https://github.com/threatgrid/ctia/pull/418#discussion_r79710154","pull_request_url":"https://api.github.com/repos/threatgrid/ctia/pulls/418","_links":{"self":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/comments/79710154"},"html":{"href":"https://github.com/threatgrid/ctia/pull/418#discussion_r79710154"},"pull_request":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/418"}}},"pull_request":{"url":"https://api.github.com/repos/threatgrid/ctia/pulls/418","id":84196916,"html_url":"https://github.com/threatgrid/ctia/pull/418","diff_url":"https://github.com/threatgrid/ctia/pull/418.diff","patch_url":"https://github.com/threatgrid/ctia/pull/418.patch","issue_url":"https://api.github.com/repos/threatgrid/ctia/issues/418","number":418,"state":"open","locked":false,"title":"Using correct IDs in API results","user":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"body":"APIs return long-style IDs for entities.\r\n\r\nStores are still use short-style IDs, and are decoupled from the API which handles the ID conversion.\r\n\r\nPart of #212","created_at":"2016-09-06T21:09:20Z","updated_at":"2016-09-20T20:55:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce44bc0764659793dbd3ac7ea87b9feabc866dcf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/threatgrid/ctia/pulls/418/commits","review_comments_url":"https://api.github.com/repos/threatgrid/ctia/pulls/418/comments","review_comment_url":"https://api.github.com/repos/threatgrid/ctia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/threatgrid/ctia/issues/418/comments","statuses_url":"https://api.github.com/repos/threatgrid/ctia/statuses/0618ad475727e5f95f0f5cbac9d337f970594b11","head":{"label":"polygloton:issue-212-reopen","ref":"issue-212-reopen","sha":"0618ad475727e5f95f0f5cbac9d337f970594b11","user":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"repo":{"id":55179930,"name":"ctia","full_name":"polygloton/ctia","owner":{"login":"polygloton","id":368005,"avatar_url":"https://avatars.githubusercontent.com/u/368005?v=3","gravatar_id":"","url":"https://api.github.com/users/polygloton","html_url":"https://github.com/polygloton","followers_url":"https://api.github.com/users/polygloton/followers","following_url":"https://api.github.com/users/polygloton/following{/other_user}","gists_url":"https://api.github.com/users/polygloton/gists{/gist_id}","starred_url":"https://api.github.com/users/polygloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polygloton/subscriptions","organizations_url":"https://api.github.com/users/polygloton/orgs","repos_url":"https://api.github.com/users/polygloton/repos","events_url":"https://api.github.com/users/polygloton/events{/privacy}","received_events_url":"https://api.github.com/users/polygloton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/polygloton/ctia","description":"Cisco Intel API","fork":true,"url":"https://api.github.com/repos/polygloton/ctia","forks_url":"https://api.github.com/repos/polygloton/ctia/forks","keys_url":"https://api.github.com/repos/polygloton/ctia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/polygloton/ctia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/polygloton/ctia/teams","hooks_url":"https://api.github.com/repos/polygloton/ctia/hooks","issue_events_url":"https://api.github.com/repos/polygloton/ctia/issues/events{/number}","events_url":"https://api.github.com/repos/polygloton/ctia/events","assignees_url":"https://api.github.com/repos/polygloton/ctia/assignees{/user}","branches_url":"https://api.github.com/repos/polygloton/ctia/branches{/branch}","tags_url":"https://api.github.com/repos/polygloton/ctia/tags","blobs_url":"https://api.github.com/repos/polygloton/ctia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/polygloton/ctia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/polygloton/ctia/git/refs{/sha}","trees_url":"https://api.github.com/repos/polygloton/ctia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/polygloton/ctia/statuses/{sha}","languages_url":"https://api.github.com/repos/polygloton/ctia/languages","stargazers_url":"https://api.github.com/repos/polygloton/ctia/stargazers","contributors_url":"https://api.github.com/repos/polygloton/ctia/contributors","subscribers_url":"https://api.github.com/repos/polygloton/ctia/subscribers","subscription_url":"https://api.github.com/repos/polygloton/ctia/subscription","commits_url":"https://api.github.com/repos/polygloton/ctia/commits{/sha}","git_commits_url":"https://api.github.com/repos/polygloton/ctia/git/commits{/sha}","comments_url":"https://api.github.com/repos/polygloton/ctia/comments{/number}","issue_comment_url":"https://api.github.com/repos/polygloton/ctia/issues/comments{/number}","contents_url":"https://api.github.com/repos/polygloton/ctia/contents/{+path}","compare_url":"https://api.github.com/repos/polygloton/ctia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/polygloton/ctia/merges","archive_url":"https://api.github.com/repos/polygloton/ctia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/polygloton/ctia/downloads","issues_url":"https://api.github.com/repos/polygloton/ctia/issues{/number}","pulls_url":"https://api.github.com/repos/polygloton/ctia/pulls{/number}","milestones_url":"https://api.github.com/repos/polygloton/ctia/milestones{/number}","notifications_url":"https://api.github.com/repos/polygloton/ctia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/polygloton/ctia/labels{/name}","releases_url":"https://api.github.com/repos/polygloton/ctia/releases{/id}","deployments_url":"https://api.github.com/repos/polygloton/ctia/deployments","created_at":"2016-03-31T20:13:27Z","updated_at":"2016-03-31T20:13:28Z","pushed_at":"2016-09-14T21:28:41Z","git_url":"git://github.com/polygloton/ctia.git","ssh_url":"git@github.com:polygloton/ctia.git","clone_url":"https://github.com/polygloton/ctia.git","svn_url":"https://github.com/polygloton/ctia","homepage":"","size":2077,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"threatgrid:master","ref":"master","sha":"1d7f7c4ab6b1e234fae1c88b992e9ec24b1cd69a","user":{"login":"threatgrid","id":337733,"avatar_url":"https://avatars.githubusercontent.com/u/337733?v=3","gravatar_id":"","url":"https://api.github.com/users/threatgrid","html_url":"https://github.com/threatgrid","followers_url":"https://api.github.com/users/threatgrid/followers","following_url":"https://api.github.com/users/threatgrid/following{/other_user}","gists_url":"https://api.github.com/users/threatgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/threatgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threatgrid/subscriptions","organizations_url":"https://api.github.com/users/threatgrid/orgs","repos_url":"https://api.github.com/users/threatgrid/repos","events_url":"https://api.github.com/users/threatgrid/events{/privacy}","received_events_url":"https://api.github.com/users/threatgrid/received_events","type":"Organization","site_admin":false},"repo":{"id":47668849,"name":"ctia","full_name":"threatgrid/ctia","owner":{"login":"threatgrid","id":337733,"avatar_url":"https://avatars.githubusercontent.com/u/337733?v=3","gravatar_id":"","url":"https://api.github.com/users/threatgrid","html_url":"https://github.com/threatgrid","followers_url":"https://api.github.com/users/threatgrid/followers","following_url":"https://api.github.com/users/threatgrid/following{/other_user}","gists_url":"https://api.github.com/users/threatgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/threatgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threatgrid/subscriptions","organizations_url":"https://api.github.com/users/threatgrid/orgs","repos_url":"https://api.github.com/users/threatgrid/repos","events_url":"https://api.github.com/users/threatgrid/events{/privacy}","received_events_url":"https://api.github.com/users/threatgrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/threatgrid/ctia","description":"Cisco Threat Intelligence API","fork":false,"url":"https://api.github.com/repos/threatgrid/ctia","forks_url":"https://api.github.com/repos/threatgrid/ctia/forks","keys_url":"https://api.github.com/repos/threatgrid/ctia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/threatgrid/ctia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/threatgrid/ctia/teams","hooks_url":"https://api.github.com/repos/threatgrid/ctia/hooks","issue_events_url":"https://api.github.com/repos/threatgrid/ctia/issues/events{/number}","events_url":"https://api.github.com/repos/threatgrid/ctia/events","assignees_url":"https://api.github.com/repos/threatgrid/ctia/assignees{/user}","branches_url":"https://api.github.com/repos/threatgrid/ctia/branches{/branch}","tags_url":"https://api.github.com/repos/threatgrid/ctia/tags","blobs_url":"https://api.github.com/repos/threatgrid/ctia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/threatgrid/ctia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/threatgrid/ctia/git/refs{/sha}","trees_url":"https://api.github.com/repos/threatgrid/ctia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/threatgrid/ctia/statuses/{sha}","languages_url":"https://api.github.com/repos/threatgrid/ctia/languages","stargazers_url":"https://api.github.com/repos/threatgrid/ctia/stargazers","contributors_url":"https://api.github.com/repos/threatgrid/ctia/contributors","subscribers_url":"https://api.github.com/repos/threatgrid/ctia/subscribers","subscription_url":"https://api.github.com/repos/threatgrid/ctia/subscription","commits_url":"https://api.github.com/repos/threatgrid/ctia/commits{/sha}","git_commits_url":"https://api.github.com/repos/threatgrid/ctia/git/commits{/sha}","comments_url":"https://api.github.com/repos/threatgrid/ctia/comments{/number}","issue_comment_url":"https://api.github.com/repos/threatgrid/ctia/issues/comments{/number}","contents_url":"https://api.github.com/repos/threatgrid/ctia/contents/{+path}","compare_url":"https://api.github.com/repos/threatgrid/ctia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/threatgrid/ctia/merges","archive_url":"https://api.github.com/repos/threatgrid/ctia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/threatgrid/ctia/downloads","issues_url":"https://api.github.com/repos/threatgrid/ctia/issues{/number}","pulls_url":"https://api.github.com/repos/threatgrid/ctia/pulls{/number}","milestones_url":"https://api.github.com/repos/threatgrid/ctia/milestones{/number}","notifications_url":"https://api.github.com/repos/threatgrid/ctia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/threatgrid/ctia/labels{/name}","releases_url":"https://api.github.com/repos/threatgrid/ctia/releases{/id}","deployments_url":"https://api.github.com/repos/threatgrid/ctia/deployments","created_at":"2015-12-09T04:41:06Z","updated_at":"2016-09-04T09:52:57Z","pushed_at":"2016-09-14T21:28:42Z","git_url":"git://github.com/threatgrid/ctia.git","ssh_url":"git@github.com:threatgrid/ctia.git","clone_url":"https://github.com/threatgrid/ctia.git","svn_url":"https://github.com/threatgrid/ctia","homepage":"","size":2112,"stargazers_count":3,"watchers_count":3,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":67,"forks":8,"open_issues":67,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/418"},"html":{"href":"https://github.com/threatgrid/ctia/pull/418"},"issue":{"href":"https://api.github.com/repos/threatgrid/ctia/issues/418"},"comments":{"href":"https://api.github.com/repos/threatgrid/ctia/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/418/comments"},"review_comment":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/threatgrid/ctia/pulls/418/commits"},"statuses":{"href":"https://api.github.com/repos/threatgrid/ctia/statuses/0618ad475727e5f95f0f5cbac9d337f970594b11"}}}}
{"actor":{"display_login":"quoll"}}