public class RESTAPIServiceImpl extends Object implements RESTAPIService
| Constructor and Description |
|---|
RESTAPIServiceImpl(String publisherEp,
String adminEp,
boolean inSecure) |
| Modifier and Type | Method and Description |
|---|---|
ExtendedAPI |
getAPI(String apiName,
String version,
String accessToken)
Gets the API specified by name and version
|
List<ExtendedAPI> |
getAPIs(String labelName,
String accessToken)
Get APIs of given label
|
List<ApplicationThrottlePolicyDTO> |
getApplicationPolicies(String accessToken)
Get list of application
|
List<ClientCertMetadataDTO> |
getClientCertificates(String accessToken)
Get list of client certificates
|
List<SubscriptionThrottlePolicyDTO> |
getSubscriptionPolicies(String accessToken)
Get list of subsription policies
|
public List<ExtendedAPI> getAPIs(String labelName, String accessToken)
RESTAPIServicegetAPIs in interface RESTAPIServicelabelName - label nameaccessToken - access tokenRESTAPIService.getAPIs(String, String)public ExtendedAPI getAPI(String apiName, String version, String accessToken)
RESTAPIServicegetAPI in interface RESTAPIServiceapiName - Name of the APIversion - Version of the APIaccessToken - access tokenRESTAPIService.getAPI(String, String, String)public List<ApplicationThrottlePolicyDTO> getApplicationPolicies(String accessToken)
RESTAPIServicegetApplicationPolicies in interface RESTAPIServiceaccessToken - access tokenRESTAPIService.getApplicationPolicies(String)public List<SubscriptionThrottlePolicyDTO> getSubscriptionPolicies(String accessToken)
RESTAPIServicegetSubscriptionPolicies in interface RESTAPIServiceaccessToken - access tokenRESTAPIService.getSubscriptionPolicies(String)public List<ClientCertMetadataDTO> getClientCertificates(String accessToken)
RESTAPIServicegetClientCertificates in interface RESTAPIServiceaccessToken - access tokenRESTAPIService.getClientCertificates(String)Copyright © 2019 WSO2. All rights reserved.