Class RootRestController

java.lang.Object
com.netflix.genie.web.apis.rest.v3.controllers.RootRestController

@RestController @RequestMapping("/api/v3") public class RootRestController extends Object
Rest controller for the V3 API root.
Since:
3.0.0
  • Constructor Details

    • RootRestController

      @Autowired public RootRestController(RootModelAssembler rootModelAssembler)
      Constructor.
      Parameters:
      rootModelAssembler - The assembler to use to construct resources.
  • Method Details

    • getRoot

      @GetMapping(produces="application/hal+json") @ResponseStatus(OK) public org.springframework.hateoas.EntityModel<Map<String,String>> getRoot()
      Get a simple HAL+JSON object which represents the various links available in Genie REST API as an entry point.
      Returns:
      the root resource containing various links to the real APIs