java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.V3WebsiteController

@RestController public class V3WebsiteController extends Object
This controller is only responsible for the incompatible v3 endpoints, which differ from the latest endpoint
  • Constructor Details

    • V3WebsiteController

      public V3WebsiteController(WebsiteService websiteService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • getByUuid

      @GetMapping(value={"/latest/websites/{uuid}","/v3/websites/{uuid}"}, produces="application/json") public org.springframework.http.ResponseEntity<String> getByUuid(@PathVariable UUID uuid) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      ServiceException
    • findRootPages

      @GetMapping(value={"/v3/websites/{uuid}/rootpages","/latest/websites/{uuid}/rootpages"}, produces="application/json") public org.springframework.http.ResponseEntity<String> findRootPages(@PathVariable("uuid") UUID uuid, @RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      ServiceException