@RestController @CrossOrigin(origins="*") public class PortalSubscribersController extends Object
| Constructor and Description |
|---|
PortalSubscribersController() |
| Modifier and Type | Method and Description |
|---|---|
List<PortalSubscribers> |
getAllPortalSubscribers() |
eu.dnetlib.uoaadmintoolslibrary.responses.SingleValueWrapperResponse<Integer> |
getNumberOfSubscribersPerPortal(String pid) |
PortalSubscribers |
getSubscribersPerPortal(String pid) |
@RequestMapping(value="/community/{pid}/subscribers/count",
method=GET)
public eu.dnetlib.uoaadmintoolslibrary.responses.SingleValueWrapperResponse<Integer> getNumberOfSubscribersPerPortal(@PathVariable(value="pid",required=true)
String pid)
throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException@RequestMapping(value="/community/subscribers",
method=GET)
public List<PortalSubscribers> getAllPortalSubscribers()
@RequestMapping(value="/community/{pid}/subscribers",
method=GET)
public PortalSubscribers getSubscribersPerPortal(@PathVariable(value="pid",required=true)
String pid)
throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundExceptionCopyright © 2022. All rights reserved.