java.lang.Object
org.odpi.openmetadata.accessservices.glossaryview.server.spring.GlossaryResource

@RestController @Validated @RequestMapping("/servers/{serverName}/open-metadata/access-services/glossary-view/users/{userId}") @Deprecated public class GlossaryResource extends Object
Deprecated.
Spring Rest Controller defining 'Glossary' oriented endpoints
  • Constructor Details

    • GlossaryResource

      public GlossaryResource()
      Deprecated.
      Called by Spring
  • Method Details

    • getAllGlossaries

      @GetMapping(path="/glossaries") public 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)
      Deprecated.
      Extract all glossary definitions
      Parameters:
      serverName - instance to call
      userId - calling user
      from - from
      size - size
      Returns:
      glossaries
    • getGlossary

      @GetMapping(path="/glossaries/{glossaryGUID}") public GlossaryViewEntityDetailResponse getGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("glossaryGUID") @NotBlank @NotBlank String glossaryGUID)
      Deprecated.
      Extract a glossary definition
      Parameters:
      serverName - instance to call
      userId - calling user
      glossaryGUID - glossary GUID
      Returns:
      a glossary
    • getTermHomeGlossary

      @GetMapping(path="/terms/{termGUID}/home-glossary") public GlossaryViewEntityDetailResponse getTermHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("termGUID") @NotBlank @NotBlank String termGUID)
      Deprecated.
      Extract a term's home glossary
      Parameters:
      serverName - instance to call
      userId - calling user
      termGUID - term GUID
      Returns:
      glossaries
    • getCategoryHomeGlossary

      @GetMapping(path="/categories/{categoryGUID}/home-glossary") public GlossaryViewEntityDetailResponse getCategoryHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("categoryGUID") @NotBlank @NotBlank String categoryGUID)
      Deprecated.
      Extract a category's home glossary
      Parameters:
      serverName - instance to call
      userId - calling user
      categoryGUID - category GUID
      Returns:
      glossaries
    • getExternalGlossaryLinks

      @GetMapping(path="/glossaries/{glossaryGUID}/external-glossary-links") public 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)
      Deprecated.
      Extract the external glossary link definitions
      Parameters:
      serverName - instance to call
      userId - calling user
      glossaryGUID - glossary GUID
      from - from
      size - size
      Returns:
      external glossary links