{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7","id":168640120,"html_url":"https://github.com/denouche/ovh-api-bash-client/pull/7","diff_url":"https://github.com/denouche/ovh-api-bash-client/pull/7.diff","patch_url":"https://github.com/denouche/ovh-api-bash-client/pull/7.patch","issue_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/7","number":7,"state":"closed","locked":false,"title":"Add an access rules file into profile","user":{"login":"bonidier","id":5502640,"avatar_url":"https://avatars0.githubusercontent.com/u/5502640?v=4","gravatar_id":"","url":"https://api.github.com/users/bonidier","html_url":"https://github.com/bonidier","followers_url":"https://api.github.com/users/bonidier/followers","following_url":"https://api.github.com/users/bonidier/following{/other_user}","gists_url":"https://api.github.com/users/bonidier/gists{/gist_id}","starred_url":"https://api.github.com/users/bonidier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonidier/subscriptions","organizations_url":"https://api.github.com/users/bonidier/orgs","repos_url":"https://api.github.com/users/bonidier/repos","events_url":"https://api.github.com/users/bonidier/events{/privacy}","received_events_url":"https://api.github.com/users/bonidier/received_events","type":"User","site_admin":false},"body":"Hi @denouche \r\nHere is a new pull request about credential accessRules management\r\n\r\nNow the custom rules are saved into current profile directory, this avoid to always set a big JSON content into `--data`  when using `--init` (but this practice is always allowed for compatibility)\r\n\r\nIt's a simple file with two columns like thiskeys)  : \r\n```\r\nGET /me\r\nGET /domain\r\n```\r\n(more user friendly than JSON content with all method/path keys ...)\r\n\r\n- If this file is missing for the current profile, the default full access rules file is generated\r\n- In all cases, a user-interactive question ask for edit this file before calling OVH API to get the token.\r\n\r\nThe content of access.rules file is converted to JSON format \r\n\r\n","created_at":"2018-02-12T17:24:05Z","updated_at":"2018-02-13T07:53:50Z","closed_at":"2018-02-13T07:53:50Z","merged_at":"2018-02-13T07:53:50Z","merge_commit_sha":"ecc5fc988ca140096d97bbc79b958d5333ea4428","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7/commits","review_comments_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7/comments","review_comment_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/7/comments","statuses_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/statuses/15f11e880f6e2515412b31cc4f3d5cf8f1384735","head":{"label":"bonidier:access-rules","ref":"access-rules","sha":"15f11e880f6e2515412b31cc4f3d5cf8f1384735","user":{"login":"bonidier","id":5502640,"avatar_url":"https://avatars0.githubusercontent.com/u/5502640?v=4","gravatar_id":"","url":"https://api.github.com/users/bonidier","html_url":"https://github.com/bonidier","followers_url":"https://api.github.com/users/bonidier/followers","following_url":"https://api.github.com/users/bonidier/following{/other_user}","gists_url":"https://api.github.com/users/bonidier/gists{/gist_id}","starred_url":"https://api.github.com/users/bonidier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonidier/subscriptions","organizations_url":"https://api.github.com/users/bonidier/orgs","repos_url":"https://api.github.com/users/bonidier/repos","events_url":"https://api.github.com/users/bonidier/events{/privacy}","received_events_url":"https://api.github.com/users/bonidier/received_events","type":"User","site_admin":false},"repo":{"id":94193037,"name":"ovh-api-bash-client","full_name":"bonidier/ovh-api-bash-client","owner":{"login":"bonidier","id":5502640,"avatar_url":"https://avatars0.githubusercontent.com/u/5502640?v=4","gravatar_id":"","url":"https://api.github.com/users/bonidier","html_url":"https://github.com/bonidier","followers_url":"https://api.github.com/users/bonidier/followers","following_url":"https://api.github.com/users/bonidier/following{/other_user}","gists_url":"https://api.github.com/users/bonidier/gists{/gist_id}","starred_url":"https://api.github.com/users/bonidier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonidier/subscriptions","organizations_url":"https://api.github.com/users/bonidier/orgs","repos_url":"https://api.github.com/users/bonidier/repos","events_url":"https://api.github.com/users/bonidier/events{/privacy}","received_events_url":"https://api.github.com/users/bonidier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bonidier/ovh-api-bash-client","description":"A bash client for OVH API","fork":true,"url":"https://api.github.com/repos/bonidier/ovh-api-bash-client","forks_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/forks","keys_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/teams","hooks_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/hooks","issue_events_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/issues/events{/number}","events_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/events","assignees_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/assignees{/user}","branches_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/branches{/branch}","tags_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/tags","blobs_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/statuses/{sha}","languages_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/languages","stargazers_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/stargazers","contributors_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/contributors","subscribers_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/subscribers","subscription_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/subscription","commits_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/contents/{+path}","compare_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/merges","archive_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/downloads","issues_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/issues{/number}","pulls_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/pulls{/number}","milestones_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/milestones{/number}","notifications_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/labels{/name}","releases_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/releases{/id}","deployments_url":"https://api.github.com/repos/bonidier/ovh-api-bash-client/deployments","created_at":"2017-06-13T09:05:12Z","updated_at":"2017-06-13T09:05:14Z","pushed_at":"2018-02-12T17:10:34Z","git_url":"git://github.com/bonidier/ovh-api-bash-client.git","ssh_url":"git@github.com:bonidier/ovh-api-bash-client.git","clone_url":"https://github.com/bonidier/ovh-api-bash-client.git","svn_url":"https://github.com/bonidier/ovh-api-bash-client","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"denouche:master","ref":"master","sha":"e4f968c78ab9a74406dde8af13b91295e8ca0e79","user":{"login":"denouche","id":3081451,"avatar_url":"https://avatars0.githubusercontent.com/u/3081451?v=4","gravatar_id":"","url":"https://api.github.com/users/denouche","html_url":"https://github.com/denouche","followers_url":"https://api.github.com/users/denouche/followers","following_url":"https://api.github.com/users/denouche/following{/other_user}","gists_url":"https://api.github.com/users/denouche/gists{/gist_id}","starred_url":"https://api.github.com/users/denouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denouche/subscriptions","organizations_url":"https://api.github.com/users/denouche/orgs","repos_url":"https://api.github.com/users/denouche/repos","events_url":"https://api.github.com/users/denouche/events{/privacy}","received_events_url":"https://api.github.com/users/denouche/received_events","type":"User","site_admin":false},"repo":{"id":18888191,"name":"ovh-api-bash-client","full_name":"denouche/ovh-api-bash-client","owner":{"login":"denouche","id":3081451,"avatar_url":"https://avatars0.githubusercontent.com/u/3081451?v=4","gravatar_id":"","url":"https://api.github.com/users/denouche","html_url":"https://github.com/denouche","followers_url":"https://api.github.com/users/denouche/followers","following_url":"https://api.github.com/users/denouche/following{/other_user}","gists_url":"https://api.github.com/users/denouche/gists{/gist_id}","starred_url":"https://api.github.com/users/denouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denouche/subscriptions","organizations_url":"https://api.github.com/users/denouche/orgs","repos_url":"https://api.github.com/users/denouche/repos","events_url":"https://api.github.com/users/denouche/events{/privacy}","received_events_url":"https://api.github.com/users/denouche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denouche/ovh-api-bash-client","description":"A bash client for OVH API","fork":false,"url":"https://api.github.com/repos/denouche/ovh-api-bash-client","forks_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/forks","keys_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/teams","hooks_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/hooks","issue_events_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/events{/number}","events_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/events","assignees_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/assignees{/user}","branches_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/branches{/branch}","tags_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/tags","blobs_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/statuses/{sha}","languages_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/languages","stargazers_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/stargazers","contributors_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/contributors","subscribers_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/subscribers","subscription_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/subscription","commits_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/contents/{+path}","compare_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/merges","archive_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/downloads","issues_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues{/number}","pulls_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls{/number}","milestones_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/milestones{/number}","notifications_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/labels{/name}","releases_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/releases{/id}","deployments_url":"https://api.github.com/repos/denouche/ovh-api-bash-client/deployments","created_at":"2014-04-17T18:04:19Z","updated_at":"2017-09-15T22:37:20Z","pushed_at":"2018-02-13T07:53:50Z","git_url":"git://github.com/denouche/ovh-api-bash-client.git","ssh_url":"git@github.com:denouche/ovh-api-bash-client.git","clone_url":"https://github.com/denouche/ovh-api-bash-client.git","svn_url":"https://github.com/denouche/ovh-api-bash-client","homepage":null,"size":26,"stargazers_count":18,"watchers_count":18,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":8,"open_issues":0,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7"},"html":{"href":"https://github.com/denouche/ovh-api-bash-client/pull/7"},"issue":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/7"},"comments":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/denouche/ovh-api-bash-client/statuses/15f11e880f6e2515412b31cc4f3d5cf8f1384735"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"denouche","id":3081451,"avatar_url":"https://avatars0.githubusercontent.com/u/3081451?v=4","gravatar_id":"","url":"https://api.github.com/users/denouche","html_url":"https://github.com/denouche","followers_url":"https://api.github.com/users/denouche/followers","following_url":"https://api.github.com/users/denouche/following{/other_user}","gists_url":"https://api.github.com/users/denouche/gists{/gist_id}","starred_url":"https://api.github.com/users/denouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denouche/subscriptions","organizations_url":"https://api.github.com/users/denouche/orgs","repos_url":"https://api.github.com/users/denouche/repos","events_url":"https://api.github.com/users/denouche/events{/privacy}","received_events_url":"https://api.github.com/users/denouche/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":44,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"denouche"}}