Merge pull request elastic/elasticsearch#1729 from lukasolson/api/fix-spec

Update API spec for get users/roles

Original commit: elastic/x-pack-elasticsearch@1a398ac47a
This commit is contained in:
Lukas Olson 2016-03-17 10:34:44 -07:00
commit b26378e664
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"methods": [ "GET" ],
"url": {
"path": "/_shield/role/{name}",
"paths": [ "/_shield/role/{name}" ],
"paths": [ "/_shield/role/{name}", "/_shield/role" ],
"parts": {
"name": {
"type" : "string",

View File

@ -4,7 +4,7 @@
"methods": [ "GET" ],
"url": {
"path": "/_shield/user/{username}",
"paths": [ "/_shield/user/{username}" ],
"paths": [ "/_shield/user/{username}", "/_shield/user" ],
"parts": {
"username": {
"type" : "list",