From 7ee12ef394951df55dc21308107a5c7335c07a99 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Fri, 28 Apr 2017 22:08:14 +0200 Subject: [PATCH] docs(admin-api) add name or id in supported routes targets: delete by id api specific plugins: delete/patch by plugin name From #407 --- app/docs/0.10.x/admin-api.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/docs/0.10.x/admin-api.md b/app/docs/0.10.x/admin-api.md index d8b1809ef57..6bda668fa49 100644 --- a/app/docs/0.10.x/admin-api.md +++ b/app/docs/0.10.x/admin-api.md @@ -938,12 +938,12 @@ HTTP 200 OK #### Endpoint -
/apis/{api name or id}/plugins/{id}
+
/apis/{api name or id}/plugins/{plugin name or id}
Attributes | Description ---:| --- `api name or id`
**required** | The unique identifier **or** the name of the API for which to update the plugin configuration -`id`
**required** | The unique identifier of the plugin configuration to update on this API +`plugin name or id`
**required** | The unique identifier **or** the name of the plugin configuration to update on this API #### Request Body @@ -1002,12 +1002,12 @@ See POST and PATCH responses. #### Endpoint -
/apis/{api name or id}/plugins/{id}
+
/apis/{api name or id}/plugins/{plugin name or id}
Attributes | Description ---:| --- `api name or id`
**required** | The unique identifier **or** the name of the API for which to delete the plugin configuration -`id`
**required** | The unique identifier of the plugin configuration to delete on this API +`plugin name or id`
**required** | The unique identifier **or** the name of the plugin configuration to delete on this API #### Response @@ -1863,12 +1863,12 @@ a new entry for the given target definition with a `weight` of 0. #### Endpoint -
/upstreams/{name or id}/targets/{target}
+
/upstreams/{upstream name or id}/targets/{target or id}
Attributes | Description ---:| --- -`name or id`
**required** | The unique identifier **or** the name of the upstream for which to delete the target. -`target`
**required** | The host/port combination element of the target to remove. +`upstream name or id`
**required** | The unique identifier **or** the name of the upstream for which to delete the target. +`target or id`
**required** | The host/port combination element of the target to remove, or the `id` of an existing target entry. #### Response