From 0e322b525dc15ad325f9e1e5fa9b2d6ebd6c1ced Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 6 Jul 2017 11:06:03 -0700 Subject: [PATCH] [DOCS] Update doc links for security APIs (elastic/x-pack-elasticsearch#1883) Original commit: elastic/x-pack-elasticsearch@660410008c6cb43c5db687686419164a24db1a0c --- .../rest-api-spec/api/xpack.security.authenticate.json | 2 +- .../rest-api-spec/api/xpack.security.change_password.json | 2 +- .../rest-api-spec/api/xpack.security.clear_cached_realms.json | 2 +- .../rest-api-spec/api/xpack.security.clear_cached_roles.json | 2 +- .../resources/rest-api-spec/api/xpack.security.delete_role.json | 2 +- .../rest-api-spec/api/xpack.security.delete_role_mapping.json | 2 +- .../resources/rest-api-spec/api/xpack.security.delete_user.json | 2 +- .../rest-api-spec/api/xpack.security.disable_user.json | 2 +- .../resources/rest-api-spec/api/xpack.security.enable_user.json | 2 +- .../resources/rest-api-spec/api/xpack.security.get_role.json | 2 +- .../rest-api-spec/api/xpack.security.get_role_mapping.json | 2 +- .../resources/rest-api-spec/api/xpack.security.get_token.json | 2 +- .../resources/rest-api-spec/api/xpack.security.get_user.json | 2 +- .../rest-api-spec/api/xpack.security.invalidate_token.json | 2 +- .../resources/rest-api-spec/api/xpack.security.put_role.json | 2 +- .../rest-api-spec/api/xpack.security.put_role_mapping.json | 2 +- .../resources/rest-api-spec/api/xpack.security.put_user.json | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json index 3db7084b342..650f89e89a4 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.authenticate.json @@ -1,6 +1,6 @@ { "xpack.security.authenticate": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-authenticate.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html", "methods": [ "GET" ], "url": { "path": "/_xpack/security/_authenticate", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json index b193284c1e3..7cb4277ee50 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.change_password.json @@ -1,6 +1,6 @@ { "xpack.security.change_password": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-change-password.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_password", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json index 21c6305304c..059441d654e 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_realms.json @@ -1,6 +1,6 @@ { "xpack.security.clear_cached_realms": { - "documentation": "https://www.elastic.co/guide/en/x-pack/current/security-api-clear-cache.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html", "methods": [ "POST" ], "url": { "path": "/_xpack/security/realm/{realms}/_clear_cache", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json index 65426cdc29b..c94333325b1 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.clear_cached_roles.json @@ -1,6 +1,6 @@ { "xpack.security.clear_cached_roles": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-clear-role-cache", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache", "methods": [ "POST" ], "url": { "path": "/_xpack/security/role/{name}/_clear_cache", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json index 365d3ba4a5c..4351b1bc847 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role.json @@ -1,6 +1,6 @@ { "xpack.security.delete_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-delete-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json index 6d6657bed46..26c72666e8f 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.delete_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-delete-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json index 4e6c1cc5370..d72c854a69d 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.delete_user.json @@ -1,6 +1,6 @@ { "xpack.security.delete_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-delete-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/user/{username}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json index 75c1d26cd8a..3a72b314191 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.disable_user.json @@ -1,6 +1,6 @@ { "xpack.security.disable_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-disable-user.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_disable", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json index eaf40c09275..c68144957f0 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.enable_user.json @@ -1,6 +1,6 @@ { "xpack.security.enable_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-enable-user.html", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}/_enable", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json index 20292019dcb..3479c911ccd 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role.json @@ -1,6 +1,6 @@ { "xpack.security.get_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-get-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role", "methods": [ "GET" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json index e33183c96f3..0bdeb54cfb6 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.get_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-get-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping", "methods": [ "GET" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json index 07c060f56a8..8020d1ecd6d 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_token.json @@ -1,6 +1,6 @@ { "xpack.security.get_token": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-get-token", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token", "methods": [ "POST" ], "url": { "path": "/_xpack/security/oauth2/token", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json index 8853275c19f..910fb7d0645 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.get_user.json @@ -1,6 +1,6 @@ { "xpack.security.get_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-get-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user", "methods": [ "GET" ], "url": { "path": "/_xpack/security/user/{username}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json index 88ad6edbb5b..be032c2ffd0 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.invalidate_token.json @@ -1,6 +1,6 @@ { "xpack.security.invalidate_token": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-tokens.html#security-api-invalidate-token", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token", "methods": [ "DELETE" ], "url": { "path": "/_xpack/security/oauth2/token", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json index c2d51dc016a..4152975189e 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role.json @@ -1,6 +1,6 @@ { "xpack.security.put_role": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-roles.html#security-api-put-role", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/role/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json index 919e174f28e..3f92cd130ba 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_role_mapping.json @@ -1,6 +1,6 @@ { "xpack.security.put_role_mapping": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-role-mapping.html#security-api-put-role-mapping", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/role_mapping/{name}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json index a589dd1e61d..de07498a409 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.security.put_user.json @@ -1,6 +1,6 @@ { "xpack.security.put_user": { - "documentation": "https://www.elastic.co/guide/en/x-pack/master/security-api-users.html#security-api-put-user", + "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user", "methods": [ "PUT", "POST" ], "url": { "path": "/_xpack/security/user/{username}",