Project

General

Profile

« Previous | Next » 

Revision 50383

1. Add a get notifications method by subscription id

View differences:

BrokerApi.java
49 49
    @RequestMapping(value = "/getDnetTopics" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
50 50
    @ResponseBody
51 51
    Map<String, Term> getDnetTopics() throws BrokerException;
52

  
53
    @RequestMapping(value = "/getNotificationsBySubscriptionId/{subscriptionId}/{page}/{size}" , method = RequestMethod.GET
54
            ,produces = MediaType.APPLICATION_JSON_VALUE)
55
    @ResponseBody
56
    EventsPage getNotificationsBySubscriptionId(String subscriptionId,String page,String size) throws BrokerException;
52 57
}

Also available in: Unified diff