| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.samples.utils.store.rest.client | |
| org.wso2.carbon.apimgt.samples.utils.store.rest.client.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 |
DocumentIndividualApi.apisApiIdDocumentsDocumentIdContentGetAsync(String apiId,
String documentId,
String xWSO2Tenant,
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.apisApiIdDocumentsDocumentIdGetAsync(String apiId,
String documentId,
String xWSO2Tenant,
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 |
DocumentCollectionApi.apisApiIdDocumentsGetAsync(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant,
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 |
APIIndividualApi.apisApiIdGetAsync(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant,
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.apisApiIdSwaggerGetAsync(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant,
ApiCallback<Void> callback)
Get swagger definition (asynchronously)
You can use this operation to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
APIIndividualApi.apisApiIdThumbnailGetAsync(String apiId,
String xWSO2Tenant,
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.apisGenerateSdkPostAsync(String apiId,
String language,
String xWSO2Tenant,
ApiCallback<Void> callback)
Generate SDK for an API (asynchronously)
This operation can be used to generate SDK for an API by providing the id of the API along with the preferred language.
|
com.squareup.okhttp.Call |
APICollectionApi.apisGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
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 |
ApplicationIndividualApi.applicationsApplicationIdDeleteAsync(String applicationId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Remove an application (asynchronously)
This operation can be used to remove an application specifying its id.
|
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 |
ApplicationIndividualApi.applicationsApplicationIdKeysKeyTypeGetAsync(String applicationId,
String keyType,
String groupId,
String accept,
ApiCallback<ApplicationKey> callback)
Get key details of a given type (asynchronously)
This operation can be used to retrieve key details of an individual application specifying the key type in the URI.
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdKeysKeyTypeGetAsync(String applicationId,
String keyType,
String groupId,
String accept,
ApiCallback<ApplicationKey> callback)
Get key details of a given type (asynchronously)
This operation can be used to retrieve key details of an individual application specifying the key type in the URI.
|
com.squareup.okhttp.Call |
ApplicationIndividualApi.applicationsApplicationIdKeysKeyTypePutAsync(String applicationId,
String keyType,
ApplicationKey body,
ApiCallback<ApplicationKey> callback)
Update grant types and callback url of an application (asynchronously)
This operation can be used to update grant types and callback url of an application.
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdKeysKeyTypePutAsync(String applicationId,
String keyType,
ApplicationKey body,
ApiCallback<ApplicationKey> callback)
Update grant types and callback url of an application (asynchronously)
This operation can be used to update grant types and callback url of an application.
|
com.squareup.okhttp.Call |
ApplicationIndividualApi.applicationsApplicationIdPutAsync(String applicationId,
Application body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Application> callback)
Update an application (asynchronously)
This operation can be used to update an application.
|
com.squareup.okhttp.Call |
ApplicationIndividualApi.applicationsGenerateKeysPostAsync(String applicationId,
ApplicationKeyGenerateRequest body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<ApplicationKey> callback)
Generate keys for application (asynchronously)
This operation can be used to generate client Id and client secret for an application
|
com.squareup.okhttp.Call |
ApplicationCollectionApi.applicationsGetAsync(String groupId,
String query,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ApiCallback<ApplicationList> callback)
Retrieve/Search applications (asynchronously)
This operation can be used to retrieve list of applications that is belonged to the user associated with the provided access token.
|
com.squareup.okhttp.Call |
ApplicationIndividualApi.applicationsPostAsync(Application body,
String contentType,
ApiCallback<Application> callback)
Create a new application (asynchronously)
This operation can be used to create a new application specifying the details of the application in the payload.
|
com.squareup.okhttp.Call |
SubscriptionCollectionApi.subscriptionsGetAsync(String apiId,
String applicationId,
String groupId,
Integer offset,
Integer limit,
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 |
SubscriptionMultitpleApi.subscriptionsMultiplePostAsync(List<Subscription> body,
String contentType,
ApiCallback<Subscription> callback)
Add new subscriptions (asynchronously)
This operation can be used to add a new subscriptions providing the ids of the APIs and the applications.
|
com.squareup.okhttp.Call |
SubscriptionIndividualApi.subscriptionsPostAsync(Subscription body,
String contentType,
ApiCallback<Subscription> callback)
Add a new subscription (asynchronously)
This operation can be used to add a new subscription providing the id of the API and the application.
|
com.squareup.okhttp.Call |
SubscriptionIndividualApi.subscriptionsSubscriptionIdDeleteAsync(String subscriptionId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Remove a subscription (asynchronously)
This operation can be used to remove a subscription.
|
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 |
TagCollectionApi.tagsGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
String accept,
String ifNoneMatch,
ApiCallback<TagList> callback)
Get all tags (asynchronously)
This operation can be used to retrieve a list of tags that are already added to APIs.
|
com.squareup.okhttp.Call |
ThrottlingTierCollectionApi.tiersTierLevelGetAsync(String tierLevel,
Integer limit,
Integer offset,
String xWSO2Tenant,
String accept,
String ifNoneMatch,
ApiCallback<List<TierList>> callback)
Get available tiers (asynchronously)
This operation can be used to retrieve all the tiers available for the provided tier level.
|
com.squareup.okhttp.Call |
ThrottlingTierIndividualApi.tiersTierLevelTierNameGetAsync(String tierName,
String tierLevel,
String xWSO2Tenant,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Tier> callback)
Get details of a tier (asynchronously)
This operation can be used to retrieve details of a single tier by specifying the tier level and tier name.
|
Copyright © 2018 WSO2 Inc. All rights reserved.