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" ],
|
"methods": [ "GET" ],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_shield/role/{name}",
|
"path": "/_shield/role/{name}",
|
||||||
"paths": [ "/_shield/role/{name}" ],
|
"paths": [ "/_shield/role/{name}", "/_shield/role" ],
|
||||||
"parts": {
|
"parts": {
|
||||||
"name": {
|
"name": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"methods": [ "GET" ],
|
"methods": [ "GET" ],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_shield/user/{username}",
|
"path": "/_shield/user/{username}",
|
||||||
"paths": [ "/_shield/user/{username}" ],
|
"paths": [ "/_shield/user/{username}", "/_shield/user" ],
|
||||||
"parts": {
|
"parts": {
|
||||||
"username": {
|
"username": {
|
||||||
"type" : "list",
|
"type" : "list",
|
||||||
|
|
Loading…
Reference in New Issue