payload: {"action":"created","comment":{"url":"https://api.github.com/repos/storj/storj/pulls/comments/340592340","pull_request_review_id":309169931,"id":340592340,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MDU5MjM0MA==","diff_hunk":"@@ -31,6 +31,19 @@ typedef struct Object           { long _handle; } ObjectRef;\n typedef struct Downloader       { long _handle; } DownloaderRef;\n typedef struct Uploader         { long _handle; } UploaderRef;\n typedef struct EncryptionAccess { long _handle; } EncryptionAccessRef;\n+typedef struct CaveatPaths      { long _handle; } CaveatPathsRef;\n+typedef struct CaveatNonce      { long _handle; } CaveatNonceRef;\n+\n+typedef struct Caveat {","path":"lib/uplinkc/uplink_definitions.h","position":7,"original_position":7,"commit_id":"3f79baef2408927b5984109c45b7eeff52e50140","original_commit_id":"3f79baef2408927b5984109c45b7eeff52e50140","user":{"login":"egonelbre","id":192964,"node_id":"MDQ6VXNlcjE5Mjk2NA==","avatar_url":"https://avatars1.githubusercontent.com/u/192964?v=4","gravatar_id":"","url":"https://api.github.com/users/egonelbre","html_url":"https://github.com/egonelbre","followers_url":"https://api.github.com/users/egonelbre/followers","following_url":"https://api.github.com/users/egonelbre/following{/other_user}","gists_url":"https://api.github.com/users/egonelbre/gists{/gist_id}","starred_url":"https://api.github.com/users/egonelbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egonelbre/subscriptions","organizations_url":"https://api.github.com/users/egonelbre/orgs","repos_url":"https://api.github.com/users/egonelbre/repos","events_url":"https://api.github.com/users/egonelbre/events{/privacy}","received_events_url":"https://api.github.com/users/egonelbre/received_events","type":"User","site_admin":false},"body":"Ideally the user should be able to manually specify the caveat without needing to cross into Go code.","created_at":"2019-10-30T12:47:52Z","updated_at":"2019-10-30T12:48:50Z","html_url":"https://github.com/storj/storj/pull/3417#discussion_r340592340","pull_request_url":"https://api.github.com/repos/storj/storj/pulls/3417","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/comments/340592340"},"html":{"href":"https://github.com/storj/storj/pull/3417#discussion_r340592340"},"pull_request":{"href":"https://api.github.com/repos/storj/storj/pulls/3417"}}},"pull_request":{"url":"https://api.github.com/repos/storj/storj/pulls/3417","id":334199336,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM0MTk5MzM2","html_url":"https://github.com/storj/storj/pull/3417","diff_url":"https://github.com/storj/storj/pull/3417.diff","patch_url":"https://github.com/storj/storj/pull/3417.patch","issue_url":"https://api.github.com/repos/storj/storj/issues/3417","number":3417,"state":"open","locked":false,"title":"Export restrict_api_key","user":{"login":"TopperDEL","id":1833242,"node_id":"MDQ6VXNlcjE4MzMyNDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1833242?v=4","gravatar_id":"","url":"https://api.github.com/users/TopperDEL","html_url":"https://github.com/TopperDEL","followers_url":"https://api.github.com/users/TopperDEL/followers","following_url":"https://api.github.com/users/TopperDEL/following{/other_user}","gists_url":"https://api.github.com/users/TopperDEL/gists{/gist_id}","starred_url":"https://api.github.com/users/TopperDEL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TopperDEL/subscriptions","organizations_url":"https://api.github.com/users/TopperDEL/orgs","repos_url":"https://api.github.com/users/TopperDEL/repos","events_url":"https://api.github.com/users/TopperDEL/events{/privacy}","received_events_url":"https://api.github.com/users/TopperDEL/received_events","type":"User","site_admin":false},"body":"One space too many\r\n\r\nWhat: The \"export\" comment has one space too much and therefor the function does not get exported\r\n\r\nWhy: I want it for my Tests :)\r\n \r\nPlease describe the performance impact:\r\n\r\n## Code Review Checklist (to be filled out by reviewer)\r\n - [ ] Does the PR describe what changes are being made?\r\n - [ ] Does the PR describe why the changes are being made?\r\n - [ ] Does the code follow [our style guide](https://github.com/storj/docs/blob/master/code/Style.md)?\r\n - [ ] Does the code follow [our testing guide](https://github.com/storj/docs/blob/master/code/Testing.md)?\r\n - [ ] Is the PR appropriately sized? (If it could be broken into smaller PRs it should be)\r\n - [ ] Does the new code have enough tests? (*every* PR should have tests or justification otherwise. Bug-fix PRs especially)\r\n - [ ] Does the new code have enough documentation that answers \"how do I use it?\" and \"what does it do?\"? (both source documentation and [higher level](https://github.com/storj/docs), diagrams?)\r\n - [ ] Does any documentation need updating?\r\n - [ ] Do the database access patterns make sense?\r\n","created_at":"2019-10-30T11:55:26Z","updated_at":"2019-10-30T12:48:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bad817348ae02cf873a61e01ef4053aa2f2fda93","assignee":null,"assignees":[],"requested_reviewers":[{"login":"isaachess","id":3473742,"node_id":"MDQ6VXNlcjM0NzM3NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3473742?v=4","gravatar_id":"","url":"https://api.github.com/users/isaachess","html_url":"https://github.com/isaachess","followers_url":"https://api.github.com/users/isaachess/followers","following_url":"https://api.github.com/users/isaachess/following{/other_user}","gists_url":"https://api.github.com/users/isaachess/gists{/gist_id}","starred_url":"https://api.github.com/users/isaachess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaachess/subscriptions","organizations_url":"https://api.github.com/users/isaachess/orgs","repos_url":"https://api.github.com/users/isaachess/repos","events_url":"https://api.github.com/users/isaachess/events{/privacy}","received_events_url":"https://api.github.com/users/isaachess/received_events","type":"User","site_admin":false},{"login":"jenlij","id":12438950,"node_id":"MDQ6VXNlcjEyNDM4OTUw","avatar_url":"https://avatars0.githubusercontent.com/u/12438950?v=4","gravatar_id":"","url":"https://api.github.com/users/jenlij","html_url":"https://github.com/jenlij","followers_url":"https://api.github.com/users/jenlij/followers","following_url":"https://api.github.com/users/jenlij/following{/other_user}","gists_url":"https://api.github.com/users/jenlij/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlij/subscriptions","organizations_url":"https://api.github.com/users/jenlij/orgs","repos_url":"https://api.github.com/users/jenlij/repos","events_url":"https://api.github.com/users/jenlij/events{/privacy}","received_events_url":"https://api.github.com/users/jenlij/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":982933521,"node_id":"MDU6TGFiZWw5ODI5MzM1MjE=","url":"https://api.github.com/repos/storj/storj/labels/cla-signed","name":"cla-signed","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/storj/storj/pulls/3417/commits","review_comments_url":"https://api.github.com/repos/storj/storj/pulls/3417/comments","review_comment_url":"https://api.github.com/repos/storj/storj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storj/storj/issues/3417/comments","statuses_url":"https://api.github.com/repos/storj/storj/statuses/3f79baef2408927b5984109c45b7eeff52e50140","head":{"label":"TopperDEL:patch-2","ref":"patch-2","sha":"3f79baef2408927b5984109c45b7eeff52e50140","user":{"login":"TopperDEL","id":1833242,"node_id":"MDQ6VXNlcjE4MzMyNDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1833242?v=4","gravatar_id":"","url":"https://api.github.com/users/TopperDEL","html_url":"https://github.com/TopperDEL","followers_url":"https://api.github.com/users/TopperDEL/followers","following_url":"https://api.github.com/users/TopperDEL/following{/other_user}","gists_url":"https://api.github.com/users/TopperDEL/gists{/gist_id}","starred_url":"https://api.github.com/users/TopperDEL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TopperDEL/subscriptions","organizations_url":"https://api.github.com/users/TopperDEL/orgs","repos_url":"https://api.github.com/users/TopperDEL/repos","events_url":"https://api.github.com/users/TopperDEL/events{/privacy}","received_events_url":"https://api.github.com/users/TopperDEL/received_events","type":"User","site_admin":false},"repo":{"id":209119106,"node_id":"MDEwOlJlcG9zaXRvcnkyMDkxMTkxMDY=","name":"storj","full_name":"TopperDEL/storj","private":false,"owner":{"login":"TopperDEL","id":1833242,"node_id":"MDQ6VXNlcjE4MzMyNDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1833242?v=4","gravatar_id":"","url":"https://api.github.com/users/TopperDEL","html_url":"https://github.com/TopperDEL","followers_url":"https://api.github.com/users/TopperDEL/followers","following_url":"https://api.github.com/users/TopperDEL/following{/other_user}","gists_url":"https://api.github.com/users/TopperDEL/gists{/gist_id}","starred_url":"https://api.github.com/users/TopperDEL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TopperDEL/subscriptions","organizations_url":"https://api.github.com/users/TopperDEL/orgs","repos_url":"https://api.github.com/users/TopperDEL/repos","events_url":"https://api.github.com/users/TopperDEL/events{/privacy}","received_events_url":"https://api.github.com/users/TopperDEL/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TopperDEL/storj","description":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","fork":true,"url":"https://api.github.com/repos/TopperDEL/storj","forks_url":"https://api.github.com/repos/TopperDEL/storj/forks","keys_url":"https://api.github.com/repos/TopperDEL/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TopperDEL/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TopperDEL/storj/teams","hooks_url":"https://api.github.com/repos/TopperDEL/storj/hooks","issue_events_url":"https://api.github.com/repos/TopperDEL/storj/issues/events{/number}","events_url":"https://api.github.com/repos/TopperDEL/storj/events","assignees_url":"https://api.github.com/repos/TopperDEL/storj/assignees{/user}","branches_url":"https://api.github.com/repos/TopperDEL/storj/branches{/branch}","tags_url":"https://api.github.com/repos/TopperDEL/storj/tags","blobs_url":"https://api.github.com/repos/TopperDEL/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TopperDEL/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TopperDEL/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/TopperDEL/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TopperDEL/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/TopperDEL/storj/languages","stargazers_url":"https://api.github.com/repos/TopperDEL/storj/stargazers","contributors_url":"https://api.github.com/repos/TopperDEL/storj/contributors","subscribers_url":"https://api.github.com/repos/TopperDEL/storj/subscribers","subscription_url":"https://api.github.com/repos/TopperDEL/storj/subscription","commits_url":"https://api.github.com/repos/TopperDEL/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/TopperDEL/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/TopperDEL/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/TopperDEL/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/TopperDEL/storj/contents/{+path}","compare_url":"https://api.github.com/repos/TopperDEL/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TopperDEL/storj/merges","archive_url":"https://api.github.com/repos/TopperDEL/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TopperDEL/storj/downloads","issues_url":"https://api.github.com/repos/TopperDEL/storj/issues{/number}","pulls_url":"https://api.github.com/repos/TopperDEL/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/TopperDEL/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/TopperDEL/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TopperDEL/storj/labels{/name}","releases_url":"https://api.github.com/repos/TopperDEL/storj/releases{/id}","deployments_url":"https://api.github.com/repos/TopperDEL/storj/deployments","created_at":"2019-09-17T17:40:55Z","updated_at":"2019-10-01T06:54:52Z","pushed_at":"2019-10-30T11:54:20Z","git_url":"git://github.com/TopperDEL/storj.git","ssh_url":"git@github.com:TopperDEL/storj.git","clone_url":"https://github.com/TopperDEL/storj.git","svn_url":"https://github.com/TopperDEL/storj","homepage":"https://storj.io","size":46588,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"storj:master","ref":"master","sha":"00df37677cce32c51b703e8b89a94e6b89d5a72a","user":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"repo":{"id":128089774,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgwODk3NzQ=","name":"storj","full_name":"storj/storj","private":false,"owner":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/storj/storj","description":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","fork":false,"url":"https://api.github.com/repos/storj/storj","forks_url":"https://api.github.com/repos/storj/storj/forks","keys_url":"https://api.github.com/repos/storj/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storj/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storj/storj/teams","hooks_url":"https://api.github.com/repos/storj/storj/hooks","issue_events_url":"https://api.github.com/repos/storj/storj/issues/events{/number}","events_url":"https://api.github.com/repos/storj/storj/events","assignees_url":"https://api.github.com/repos/storj/storj/assignees{/user}","branches_url":"https://api.github.com/repos/storj/storj/branches{/branch}","tags_url":"https://api.github.com/repos/storj/storj/tags","blobs_url":"https://api.github.com/repos/storj/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storj/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storj/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/storj/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storj/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/storj/storj/languages","stargazers_url":"https://api.github.com/repos/storj/storj/stargazers","contributors_url":"https://api.github.com/repos/storj/storj/contributors","subscribers_url":"https://api.github.com/repos/storj/storj/subscribers","subscription_url":"https://api.github.com/repos/storj/storj/subscription","commits_url":"https://api.github.com/repos/storj/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/storj/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/storj/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/storj/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/storj/storj/contents/{+path}","compare_url":"https://api.github.com/repos/storj/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storj/storj/merges","archive_url":"https://api.github.com/repos/storj/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storj/storj/downloads","issues_url":"https://api.github.com/repos/storj/storj/issues{/number}","pulls_url":"https://api.github.com/repos/storj/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/storj/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/storj/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storj/storj/labels{/name}","releases_url":"https://api.github.com/repos/storj/storj/releases{/id}","deployments_url":"https://api.github.com/repos/storj/storj/deployments","created_at":"2018-04-04T16:27:18Z","updated_at":"2019-10-30T12:27:32Z","pushed_at":"2019-10-30T12:38:27Z","git_url":"git://github.com/storj/storj.git","ssh_url":"git@github.com:storj/storj.git","clone_url":"https://github.com/storj/storj.git","svn_url":"https://github.com/storj/storj","homepage":"https://storj.io","size":90292,"stargazers_count":843,"watchers_count":843,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":188,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":188,"open_issues":95,"watchers":843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/3417"},"html":{"href":"https://github.com/storj/storj/pull/3417"},"issue":{"href":"https://api.github.com/repos/storj/storj/issues/3417"},"comments":{"href":"https://api.github.com/repos/storj/storj/issues/3417/comments"},"review_comments":{"href":"https://api.github.com/repos/storj/storj/pulls/3417/comments"},"review_comment":{"href":"https://api.github.com/repos/storj/storj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storj/storj/pulls/3417/commits"},"statuses":{"href":"https://api.github.com/repos/storj/storj/statuses/3f79baef2408927b5984109c45b7eeff52e50140"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"egonelbre"}}