Search in sources :

Example 1 with Info

use of co.videofirst.vft.capture.model.info.Info in project vft-capture by videofirst.

the class InfoController method info.

@GetMapping
public Info info() {
    Info info = infoService.getInfo();
    info.setCaptureStatus(captureService.status());
    info.setUploads(uploadService.status());
    return info;
}
Also used : Info(co.videofirst.vft.capture.model.info.Info) GetMapping(org.springframework.web.bind.annotation.GetMapping)

Aggregations

Info (co.videofirst.vft.capture.model.info.Info)1 GetMapping (org.springframework.web.bind.annotation.GetMapping)1