File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
111111
112112## Projects [/projects]
113113
114+ For all entry points that modify web application configuration it is worth noting that
115+ the configuration has to be retrieved and stored on disk (using the configuration specific
116+ entry points) in order to be persistent (e.g. in case of application server restart or
117+ web application redeploy).
118+
114119### returns a list of all projects [GET ]
115120
116121+ Response 200 (application/json)
@@ -120,6 +125,9 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
120125
121126### add project [POST ]
122127
128+ This will merely add the project and its repositories to the web application configuration.
129+ The project will not be searchable (and thus appear in the UI) until it is indexed.
130+
123131+ Request (text/plain)
124132 + Body
125133
@@ -131,10 +139,16 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
131139
132140### delete project [DELETE ]
133141
142+ This will remove the project and its repositories from the web application configuration.
143+ It will also delete project specific data such as index, cross reference pages, history index
144+ and suggester data.
145+
134146+ Response 204
135147
136148## Project metadata management [/projects/{project}/indexed]
137149
150+ This entry point is used by the Indexer once it finishes indexing given project.
151+
138152### marks project as indexed [PUT ]
139153
140154+ Response 204
You can’t perform that action at this time.
0 commit comments