Allow to index all changes of a project

So far, indexing a series of changes had to be done by listing them one
after the other which can be cumbersome when the number of changes to
re-index is high.

Add the possibility of indexing all the changes belonging to a project.

Change-Id: Ib47f6d65ca49c85713d30806d7579f9d2d9cf823
This commit is contained in:
Hector Oswaldo Caballero
2017-02-13 07:40:33 -05:00
parent e9ccf87816
commit 2b4239a8b6
8 changed files with 189 additions and 1 deletions

View File

@@ -1066,6 +1066,24 @@ As result a link:#project-access-info[ProjectAccessInfo] entity is returned.
}
----
[[index]]
=== Index all changes in a project
Adds or updates all the changes belonging to a project in the secondary index.
The indexing task is executed asynchronously in background, so this command
returns immediately.
.Request
----
POST /projects/MyProject/index HTTP/1.0
----
.Response
----
HTTP/1.1 202 Accepted
Content-Disposition: attachment
----
[[branch-endpoints]]
== Branch Endpoints