@RestController
@RequestMapping(value="/broker")
public interface BrokerApi
| Modifier and Type | Method and Description |
|---|---|
EventsPage |
advancedShowEvents(String params) |
DatasourcesBroker |
getDatasourcesOfUser(String params) |
Map<String,Term> |
getDnetTopics() |
EventsPage |
getNotificationsBySubscriptionId(String subscriptionId,
String page,
String size) |
Map<String,List<SimpleSubscriptionDesc>> |
getSimpleSubscriptionsOfUser(String userEmail) |
Subscription |
getSubscription(String subscriptionId) |
Map<String,List<Subscription>> |
getSubscriptionsOfUser(String userEmail) |
List<BrowseEntry> |
getTopicsForDatasource(String datasourceName) |
EventsPage |
showEvents(String params) |
Subscription |
subscribe(OpenaireSubscription obj) |
void |
unsubscribe(String subscriptionId) |
@RequestMapping(value="/getDatasourcesOfUser",
method=POST,
produces="application/json")
DatasourcesBroker getDatasourcesOfUser(@RequestBody
String params)
throws BrokerException,
org.json.JSONException
BrokerExceptionorg.json.JSONException@RequestMapping(value="/getTopicsForDatasource/{datasourceName}",
method=GET,
produces="application/json")
List<BrowseEntry> getTopicsForDatasource(String datasourceName)
throws BrokerException
BrokerException@RequestMapping(value="/advancedShowEvents",
method=POST,
produces="application/json")
EventsPage advancedShowEvents(@RequestBody
String params)
throws BrokerException,
org.json.JSONException,
IOException
BrokerExceptionorg.json.JSONExceptionIOException@RequestMapping(value="/showEvents",
method=POST,
produces="application/json")
EventsPage showEvents(@RequestBody
String params)
throws BrokerException,
org.json.JSONException
BrokerExceptionorg.json.JSONException@RequestMapping(value="/getSimpleSubscriptionsOfUser/{userEmail}",
method=GET,
produces="application/json")
@ResponseBody
Map<String,List<SimpleSubscriptionDesc>> getSimpleSubscriptionsOfUser(String userEmail)
throws BrokerException
BrokerException@RequestMapping(value="/subscribe",
method=GET,
produces="application/json")
@ResponseBody
Subscription subscribe(@RequestBody
OpenaireSubscription obj)
throws BrokerException
BrokerException@RequestMapping(value="/unsubscribe/{subscriptionId}",
method=GET,
produces="application/json")
@ResponseBody
void unsubscribe(String subscriptionId)
throws BrokerException
BrokerException@RequestMapping(value="/getSubscription/{subscriptionId}",
method=GET,
produces="application/json")
@ResponseBody
Subscription getSubscription(@PathVariable(value="subscriptionId")
String subscriptionId)
throws BrokerException
BrokerException@RequestMapping(value="/getDnetTopics",
method=GET,
produces="application/json")
@ResponseBody
Map<String,Term> getDnetTopics()
throws BrokerException
BrokerException@RequestMapping(value="/getNotificationsBySubscriptionId/{subscriptionId}/{page}/{size}",
method=GET,
produces="application/json")
@ResponseBody
EventsPage getNotificationsBySubscriptionId(String subscriptionId,
String page,
String size)
throws BrokerException
BrokerException@RequestMapping(value="/getSubscriptionsOfUser/{userEmail}",
method=GET,
produces="application/json")
@ResponseBody
Map<String,List<Subscription>> getSubscriptionsOfUser(String userEmail)
throws BrokerException
BrokerExceptionCopyright © 2019. All rights reserved.