{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/1805","repository_url":"https://api.github.com/repos/hashicorp/vault","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/1805/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/1805/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/1805/events","html_url":"https://github.com/hashicorp/vault/issues/1805","id":173841906,"number":1805,"title":"API naming consistency: role vs roles?","user":{"login":"agperson","id":171105,"avatar_url":"https://avatars.githubusercontent.com/u/171105?v=3","gravatar_id":"","url":"https://api.github.com/users/agperson","html_url":"https://github.com/agperson","followers_url":"https://api.github.com/users/agperson/followers","following_url":"https://api.github.com/users/agperson/following{/other_user}","gists_url":"https://api.github.com/users/agperson/gists{/gist_id}","starred_url":"https://api.github.com/users/agperson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agperson/subscriptions","organizations_url":"https://api.github.com/users/agperson/orgs","repos_url":"https://api.github.com/users/agperson/repos","events_url":"https://api.github.com/users/agperson/events{/privacy}","received_events_url":"https://api.github.com/users/agperson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vishalnayak","id":3053672,"avatar_url":"https://avatars.githubusercontent.com/u/3053672?v=3","gravatar_id":"","url":"https://api.github.com/users/vishalnayak","html_url":"https://github.com/vishalnayak","followers_url":"https://api.github.com/users/vishalnayak/followers","following_url":"https://api.github.com/users/vishalnayak/following{/other_user}","gists_url":"https://api.github.com/users/vishalnayak/gists{/gist_id}","starred_url":"https://api.github.com/users/vishalnayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishalnayak/subscriptions","organizations_url":"https://api.github.com/users/vishalnayak/orgs","repos_url":"https://api.github.com/users/vishalnayak/repos","events_url":"https://api.github.com/users/vishalnayak/events{/privacy}","received_events_url":"https://api.github.com/users/vishalnayak/received_events","type":"User","site_admin":false},"assignees":[{"login":"vishalnayak","id":3053672,"avatar_url":"https://avatars.githubusercontent.com/u/3053672?v=3","gravatar_id":"","url":"https://api.github.com/users/vishalnayak","html_url":"https://github.com/vishalnayak","followers_url":"https://api.github.com/users/vishalnayak/followers","following_url":"https://api.github.com/users/vishalnayak/following{/other_user}","gists_url":"https://api.github.com/users/vishalnayak/gists{/gist_id}","starred_url":"https://api.github.com/users/vishalnayak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishalnayak/subscriptions","organizations_url":"https://api.github.com/users/vishalnayak/orgs","repos_url":"https://api.github.com/users/vishalnayak/repos","events_url":"https://api.github.com/users/vishalnayak/events{/privacy}","received_events_url":"https://api.github.com/users/vishalnayak/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/hashicorp/vault/milestones/11","html_url":"https://github.com/hashicorp/vault/milestones/0.6.2","labels_url":"https://api.github.com/repos/hashicorp/vault/milestones/11/labels","id":1834013,"number":11,"title":"0.6.2","description":null,"creator":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":30,"state":"open","created_at":"2016-06-17T08:54:26Z","updated_at":"2016-08-29T19:25:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-29T18:39:06Z","updated_at":"2016-08-29T19:34:11Z","closed_at":null,"body":"Was it a deliberate choice to in almost all cases use the plural form **roles** in URLs but in two specific cases use the singular **role**?  It is very confusing, and it seems like there is no circumstantial difference that would justify a different naming scheme.\r\n\r\n**Pluralized paths (roles)**\r\n\r\n- aws/roles\r\n- cassandra/roles\r\n- consul/roles\r\n- mongodb/roles\r\n- mssql/roles\r\n- mysql/roles\r\n- pki/roles\r\n- postgresql/roles\r\n- rabbitmq/roles\r\n- ssh/roles\r\n- auth/token/roles\r\n\r\n**Singular paths (role)**\r\n_Note: supports role**s** path for LIST only_\r\n\r\n- auth/approle/role\r\n- auth/aws-ec2/role"},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/243230356","html_url":"https://github.com/hashicorp/vault/issues/1805#issuecomment-243230356","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/1805","id":243230356,"user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T19:34:11Z","updated_at":"2016-08-29T19:34:11Z","body":"aws-ec2 and approle are the two newest and better reflect  the preferred naming scheme going forward, since any given name reflects a singular role.\r\n\r\nAs it's a regex it'd be trivial to add support for both for any backend, if you're so inclined we might accept PRs to add that."}}
{"actor":{"display_login":"jefferai"}}