Class SubjectAreaRESTResourceConfig
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.server.spring.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the config
-
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- Parameters:
serverName
- serverName under which this request is performed, this is used in multi tenanting to identify the tenantuserId
- unique identifier for requesting user, under which the request is performed- Returns:
- 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
-