@RestController
@CrossOrigin(origins="*")
@ConditionalOnProperty(value="openaire.exporter.enable.funders",
havingValue="true")
public class FundersApiController
extends AbstractExporterController
AbstractExporterController.ErrorMessage| Constructor and Description |
|---|
FundersApiController() |
| Modifier and Type | Method and Description |
|---|---|
FunderDbEntry |
getFunder(String id) |
List<FunderDbEntry> |
getFunders() |
FunderDbEntry |
updateFunder(String id,
FunderDbUpdate funderUpdate) |
handle400, handle404, handle500, prepareResponse@RequestMapping(value="/funders",
produces="application/json",
method=GET)
public List<FunderDbEntry> getFunders()
throws FundersApiException
FundersApiException@RequestMapping(value="/funders/{id}",
produces="application/json",
method=GET)
public FunderDbEntry getFunder(@PathVariable
String id)
throws FundersApiException
FundersApiException@RequestMapping(value="/funders/{id}",
produces="application/json",
method=POST)
public FunderDbEntry updateFunder(@PathVariable
String id,
@RequestBody
FunderDbUpdate funderUpdate)
throws FundersApiException
FundersApiExceptionCopyright © 2025. All rights reserved.