From 3b6a08a15ed02306b120d4b28a5828728150c1f0 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 28 Jul 2017 14:13:18 +0100 Subject: [PATCH] Improve documentation of list plugins 'all' option Change-Id: I630251484ca1c8b4a4e6037ac7ee4dba78f0601a --- Documentation/rest-api-plugins.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Documentation/rest-api-plugins.txt b/Documentation/rest-api-plugins.txt index ce0fdb7f7d..53f4bb5feb 100644 --- a/Documentation/rest-api-plugins.txt +++ b/Documentation/rest-api-plugins.txt @@ -31,6 +31,32 @@ As result a map is returned that maps the plugin IDs to link:#plugin-info[PluginInfo] entries. The entries in the map are sorted by plugin ID. +.Request +---- + GET /plugins/ HTTP/1.0 +---- + +.Response +---- + HTTP/1.1 200 OK + Content-Disposition: attachment + Content-Type: application/json; charset=UTF-8 + + )]}' + { + "delete-project": { + "id": "delete-project", + "index_url": "plugins/delete-project/", + "version": "2.9-SNAPSHOT" + } + } +---- + +[[plugin-options]] +==== Plugin Options +All(a):: +List all plugins including those that are disabled. + .Request ---- GET /plugins/?all HTTP/1.0