boolean |
RestApiAdmin.addApi(APIData apiData) |
|
boolean |
RestApiAdminService.addApi(APIData apiData) |
Adds an API with the metadata passed in.
|
boolean |
RestApiAdmin.addApiForTenant(String apiData,
String tenantDomain) |
Set the tenant domain when a publisher publishes his API in MT mode.
|
boolean |
RestApiAdminService.addApiForTenant(String apiData,
String tenantDomain) |
Sets the tenant domain when a publisher publishes his API in MT mode.
|
boolean |
RestApiAdminService.addApiForTenant(APIData apiData,
String tenantDomain) |
Adds an API with the metadata passed in.
|
boolean |
RestApiAdmin.addApiFromString(String apiData) |
|
boolean |
RestApiAdminService.addApiFromString(String apiData) |
Adds an API with the configuration passed in, as a string.
|
void |
RestApiAdmin.addSwaggerDocument(String apiName,
String swaggerJsonString,
int tenantId) |
Replace the swagger document in the registry with the given swagger json string
|
void |
RestApiAdmin.deleteAllApi() |
Delete All API in the synapse configuration
|
boolean |
RestApiAdmin.deleteApi(String apiName) |
|
boolean |
RestApiAdminService.deleteApi(String apiName) |
Deletes an API that carries the name that is passed in.
|
boolean |
RestApiAdmin.deleteApiForTenant(String apiName,
String tenantDomain) |
Set the tenant domain when a publisher deletes his API in MT mode.
|
boolean |
RestApiAdminService.deleteApiForTenant(String apiName,
String tenantDomain) |
Deletes an API that exists in the space of a given tenant, carrying the name passed in.
|
void |
RestApiAdmin.deleteSelectedApi(String[] apiNames) |
Delete Selected API
|
String |
RestApiAdmin.disableStatistics(String apiName) |
|
String |
RestApiAdmin.disableTracing(String apiName) |
|
String |
RestApiAdmin.enableStatistics(String apiName) |
|
String |
RestApiAdmin.enableTracing(String apiName) |
|
String |
RestApiAdmin.generateAPIFromSwagger(String swaggerJsonString) |
Function to generate API from swagger definition (from JSON representation)
|
String |
RestApiAdmin.generateAPIFromSwaggerByFormat(String swaggerString,
boolean isJSON) |
Function to generate API from swagger definition (from JSON representation)
|
String |
RestApiAdmin.generateSwaggerFromSynapseAPI(org.apache.synapse.api.API api) |
Function to generate API from swagger definition (from Synapse API)
|
String |
RestApiAdmin.generateSwaggerFromSynapseAPIByFormat(org.apache.synapse.api.API api,
boolean isJSON) |
Function to generate API from swagger definition (from Synapse API).
|
String |
RestApiAdmin.generateUpdatedAPIFromSwagger(String swaggerJsonString,
String existingApiName) |
Function to generate updated existing API by referring to swagger definition (from JSON representation)
|
String |
RestApiAdmin.generateUpdatedAPIFromSwaggerByFormat(String swaggerJsonString,
boolean isJSON,
org.apache.synapse.api.API existingApi) |
Function to generate updated existing API by referring to swagger definition.
|
String |
RestApiAdmin.generateUpdatedAPIFromSwaggerForAPI(String swaggerJsonString,
org.apache.synapse.api.API existingApi) |
Function to generate updated existing API by referring to swagger definition (from JSON representation)
|
APIData |
RestApiAdminService.getApiByName(String apiName) |
Retrieves API configuration mapped into the name passed in.
|
APIData |
RestApiAdmin.getApiForTenant(String apiName,
String tenantDomain) |
Set the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
APIData |
RestApiAdminService.getApiForTenant(String apiName,
String tenantDomain) |
Sets the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
protected Lock |
RestApiAdminService.getLock() |
|
String |
RestApiAdmin.getServerContext() |
|
String |
RestApiAdmin.getSwaggerDocument(String apiName,
int tenantId) |
Return the registry resource for the provided location
|
boolean |
RestApiAdmin.updateApi(String apiName,
APIData apiData) |
|
boolean |
RestApiAdmin.updateApiForTenant(String apiName,
String apiData,
String tenantDomain) |
Set the tenant domain when a publisher updates his API in MT mode.
|
boolean |
RestApiAdminService.updateApiForTenant(String apiName,
String apiData,
String tenantDomain) |
Set the tenant domain when a publisher updates his API in MT mode.
|
boolean |
RestApiAdmin.updateApiFromString(String apiName,
String apiData) |
|
boolean |
RestApiAdminService.updateApiFromString(String apiName,
String apiData) |
Updates a given API configuration passed in as a string.
|
String |
RestApiAdmin.updateNameInSwagger(String newName,
String swagger) |
Update the title of a given swagger document.
|
void |
RestApiAdmin.updateSwaggerDocument(String apiName,
String swaggerJsonString,
int tenantId) |
Create a registry resource for the swagger document and update the registry resource with the default swagger
|