Class APIManagerResource
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.server.spring.APIManagerResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/access-services/data-manager/users/{userId}")
public class APIManagerResource
extends Object
APIManagerResource is the server-side implementation of the Data Manager OMAS's
support for APIs. It matches the APIManagerClient.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAPI
(String serverName, String userId, boolean apiManagerIsHome, APIRequestBody requestBody) Create a new metadata element to represent a api.createAPI
(String serverName, String userId, String endpointGUID, boolean apiManagerIsHome, APIRequestBody requestBody) Create a new metadata element to represent a api.createAPIFromTemplate
(String serverName, String userId, String templateGUID, boolean apiManagerIsHome, TemplateRequestBody requestBody) Create a new metadata element to represent a API using an existing metadata element as a template.createAPIFromTemplate
(String serverName, String userId, String endpointGUID, String templateGUID, boolean apiManagerIsHome, TemplateRequestBody requestBody) Create a new metadata element to represent a API using an existing metadata element as a template.createAPIOperation
(String serverName, String userId, String apiGUID, APIOperationRequestBody requestBody) Create a new metadata element to represent a API operation.createAPIOperationFromTemplate
(String serverName, String userId, String templateGUID, String apiGUID, TemplateRequestBody requestBody) Create a new metadata element to represent a API operation using an existing metadata element as a template.createAPIParameterList
(String serverName, String userId, String apiOperationGUID, APIParameterListType parameterListType, APIParameterListRequestBody requestBody) Create a new metadata element to represent a API parameter list.createAPIParameterListFromTemplate
(String serverName, String userId, String templateGUID, String apiOperationGUID, APIParameterListType parameterListType, TemplateRequestBody requestBody) Create a new metadata element to represent a API parameter list using an existing metadata element as a template.findAPIOperations
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API operation metadata elements that contain the search string.findAPIParameterLists
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API parameter list metadata elements that contain the search string.findAPIs
(String serverName, String userId, SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API metadata elements that contain the search string.getAPIByGUID
(String serverName, String userId, String apiGUID) Retrieve the API metadata element with the supplied unique identifier.getAPIOperationByGUID
(String serverName, String userId, String apiOperationGUID) Retrieve the API operation metadata element with the supplied unique identifier.getAPIOperationsByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API operation metadata elements with a matching qualified or display endpointGUID.getAPIOperationsForAPI
(String serverName, String userId, String apiGUID, int startFrom, int pageSize) Return the list of operation associated with an API.getAPIParameterListByGUID
(String serverName, String userId, String apiParameterListGUID) Retrieve the API parameter list metadata element with the supplied unique identifier.getAPIParameterListsByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API parameter list metadata elements with a matching qualified or display endpointGUID.getAPIParameterListsForOperation
(String serverName, String userId, String apiOperationGUID, int startFrom, int pageSize) Return the list of schemas associated with a topic.getAPIsByEndpoint
(String serverName, String userId, String endpointGUID, int startFrom, int pageSize) Retrieve the list of API metadata elements that are linked to the requested endpoint.getAPIsByName
(String serverName, String userId, NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of API metadata elements with a matching qualified or display endpointGUID.getAPIsForAPIManager
(String serverName, String userId, String apiManagerGUID, String apiManagerName, int startFrom, int pageSize) Retrieve the list of apis created by this caller.publishAPI
(String serverName, String userId, String apiGUID, NullRequestBody nullRequestBody) Update the zones for the API asset so that it becomes visible to consumers.removeAPI
(String serverName, String userId, String apiGUID, String qualifiedName, MetadataSourceRequestBody requestBody) Remove the metadata element representing a api.removeAPIOperation
(String serverName, String userId, String apiOperationGUID, String qualifiedName, MetadataSourceRequestBody requestBody) Remove the metadata element representing an API operation.removeAPIParameterList
(String serverName, String userId, String apiParameterListGUID, String qualifiedName, MetadataSourceRequestBody requestBody) Remove the metadata element representing a API parameter list.updateAPI
(String serverName, String userId, String apiGUID, boolean isMergeUpdate, APIRequestBody requestBody) Update the metadata element representing a api.updateAPIOperation
(String serverName, String userId, String apiOperationGUID, boolean isMergeUpdate, APIOperationRequestBody requestBody) Update the metadata element representing a API operation.updateAPIParameterList
(String serverName, String userId, String apiParameterListGUID, boolean isMergeUpdate, APIParameterListRequestBody requestBody) Update the metadata element representing a API parameter list.withdrawAPI
(String serverName, String userId, String apiGUID, NullRequestBody nullRequestBody) Update the zones for the API asset so that it is no longer visible to consumers.
-
Constructor Details
-
APIManagerResource
public APIManagerResource()Default constructor
-
-
Method Details
-
createAPI
@PostMapping(path="/apis") public GUIDResponse createAPI(@PathVariable String serverName, @PathVariable String userId, @RequestParam boolean apiManagerIsHome, @RequestBody APIRequestBody requestBody) Create a new metadata element to represent a api.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiManagerIsHome
- should the API be marked as owned by the event broker so others can not update?requestBody
- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPI
@PostMapping(path="/apis/for-endpoint/{endpointGUID}") public GUIDResponse createAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String endpointGUID, @RequestParam boolean apiManagerIsHome, @RequestBody APIRequestBody requestBody) Create a new metadata element to represent a api.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userendpointGUID
- unique identifier of the endpoint where this API is locatedapiManagerIsHome
- should the API be marked as owned by the event broker so others can not update?requestBody
- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIFromTemplate
@PostMapping(path="/apis/from-template/{templateGUID}") public GUIDResponse createAPIFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @RequestParam boolean apiManagerIsHome, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a API using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usertemplateGUID
- unique identifier of the metadata element to copyapiManagerIsHome
- should the API be marked as owned by the event broker so others can not update?requestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIFromTemplate
@PostMapping(path="/apis/for-endpoint/{endpointGUID}/from-template/{templateGUID}") public GUIDResponse createAPIFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String endpointGUID, @PathVariable String templateGUID, @RequestParam boolean apiManagerIsHome, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a API using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userendpointGUID
- unique identifier of the endpoint where this API is locatedtemplateGUID
- unique identifier of the metadata element to copyapiManagerIsHome
- should the API be marked as owned by the event broker so others can not update?requestBody
- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateAPI
@PostMapping(path="/apis/{apiGUID}") public VoidResponse updateAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @RequestParam boolean isMergeUpdate, @RequestBody APIRequestBody requestBody) Update the metadata element representing a api.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with the existing properties of overlay them?requestBody
- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
publishAPI
@PostMapping(path="/apis/{apiGUID}/publish") public VoidResponse publishAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @RequestBody(required=false) NullRequestBody nullRequestBody) Update the zones for the API asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the metadata element to publishnullRequestBody
- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
withdrawAPI
@PostMapping(path="/apis/{apiGUID}/withdraw") public VoidResponse withdrawAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @RequestBody(required=false) NullRequestBody nullRequestBody) Update the zones for the API asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the API is first created).- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the metadata element to withdrawnullRequestBody
- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeAPI
@PostMapping(path="/apis/{apiGUID}/{qualifiedName}/delete") public VoidResponse removeAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @PathVariable String qualifiedName, @RequestBody MetadataSourceRequestBody requestBody) Remove the metadata element representing a api.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the metadata element to removequalifiedName
- unique endpointGUID of the metadata element to removerequestBody
- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findAPIs
@PostMapping(path="/apis/by-search-string") public APIsResponse findAPIs(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIsByName
@PostMapping(path="/apis/by-name") public APIsResponse getAPIsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API metadata elements with a matching qualified or display endpointGUID. There are no wildcards supported on this request.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIsForAPIManager
@GetMapping(path="/apis/api-managers/{apiManagerGUID}/{apiManagerName}") public APIsResponse getAPIsForAPIManager(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiManagerGUID, @PathVariable String apiManagerName, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of apis created by this caller.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiManagerGUID
- unique identifier of software server capability representing the event brokerapiManagerName
- unique endpointGUID of software server capability representing the event brokerstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIsByEndpoint
@GetMapping(path="/apis/by-endpoint/{endpointGUID}") public APIsResponse getAPIsByEndpoint(@PathVariable String serverName, @PathVariable String userId, @PathVariable String endpointGUID, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API metadata elements that are linked to the requested endpoint.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userendpointGUID
- endpointGUID to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIByGUID
@GetMapping(path="/apis/{apiGUID}") public APIResponse getAPIByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID) Retrieve the API metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIOperation
@PostMapping(path="/apis/{apiGUID}/api-operations") public GUIDResponse createAPIOperation(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @RequestBody APIOperationRequestBody requestBody) Create a new metadata element to represent a API operation.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the topic where the schema is locatedrequestBody
- properties about the API operation- Returns:
- unique identifier of the new API operation or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIOperationFromTemplate
@PostMapping(path="/apis/{apiGUID}/api-operations/from-template/{templateGUID}") public GUIDResponse createAPIOperationFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @PathVariable String apiGUID, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a API operation using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usertemplateGUID
- unique identifier of the metadata element to copyapiGUID
- unique identifier of the topic where the schema is locatedrequestBody
- properties that override the template- Returns:
- unique identifier of the new API operation or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateAPIOperation
@PostMapping(path="/apis/api-operations/{apiOperationGUID}") public VoidResponse updateAPIOperation(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiOperationGUID, @RequestParam boolean isMergeUpdate, @RequestBody APIOperationRequestBody requestBody) Update the metadata element representing a API operation.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiOperationGUID
- unique identifier of the metadata element to updateisMergeUpdate
- are unspecified properties unchanged (true) or removed?requestBody
- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeAPIOperation
@PostMapping(path="/apis/api-operations/{apiOperationGUID}/{qualifiedName}/delete") public VoidResponse removeAPIOperation(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiOperationGUID, @PathVariable String qualifiedName, @RequestBody MetadataSourceRequestBody requestBody) Remove the metadata element representing an API operation.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiOperationGUID
- unique identifier of the metadata element to removequalifiedName
- unique endpointGUID of the metadata element to removerequestBody
- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findAPIOperations
@PostMapping(path="/apis/api-operations/by-search-string") public APIOperationsResponse findAPIOperations(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API operation metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIOperationsForAPI
@GetMapping(path="/apis/{apiGUID}/api-operations") public APIOperationsResponse getAPIOperationsForAPI(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiGUID, @RequestParam int startFrom, @RequestParam int pageSize) Return the list of operation associated with an API.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiGUID
- unique identifier of the topic to querystartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of metadata elements describing the schemas associated with the requested topic or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIOperationsByName
@PostMapping(path="/apis/api-operations/by-name") public APIOperationsResponse getAPIOperationsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API operation metadata elements with a matching qualified or display endpointGUID. There are no wildcards supported on this request.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIOperationByGUID
@GetMapping(path="/apis/api-operations/{apiOperationGUID}") public APIOperationResponse getAPIOperationByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiOperationGUID) Retrieve the API operation metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiOperationGUID
- unique identifier of the requested metadata element- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIParameterList
@PostMapping(path="/apis/api-operations/{apiOperationGUID}/api-parameter-lists/{parameterListType}") public GUIDResponse createAPIParameterList(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiOperationGUID, @PathVariable APIParameterListType parameterListType, @RequestBody APIParameterListRequestBody requestBody) Create a new metadata element to represent a API parameter list.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiOperationGUID
- unique identifier of the topic where the schema is locatedparameterListType
- is this a header, request or responserequestBody
- properties about the API parameter list- Returns:
- unique identifier of the new API parameter list or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createAPIParameterListFromTemplate
@PostMapping(path="/apis/api-operations/{apiOperationGUID}/api-parameter-lists/{parameterListType}/from-template/{templateGUID}") public GUIDResponse createAPIParameterListFromTemplate(@PathVariable String serverName, @PathVariable String userId, @PathVariable String templateGUID, @PathVariable String apiOperationGUID, @PathVariable APIParameterListType parameterListType, @RequestBody TemplateRequestBody requestBody) Create a new metadata element to represent a API parameter list using an existing metadata element as a template.- Parameters:
serverName
- name of the service to route the request to.userId
- calling usertemplateGUID
- unique identifier of the metadata element to copyapiOperationGUID
- unique identifier of the topic where the schema is locatedparameterListType
- is this a header, request or responserequestBody
- properties that override the template- Returns:
- unique identifier of the new API parameter list or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateAPIParameterList
@PostMapping(path="/apis/api-operations/api-parameter-lists/{apiParameterListGUID}") public VoidResponse updateAPIParameterList(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiParameterListGUID, @RequestParam boolean isMergeUpdate, @RequestBody APIParameterListRequestBody requestBody) Update the metadata element representing a API parameter list.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiParameterListGUID
- unique identifier of the metadata element to updateisMergeUpdate
- are unspecified properties unchanged (true) or removed?requestBody
- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeAPIParameterList
@PostMapping(path="/apis/api-operations/api-parameter-lists/{apiParameterListGUID}/{qualifiedName}/delete") public VoidResponse removeAPIParameterList(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiParameterListGUID, @PathVariable String qualifiedName, @RequestBody MetadataSourceRequestBody requestBody) Remove the metadata element representing a API parameter list.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiParameterListGUID
- unique identifier of the metadata element to removequalifiedName
- unique endpointGUID of the metadata element to removerequestBody
- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findAPIParameterLists
@PostMapping(path="/apis/api-operations/api-parameter-lists/by-search-string") public APIParameterListsResponse findAPIParameterLists(@PathVariable String serverName, @PathVariable String userId, @RequestBody SearchStringRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API parameter list metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIParameterListsForOperation
@GetMapping(path="/apis/api-operations/{apiOperationGUID}/api-parameter-lists") public APIParameterListsResponse getAPIParameterListsForOperation(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiOperationGUID, @RequestParam int startFrom, @RequestParam int pageSize) Return the list of schemas associated with a topic.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiOperationGUID
- unique identifier of the topic to querystartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of metadata elements describing the schemas associated with the requested topic or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIParameterListsByName
@PostMapping(path="/apis/api-operations/api-parameter-lists/by-name") public APIParameterListsResponse getAPIParameterListsByName(@PathVariable String serverName, @PathVariable String userId, @RequestBody NameRequestBody requestBody, @RequestParam int startFrom, @RequestParam int pageSize) Retrieve the list of API parameter list metadata elements with a matching qualified or display endpointGUID. There are no wildcards supported on this request.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userrequestBody
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getAPIParameterListByGUID
@GetMapping(path="/apis/api-operations/api-parameter-lists/{apiParameterListGUID}") public APIParameterListResponse getAPIParameterListByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String apiParameterListGUID) Retrieve the API parameter list metadata element with the supplied unique identifier.- Parameters:
serverName
- name of the service to route the request to.userId
- calling userapiParameterListGUID
- unique identifier of the requested metadata element- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-