| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.rest.integration.tests.publisher | |
| org.wso2.carbon.apimgt.rest.integration.tests.publisher.api |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdDeleteAsync(String apiId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an API (asynchronously)
This operation can be used to delete an existing API proving the Id of the API.
|
com.squareup.okhttp.Call |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdContentGetAsync(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get the content of an API document (asynchronously)
This operation can be used to retrive the content of an API's document.
|
com.squareup.okhttp.Call |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdContentPostAsync(String apiId,
String documentId,
File file,
String inlineContent,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Document> callback)
Upload the content of an API document (asynchronously)
Thid operation can be used to upload a file or add inline content to an API document.
|
com.squareup.okhttp.Call |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdDeleteAsync(String apiId,
String documentId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a document of an API (asynchronously)
This operation can be used to delete a document associated with an API.
|
com.squareup.okhttp.Call |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdGetAsync(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Document> callback)
Get a document of an API (asynchronously)
This operation can be used to retrieve a particular document's metadata associated with an API.
|
com.squareup.okhttp.Call |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdPutAsync(String apiId,
String documentId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Document> callback)
Update a document of an API (asynchronously)
This operation can be used to update metadata of an API's document.
|
com.squareup.okhttp.Call |
DocumentCollectionApi.apisApiIdDocumentsGetAsync(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<DocumentList> callback)
Get a list of documents of an API (asynchronously)
This operation can be used to retrieve a list of documents belonging to an API by providing the id of the API.
|
com.squareup.okhttp.Call |
DocumentCollectionApi.apisApiIdDocumentsPostAsync(String apiId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Document> callback)
Add a new document to an API (asynchronously)
This operation can be used to add a new documentation to an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdGatewayConfigGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get gateway definition (asynchronously)
This operation can be used to retrieve the gateway configuration of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdGatewayConfigPutAsync(String apiId,
String gatewayConfig,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Update gateway configuration (asynchronously)
This operation can be used to update the gateway configuration of an existing API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<API> callback)
Get details of an API (asynchronously)
Using this operation, you can retrieve complete details of a single API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdLifecycleGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<LifecycleState> callback)
Get Lifecycle state data of the API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdLifecycleHistoryGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get Lifecycle state change history of the API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdLifecycleLifecyclePendingTaskDeleteAsync(String apiId,
ApiCallback<Void> callback)
Delete pending lifecycle state change tasks.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdPutAsync(String apiId,
API body,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<API> callback)
Update an API (asynchronously)
This operation can be used to update an existing API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdSwaggerGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get swagger definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdSwaggerPutAsync(String apiId,
String endpointId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Update swagger definition (asynchronously)
This operation can be used to update the swagger definition of an existing API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdThumbnailGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get thumbnail image (asynchronously)
This operation can be used to download a thumbnail image of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdThumbnailPostAsync(String apiId,
File file,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<FileInfo> callback)
Upload a thumbnail image (asynchronously)
This operation can be used to upload a thumbnail image of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdWsdlGetAsync(String apiId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Void> callback)
Get swagger definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdWsdlPutAsync(String apiId,
File file,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Update WSDL definition (asynchronously)
This operation can be used to update the WSDL definition of an existing API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisChangeLifecyclePostAsync(String action,
String apiId,
String lifecycleChecklist,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<WorkflowResponse> callback)
Change API Status (asynchronously)
This operation is used to change the lifecycle of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisCopyApiPostAsync(String newVersion,
String apiId,
ApiCallback<Void> callback)
Create a new API version (asynchronously)
This operation can be used to create a new version of an existing API.
|
com.squareup.okhttp.Call |
APICollectionApi.apisGetAsync(Integer limit,
Integer offset,
String query,
String ifNoneMatch,
ApiCallback<APIList> callback)
Retrieve/Search APIs (asynchronously)
This operation provides you a list of available APIs qualifying under a given search condition.
|
com.squareup.okhttp.Call |
APICollectionApi.apisHeadAsync(String query,
String ifNoneMatch,
ApiCallback<Void> callback)
Check given API attibute name is already exist (asynchronously)
Using this operation, you can check a given API context is already used.
|
com.squareup.okhttp.Call |
APICollectionApi.apisImportDefinitionPostAsync(String type,
File file,
String url,
String additionalProperties,
String implementationType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<API> callback)
Import API Definition (asynchronously)
This operation can be used to create api from api definition.
|
com.squareup.okhttp.Call |
APICollectionApi.apisPostAsync(API body,
ApiCallback<API> callback)
Create a new API (asynchronously)
This operation can be used to create a new API specifying the details of the API in the payload.
|
com.squareup.okhttp.Call |
APICollectionApi.apisValidateDefinitionPostAsync(String type,
File file,
String url,
ApiCallback<APIDefinitionValidationResponse> callback)
Validate API definition and retrieve a summary (asynchronously)
This operation can be used to validate a swagger or WSDL definition and retrieve a summary.
|
com.squareup.okhttp.Call |
ApplicationIndividualApi.applicationsApplicationIdGetAsync(String applicationId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Application> callback)
Get details of an application (asynchronously)
This operation can be used to retrieve details of an individual application specifying the application id in the URI.
|
com.squareup.okhttp.Call |
EndpointIndividualApi.endpointsEndpointIdDeleteAsync(String endpointId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an endpoint (asynchronously)
This operation can be used to delete an existing Endpoint proving the Id of the Endpoint.
|
com.squareup.okhttp.Call |
EndpointIndividualApi.endpointsEndpointIdGetAsync(String endpointId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<EndPoint> callback)
Get specific endpoints (asynchronously)
This operation can be used to retrieve endpoint specific details.
|
com.squareup.okhttp.Call |
EndpointIndividualApi.endpointsEndpointIdPutAsync(String endpointId,
EndPoint body,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<EndPoint> callback)
Update a Tier (asynchronously)
This operation can be used to update an existing endpoint.
|
com.squareup.okhttp.Call |
EndpointCollectionApi.endpointsGetAsync(String ifNoneMatch,
String ifModifiedSince,
ApiCallback<EndPointList> callback)
Get all endpoints (asynchronously)
This operation can be used to retrieve the list of endpoints available.
|
com.squareup.okhttp.Call |
EndpointCollectionApi.endpointsHeadAsync(String name,
String ifNoneMatch,
ApiCallback<Void> callback)
Check given Endpoint is already exist (asynchronously)
Using this operation, you can check a given Endpoint name is already used.
|
com.squareup.okhttp.Call |
EndpointCollectionApi.endpointsPostAsync(EndPoint body,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<EndPoint> callback)
Add a new endpoint (asynchronously)
This operation can be used to add a new endpoint.
|
com.squareup.okhttp.Call |
EnvironmentCollectionApi.environmentsGetAsync(String apiId,
ApiCallback<EnvironmentList> callback)
Get all gateway environments (asynchronously)
This operation can be used to retrieve the list of gateway environments available.
|
com.squareup.okhttp.Call |
ExportConfigurationApi.exportApisGetAsync(String query,
Integer limit,
Integer offset,
ApiCallback<File> callback)
Export information related to an API.
|
com.squareup.okhttp.Call |
ImportConfigurationApi.importApisPostAsync(File file,
String provider,
ApiCallback<APIList> callback)
Imports API(s).
|
com.squareup.okhttp.Call |
ImportConfigurationApi.importApisPutAsync(File file,
String provider,
ApiCallback<APIList> callback)
Imports API(s).
|
com.squareup.okhttp.Call |
LabelCollectionApi.labelsGetAsync(String ifNoneMatch,
String ifModifiedSince,
ApiCallback<LabelList> callback)
Get all labels (asynchronously)
This operation can be used to retrieve the list of labels available.
|
com.squareup.okhttp.Call |
ThrottlingTierCollectionApi.policiesTierLevelGetAsync(String tierLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<TierList> callback)
Get all policies (asynchronously)
This operation can be used to list the available policies for a given policy level.
|
com.squareup.okhttp.Call |
ThrottlingTierIndividualApi.policiesTierLevelTierNameGetAsync(String tierName,
String tierLevel,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Tier> callback)
Get details of a policy (asynchronously)
This operation can be used to retrieve details of a single policy by specifying the policy level and policy name.
|
com.squareup.okhttp.Call |
SubscriptionIndividualApi.subscriptionsBlockSubscriptionPostAsync(String subscriptionId,
String blockState,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Block a subscription (asynchronously)
This operation can be used to block a subscription.
|
com.squareup.okhttp.Call |
SubscriptionCollectionApi.subscriptionsGetAsync(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<SubscriptionList> callback)
Get all Subscriptions (asynchronously)
This operation can be used to retrieve a list of subscriptions of the user associated with the provided access token.
|
com.squareup.okhttp.Call |
SubscriptionIndividualApi.subscriptionsSubscriptionIdGetAsync(String subscriptionId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Subscription> callback)
Get details of a subscription (asynchronously)
This operation can be used to get details of a single subscription.
|
com.squareup.okhttp.Call |
SubscriptionIndividualApi.subscriptionsUnblockSubscriptionPostAsync(String subscriptionId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Unblock a Subscription (asynchronously)
This operation can be used to unblock a subscription specifying the subscription Id.
|
Copyright © 2018 WSO2. All rights reserved.