Package energy.eddie.aiida.web
Class InboundController
java.lang.Object
energy.eddie.aiida.web.InboundController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<InboundRecord> latestRecord(UUID permissionId, String apiKeyHeader, String apiKeyQuery)
-
Constructor Details
-
InboundController
-
-
Method Details
-
latestRecord
@GetMapping(value="/latest/{permissionId}", produces="application/json") public org.springframework.http.ResponseEntity<InboundRecord> latestRecord(@PathVariable UUID permissionId, @RequestHeader(value="X-API-Key",required=false) String apiKeyHeader, @RequestParam(name="apiKey",required=false) String apiKeyQuery) throws UnauthorizedException, PermissionNotFoundException, InvalidDataSourceTypeException, InboundRecordNotFoundException
-