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:
commit
b26378e664
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue