From 4e38b97171ed4851395655435ab88d7d93da6bee Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 30 May 2014 10:36:40 +0900 Subject: [PATCH] Add missing documentation of changes REST API index endpoint Change-Id: Ic89a44b772f9e4cd3f3420f3a689e6126e4ebb6b --- Documentation/rest-api-changes.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/rest-api-changes.txt b/Documentation/rest-api-changes.txt index c1bb66d9b3..fe5d17d906 100644 --- a/Documentation/rest-api-changes.txt +++ b/Documentation/rest-api-changes.txt @@ -1070,6 +1070,25 @@ an link:#included-in-info[IncludedInInfo] entity is returned. } ---- +[[index-change]] +=== Index Change +-- +'POST /changes/link:#change-id[\{change-id\}]/index' +-- + +Adds or updates the change in the secondary index. + +.Request +---- + POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/index HTTP/1.0 +---- + +.Response +---- + HTTP/1.1 204 No Content +---- + + [[reviewer-endpoints]] == Reviewer Endpoints