Class AcmeOrderViewResource


  • @Transactional
    @RestController
    @RequestMapping("/api")
    public class AcmeOrderViewResource
    extends Object
    REST controller for managing AcmeOrder.
    • Method Detail

      • getAllAcmeOrderViews

        @GetMapping("/acmeOrderViews")
        public List<AcmeOrderView> getAllAcmeOrderViews()
        GET /acmeOrderViews : get all ACME orders.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of ACME accounts in body.
      • getacmeOrder

        @GetMapping("/acmeOrderViews/{id}")
        public org.springframework.http.ResponseEntity<AcmeOrderView> getacmeOrder​(@PathVariable
                                                                                   Long id)
        GET /acmeOrderViews/:id : get the "id" ACME order.
        Parameters:
        id - the id of the ACME account to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME account, or with status 404 (Not Found).
      • getacmeOrderByAcmeOrderId

        @GetMapping("/acmeOrderViews/acmeOrderId/{orderId}")
        public org.springframework.http.ResponseEntity<AcmeOrderView> getacmeOrderByAcmeOrderId​(@PathVariable
                                                                                                Long orderId)
        GET /acmeOrderViews/:orderId : get the "id" ACME order.
        Parameters:
        orderId - the id of the ACME account to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME account, or with status 404 (Not Found).
      • getAcmeChallenges

        @GetMapping("/acmeOrderView/{id}/challenges")
        public org.springframework.http.ResponseEntity<List<AcmeChallengeView>> getAcmeChallenges​(@PathVariable
                                                                                                  Long id)
        GET /acmeOrderViews/:id/challenges : get all challenges for order "id" .
        Parameters:
        id - the id of the ACME order to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME order, or with status 404 (Not Found).