Class GlossaryResource
java.lang.Object
org.odpi.openmetadata.accessservices.glossaryview.server.spring.GlossaryResource
@RestController
@Validated
@RequestMapping("/servers/{serverName}/open-metadata/access-services/glossary-view/users/{userId}")
public class GlossaryResource
extends Object
Spring Rest Controller defining 'Glossary' oriented endpoints
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponsegetAllGlossaries(String serverName, String userId, @PositiveOrZero Integer from, @PositiveOrZero @Max(1000L) Integer size) Extract all glossary definitionsorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponsegetCategoryHomeGlossary(String serverName, String userId, @NotBlank String categoryGUID) Extract a category's home glossaryorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponsegetExternalGlossaryLinks(String serverName, String userId, @NotBlank String glossaryGUID, @PositiveOrZero Integer from, @PositiveOrZero @Max(1000L) Integer size) Extract the external glossary link definitionsorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponsegetGlossary(String serverName, String userId, @NotBlank String glossaryGUID) Extract a glossary definitionorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponsegetTermHomeGlossary(String serverName, String userId, @NotBlank String termGUID) Extract a term's home glossary
-
Constructor Details
-
GlossaryResource
public GlossaryResource()Called by Spring
-
-
Method Details
-
getAllGlossaries
@GetMapping(path="/glossaries") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse getAllGlossaries(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @RequestParam(name="from",defaultValue="0") @PositiveOrZero @PositiveOrZero Integer from, @RequestParam(name="size",defaultValue="100") @PositiveOrZero @Max(1000L) @PositiveOrZero @Max(1000L) Integer size) Extract all glossary definitions- Parameters:
serverName- instance to calluserId- calling userfrom- fromsize- size- Returns:
- glossaries
-
getGlossary
@GetMapping(path="/glossaries/{glossaryGUID}") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse getGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("glossaryGUID") @NotBlank @NotBlank String glossaryGUID) Extract a glossary definition- Parameters:
serverName- instance to calluserId- calling userglossaryGUID- glossary GUID- Returns:
- a glossary
-
getTermHomeGlossary
@GetMapping(path="/terms/{termGUID}/home-glossary") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse getTermHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("termGUID") @NotBlank @NotBlank String termGUID) Extract a term's home glossary- Parameters:
serverName- instance to calluserId- calling usertermGUID- term GUID- Returns:
- glossaries
-
getCategoryHomeGlossary
@GetMapping(path="/categories/{categoryGUID}/home-glossary") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse getCategoryHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("categoryGUID") @NotBlank @NotBlank String categoryGUID) Extract a category's home glossary- Parameters:
serverName- instance to calluserId- calling usercategoryGUID- category GUID- Returns:
- glossaries
-
getExternalGlossaryLinks
@GetMapping(path="/glossaries/{glossaryGUID}/external-glossary-links") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryViewEntityDetailResponse getExternalGlossaryLinks(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("glossaryGUID") @NotBlank @NotBlank String glossaryGUID, @RequestParam(name="from",defaultValue="0") @PositiveOrZero @PositiveOrZero Integer from, @RequestParam(name="size",defaultValue="100") @PositiveOrZero @Max(1000L) @PositiveOrZero @Max(1000L) Integer size) Extract the external glossary link definitions- Parameters:
serverName- instance to calluserId- calling userglossaryGUID- glossary GUIDfrom- fromsize- size- Returns:
- external glossary links
-