Package de.trustable.ca3s.core.web.rest
Class CertificateListResource
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.CertificateListResource
-
@RestController @RequestMapping("/publicapi") public class CertificateListResource extends ObjectREST controller for managingCertificate.
-
-
Constructor Summary
Constructors Constructor Description CertificateListResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<List<CertificateView>>getAllCertificates(org.springframework.data.domain.Pageable pageable, javax.servlet.http.HttpServletRequest request)GET /certificates: get all the certificates.
-
-
-
Method Detail
-
getAllCertificates
@GetMapping("/certificateList") public org.springframework.http.ResponseEntity<List<CertificateView>> getAllCertificates(org.springframework.data.domain.Pageable pageable, javax.servlet.http.HttpServletRequest request)GET /certificates: get all the certificates.- Parameters:
pageable- the pagination information.- Returns:
- the
ResponseEntitywith status200 (OK)and the list of certificates in body.
-
-