Update API spec for Shield

Original commit: elastic/x-pack-elasticsearch@6dcdfebc0a
This commit is contained in:
Lukas Olson 2016-03-17 10:27:44 -07:00
parent 214b4f269a
commit 03f8452d70
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",