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
111
111
112
112
## Projects [/projects]
113
113
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
+
114
119
### returns a list of all projects [GET ]
115
120
116
121
+ Response 200 (application/json)
@@ -120,6 +125,9 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
120
125
121
126
### add project [POST ]
122
127
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
+
123
131
+ Request (text/plain)
124
132
+ Body
125
133
@@ -131,10 +139,16 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
131
139
132
140
### delete project [DELETE ]
133
141
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
+
134
146
+ Response 204
135
147
136
148
## Project metadata management [/projects/{project}/indexed]
137
149
150
+ This entry point is used by the Indexer once it finishes indexing given project.
151
+
138
152
### marks project as indexed [PUT ]
139
153
140
154
+ Response 204
You can’t perform that action at this time.
0 commit comments