| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.rest.integration.tests | |
| org.wso2.carbon.apimgt.rest.integration.tests.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 accept,
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,
String contentType,
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 accept,
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 contentType,
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 accept,
String ifNoneMatch,
ApiCallback<DocumentList> callback)
Get a list of documents of an API (asynchronously)
This operation can be used to retrive 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 contentType,
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 accept,
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 contentType,
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 accept,
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.apisApiIdPutAsync(String apiId,
API body,
String contentType,
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 accept,
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 apiDefinition,
String contentType,
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 accept,
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 contentType,
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.apisChangeLifecyclePostAsync(String action,
String apiId,
String lifecycleChecklist,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> 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 accept,
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 accept,
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.apisPostAsync(API body,
String contentType,
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 |
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 |
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 |
ThrottlingTierCollectionApi.policiesTierLevelGetAsync(String tierLevel,
Integer limit,
Integer offset,
String accept,
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 |
ThrottlingTierCollectionApi.policiesTierLevelPostAsync(Tier body,
String tierLevel,
String contentType,
ApiCallback<Tier> callback)
Create a Tier (asynchronously)
This operation can be used to create a new throttling policy.
|
com.squareup.okhttp.Call |
ThrottlingTierIndividualApi.policiesTierLevelTierNameDeleteAsync(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Tier (asynchronously)
This operation can be used to delete an existing policy.
|
com.squareup.okhttp.Call |
ThrottlingTierIndividualApi.policiesTierLevelTierNameGetAsync(String tierName,
String tierLevel,
String accept,
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 |
ThrottlingTierIndividualApi.policiesTierLevelTierNamePutAsync(String tierName,
Tier body,
String tierLevel,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Tier> callback)
Update a Tier (asynchronously)
This operation can be used to update an existing policy.
|
com.squareup.okhttp.Call |
ThrottlingTierIndividualApi.policiesUpdatePermissionPostAsync(String tierName,
String tierLevel,
String ifMatch,
String ifUnmodifiedSince,
TierPermission permissions,
ApiCallback<List<Tier>> callback)
Update policy permission (asynchronously)
This operation can be used to update policy permissions which controls access for the particular policy based on the subscribers' roles.
|
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 accept,
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 accept,
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 © 2017 WSO2. All rights reserved.