Package | Description |
---|---|
org.wso2.carbon.rest.api | |
org.wso2.carbon.rest.api.service |
Modifier and Type | Method and Description |
---|---|
static APIData |
RestApiAdminUtils.convertApiToAPIData(org.apache.synapse.api.API api) |
Modifier and Type | Method and Description |
---|---|
int |
APIDataSorter.compare(APIData apiData1,
APIData apiData2) |
static org.apache.axiom.om.OMElement |
RestApiAdminUtils.retrieveAPIOMElement(APIData apiData) |
Modifier and Type | Method and Description |
---|---|
APIData |
RestApiAdminService.getApiByName(String apiName)
Retrieves API configuration mapped into the name passed in.
|
APIData |
RestApiAdmin.getApiByName(String apiName) |
APIData |
RestApiAdminService.getApiForTenant(String apiName,
String tenantDomain)
Sets the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
APIData |
RestApiAdmin.getApiForTenant(String apiName,
String tenantDomain)
Set the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
APIData[] |
RestApiAdmin.getAPIsForListing(int pageNumber,
int itemsPerPage) |
Modifier and Type | Method and Description |
---|---|
boolean |
RestApiAdminService.addApi(APIData apiData)
Adds an API with the metadata passed in.
|
boolean |
RestApiAdmin.addApi(APIData apiData) |
boolean |
RestApiAdminService.addApiForTenant(APIData apiData,
String tenantDomain)
Adds an API with the metadata passed in.
|
String |
RestApiAdmin.getApiSource(APIData apiData) |
boolean |
RestApiAdmin.updateApi(String apiName,
APIData apiData) |
Copyright © 2021 WSO2. All rights reserved.