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 ObjectThe SubjectAreaRESTServicesInstance provides the org.odpi.openmetadata.accessservices.subjectarea.server-side implementation of the SubjectArea Open Metadata Access Service (OMAS). This interface provides term authoring interfaces for subject area experts.
-
-
Constructor Summary
Constructors Constructor Description SubjectAreaRESTResourceConfig()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectAreaOMASAPIResponse<Config>getConfig(String serverName, String userId)Get the config
-
-
-
Method Detail
-
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
-
-