Class SubjectAreaRESTResourceConfig


@RestController @RequestMapping("/servers/{serverName}/open-metadata/access-services/subject-area") public class SubjectAreaRESTResourceConfig extends Object
The SubjectAreaRESTServicesInstance provides the server-side implementation of the SubjectArea Open Metadata Access Service (OMAS). This interface provides term authoring interfaces for subject area experts.
  • Constructor Details

    • SubjectAreaRESTResourceConfig

      public SubjectAreaRESTResourceConfig()
      Default constructor
  • Method Details

    • getConfig

      @GetMapping(path="/users/{userId}/configs/current") public SubjectAreaOMASAPIResponse<Config> getConfig(@PathVariable String serverName, @PathVariable String userId)
      Get the config
      serverName - serverName under which this request is performed, this is used in multi tenanting to identify the tenant
      userId - unique identifier for requesting user, under which the request is performed
      response which when successful contains the configuration when not successful the following Exception responses can occur
      • UserNotAuthorizedException the requesting user is not authorized to issue this request.
      • MetadataServerUncontactableException not able to communicate with a Metadata respository service.
      • InvalidParameterException one of the parameters is null or invalid.
      • UnrecognizedGUIDException the supplied guid was not recognised