public interface RESTAPIService
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.apimgt.rest.api.publisher.dto.APIDTO |
getAPI(String apiName,
String version,
String accessToken)
Gets the API specified by name and version
|
List<org.wso2.carbon.apimgt.rest.api.publisher.dto.APIInfoDTO> |
getAPIs(String labelName,
String accessToken)
Get APIs of given label
|
String |
getAPISwaggerDefinition(String apiId,
String accessToken) |
List<org.wso2.carbon.apimgt.rest.api.admin.dto.ApplicationThrottlePolicyDTO> |
getApplicationPolicies(String accessToken)
Get list of application
|
List<org.wso2.carbon.apimgt.rest.api.admin.dto.SubscriptionThrottlePolicyDTO> |
getSubscriptionPolicies(String accessToken)
Get list of subsription policies
|
List<org.wso2.carbon.apimgt.rest.api.publisher.dto.APIInfoDTO> getAPIs(String labelName, String accessToken)
labelName - label nameaccessToken - access tokenorg.wso2.carbon.apimgt.rest.api.publisher.dto.APIDTO getAPI(String apiName, String version, String accessToken)
apiName - Name of the APIversion - Version of the APIaccessToken - access tokenList<org.wso2.carbon.apimgt.rest.api.admin.dto.ApplicationThrottlePolicyDTO> getApplicationPolicies(String accessToken)
accessToken - access tokenList<org.wso2.carbon.apimgt.rest.api.admin.dto.SubscriptionThrottlePolicyDTO> getSubscriptionPolicies(String accessToken)
accessToken - access tokenCopyright © 2018 WSO2. All rights reserved.