commit | 9a270a5b971c2abca365d0571118d58ed04ccc0b | [log] [tgz] |
---|---|---|
author | margaretha <margaretha@ids-mannheim.de> | Wed Feb 05 16:31:14 2020 +0100 |
committer | margaretha <margaretha@ids-mannheim.de> | Thu Feb 06 15:17:03 2020 +0100 |
tree | 8bf5dfd9107abbeffcccff2f73fdd17e0cbce67e | |
parent | 0afd44a6df38702344537b1277046196c0399b89 [diff] |
Removed client authentication from the client deregistration & client-secret reset APIs. Change-Id: I9af0c65b5a7e34af761db6d519ea72a2c6d9c46e
diff --git a/core/Changes b/core/Changes index a315367..bec0bd2 100644 --- a/core/Changes +++ b/core/Changes
@@ -1,6 +1,8 @@ # version 0.62.4 24/01/2020 - Removed salt from config and updated config files. +05/02/2020 + - Added welcome page. # version 0.62.3 03/12/2019
diff --git a/core/src/main/java/de/ids_mannheim/korap/web/controller/SearchController.java b/core/src/main/java/de/ids_mannheim/korap/web/controller/SearchController.java index d3b88a8..5bbcfeb 100644 --- a/core/src/main/java/de/ids_mannheim/korap/web/controller/SearchController.java +++ b/core/src/main/java/de/ids_mannheim/korap/web/controller/SearchController.java
@@ -65,6 +65,13 @@ @Autowired private OAuth2ScopeService scopeService; + + @GET + @Path("{version}") + public Response index (){ + return Response.ok("Welcome to KorAP API!").build(); + } + @POST @Path("{version}/index/close") public Response closeIndexReader (@FormParam("token") String token){