Class PublicApiController
java.lang.Object
eu.dnetlib.organizations.controller.PublicApiController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindJournalByCountry(int year, int month, String country, javax.servlet.http.HttpServletResponse res) voidfindJournalById(String id, javax.servlet.http.HttpServletResponse res) metrics()
-
Constructor Details
-
PublicApiController
public PublicApiController()
-
-
Method Details
-
findJournalById
@GetMapping("/logs") public void findJournalById(@RequestParam String id, javax.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-
findJournalByCountry
@GetMapping("/logs/{year}/{month}/{country}") public void findJournalByCountry(@PathVariable int year, @PathVariable int month, @PathVariable String country, javax.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-
metrics
- Throws:
IOException
-
metrics
@GetMapping("/metrics/byCountry/{country}") public OrganizationMetrics metrics(@PathVariable String country) throws IOException - Throws:
IOException
-