Package eu.dnetlib.broker.oa.controllers
Class OpenairePublicController
java.lang.Object
eu.dnetlib.common.controller.AbstractDnetController
eu.dnetlib.broker.oa.controllers.OpenairePublicController
@Profile("openaire")
@RestController
@RequestMapping("/")
public class OpenairePublicController
extends AbstractDnetController
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.dnetlib.common.controller.AbstractDnetController
AbstractDnetController.ErrorMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotificationsAsFile(javax.servlet.http.HttpServletResponse res, String subscrId) voidopendoarEventsAsFile(javax.servlet.http.HttpServletResponse res, String id) ScrollPage<eu.dnetlib.broker.api.ShortEventMessage>prepareScrollNotificationsBySubscrId(String subscrId) ScrollPage<eu.dnetlib.broker.api.ShortEventMessage>scrollNotifications(String extendedScrollId) Methods inherited from class eu.dnetlib.common.controller.AbstractDnetController
handleException
-
Constructor Details
-
OpenairePublicController
public OpenairePublicController()
-
-
Method Details
-
prepareScrollNotificationsBySubscrId
@GetMapping("/scroll/notifications/bySubscriptionId/{subscrId}") public ScrollPage<eu.dnetlib.broker.api.ShortEventMessage> prepareScrollNotificationsBySubscrId(@PathVariable String subscrId) -
scrollNotifications
@GetMapping("/scroll/notifications/{extendedScrollId}") public ScrollPage<eu.dnetlib.broker.api.ShortEventMessage> scrollNotifications(@PathVariable String extendedScrollId) -
notificationsAsFile
@GetMapping(value="/file/notifications/bySubscriptionId/{subscrId}", produces="application/gzip") public void notificationsAsFile(javax.servlet.http.HttpServletResponse res, @PathVariable String subscrId) throws Exception - Throws:
Exception
-
opendoarEventsAsFile
@GetMapping(value="/file/events/opendoar/{id}", produces="application/gzip") public void opendoarEventsAsFile(javax.servlet.http.HttpServletResponse res, @PathVariable String id)
-