Class RootRestController
java.lang.Object
com.netflix.genie.web.apis.rest.v3.controllers.RootRestController
Rest controller for the V3 API root.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RootRestController
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
-