Update API spec for Shield
Original commit: elastic/x-pack-elasticsearch@6dcdfebc0a
This commit is contained in:
parent
214b4f269a
commit
03f8452d70
|
@ -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