License Plugin: Added the `xpack` namespace to the REST API definition

In order to be consistent with the other X-Pack APIs, the `license.*` APIs
have been prefixed with `xpack`.

Closes elastic/elasticsearch#2777

Original commit: elastic/x-pack-elasticsearch@cd35a2d4aa
This commit is contained in:
Karel Minarik 2016-07-11 19:36:52 +02:00
parent 427563132e
commit 28d6fbd782
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"license.delete": { "xpack.license.delete": {
"documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html",
"methods": ["DELETE"], "methods": ["DELETE"],
"url": { "url": {

View File

@ -1,5 +1,5 @@
{ {
"license.get": { "xpack.license.get": {
"documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html",
"methods": ["GET"], "methods": ["GET"],
"url": { "url": {

View File

@ -1,5 +1,5 @@
{ {
"license.post": { "xpack.license.post": {
"documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html", "documentation": "https://www.elastic.co/guide/en/shield/current/license-management.html",
"methods": ["PUT", "POST"], "methods": ["PUT", "POST"],
"url": { "url": {