| Package | Description |
|---|---|
| org.wso2.am.integration.clients.store.api | |
| org.wso2.am.integration.clients.store.api.v1 |
| 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 |
AlertConfigurationApi.addAlertConfigAsync(String alertType,
String configurationId,
AlertConfigInfoDTO body,
ApiCallback<AlertConfigDTO> callback)
Add AbnormalRequestsPerMin alert configurations.
|
com.squareup.okhttp.Call |
CommentsApi.addCommentToAPIAsync(String apiId,
CommentDTO body,
ApiCallback<CommentDTO> callback)
Add an API comment (asynchronously)
|
com.squareup.okhttp.Call |
ApiCategoryCollectionApi.apiCategoriesGetAsync(String xWSO2Tenant,
ApiCallback<APICategoryListDTO> callback)
Get all API categories (asynchronously)
Get all API categories
|
com.squareup.okhttp.Call |
ApiDocumentsApi.apisApiIdDocumentsDocumentIdContentGetAsync(String apiId,
String documentId,
String xWSO2Tenant,
String ifNoneMatch,
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 |
DocumentsApi.apisApiIdDocumentsDocumentIdGetAsync(String apiId,
String documentId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<DocumentDTO> 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 |
ApiDocumentsApi.apisApiIdDocumentsGetAsync(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<DocumentListDTO> 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 |
ApIsApi.apisApiIdGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<APIDTO> callback)
Get details of an API (asynchronously)
Using this operation, you can retrieve complete details of a single API.
|
com.squareup.okhttp.Call |
GraphQlPoliciesApi.apisApiIdGraphqlPoliciesComplexityGetAsync(String apiId,
ApiCallback<Void> callback)
Get the complexity related details of an API (asynchronously)
This operation can be used to retrieve complexity related details belonging to an API by providing the API id.
|
com.squareup.okhttp.Call |
GraphQlPoliciesApi.apisApiIdGraphqlPoliciesComplexityTypesGetAsync(String apiId,
ApiCallback<GraphQLSchemaTypeListDTO> callback)
Retrieve types and fields of a GraphQL Schema (asynchronously)
This operation can be used to retrieve all types and fields of the GraphQL Schema by providing the API id.
|
com.squareup.okhttp.Call |
ApIsApi.apisApiIdGraphqlSchemaGetAsync(String apiId,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback<Void> callback)
Get graphQL definition (asynchronously)
You can use this operation to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
RatingsApi.apisApiIdRatingsGetAsync(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant,
ApiCallback<RatingListDTO> callback)
Retrieve API ratings (asynchronously)
This operation can be used to retrieve the list of ratings of an API.
|
com.squareup.okhttp.Call |
SdKsApi.apisApiIdSdksLanguageGetAsync(String apiId,
String language,
String xWSO2Tenant,
ApiCallback<byte[]> callback)
Generate a SDK for an API (asynchronously)
This operation can be used to generate SDKs (System Development Kits), for the APIs available in the API Store, for a requested development language.
|
com.squareup.okhttp.Call |
ApIsApi.apisApiIdSubscriptionPoliciesGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyDTO> callback)
Get details of the subscription throttling policies of an API (asynchronously)
This operation can be used to retrieve details of the subscription throttling policy of an API by specifying the API Id.
|
com.squareup.okhttp.Call |
ApIsApi.apisApiIdSwaggerGetAsync(String apiId,
String labelName,
String environmentName,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback<String> callback)
Get swagger definition (asynchronously)
You can use this operation to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
ApIsApi.apisApiIdThumbnailGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<Void> callback)
Get thumbnail image (asynchronously)
This operation can be used to download a thumbnail image of an API.
|
com.squareup.okhttp.Call |
RatingsApi.apisApiIdUserRatingDeleteAsync(String apiId,
String xWSO2Tenant,
String ifMatch,
ApiCallback<Void> callback)
Delete user API rating (asynchronously)
This operation can be used to delete logged in user API rating.
|
com.squareup.okhttp.Call |
RatingsApi.apisApiIdUserRatingGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<RatingDTO> callback)
Retrieve API rating of user (asynchronously)
This operation can be used to get the user rating of an API.
|
com.squareup.okhttp.Call |
RatingsApi.apisApiIdUserRatingPutAsync(String apiId,
RatingDTO body,
String xWSO2Tenant,
ApiCallback<RatingDTO> callback)
Add or update logged in user's rating for an API (asynchronously)
This operation can be used to add or update an API rating.
|
com.squareup.okhttp.Call |
ApIsApi.apisGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
ApiCallback<APIListDTO> callback)
Retrieve/Search APIs (asynchronously)
This operation provides you a list of available APIs qualifying under a given search condition.
|
com.squareup.okhttp.Call |
ApiKeysApi.applicationsApplicationIdApiKeysKeyTypeGeneratePostAsync(String applicationId,
String keyType,
APIKeyGenerateRequestDTO body,
String ifMatch,
ApiCallback<APIKeyDTO> callback)
Generate API Key (asynchronously)
Generate a self contained API Key for the application
|
com.squareup.okhttp.Call |
ApiKeysApi.applicationsApplicationIdApiKeysKeyTypeRevokePostAsync(String applicationId,
String keyType,
APIKeyRevokeRequestDTO body,
String ifMatch,
ApiCallback<Void> callback)
Revoke API Key (asynchronously)
Revoke a self contained API Key for the application
|
com.squareup.okhttp.Call |
ApplicationsApi.applicationsApplicationIdDeleteAsync(String applicationId,
String ifMatch,
ApiCallback<Void> callback)
Remove an application (asynchronously)
This operation can be used to remove an application specifying its id.
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdGenerateKeysPostAsync(String applicationId,
ApplicationKeyGenerateRequestDTO body,
ApiCallback<ApplicationKeyDTO> callback)
Generate application keys (asynchronously)
Generate keys (Consumer key/secret) for application
|
com.squareup.okhttp.Call |
ApplicationsApi.applicationsApplicationIdGetAsync(String applicationId,
String ifNoneMatch,
ApiCallback<ApplicationDTO> 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 |
ApplicationKeysApi.applicationsApplicationIdKeysGetAsync(String applicationId,
ApiCallback<ApplicationKeyListDTO> callback)
Retrieve all application keys (asynchronously)
Retrieve keys (Consumer key/secret) of application
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdKeysKeyTypeCleanUpPostAsync(String applicationId,
String keyType,
String ifMatch,
ApiCallback<Void> callback)
Clean up application keys (asynchronously)
Clean up keys after failed key generation of an application
|
com.squareup.okhttp.Call |
ApplicationTokensApi.applicationsApplicationIdKeysKeyTypeGenerateTokenPostAsync(String applicationId,
String keyType,
ApplicationTokenGenerateRequestDTO body,
String ifMatch,
ApiCallback<ApplicationTokenDTO> callback)
Generate application token (asynchronously)
Generate an access token for application by client_credentials grant type
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdKeysKeyTypeGetAsync(String applicationId,
String keyType,
String groupId,
ApiCallback<ApplicationKeyDTO> 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.applicationsApplicationIdKeysKeyTypePutAsync(String applicationId,
String keyType,
ApplicationKeyDTO body,
ApiCallback<ApplicationKeyDTO> 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.applicationsApplicationIdKeysKeyTypeRegenerateSecretPostAsync(String applicationId,
String keyType,
ApiCallback<ApplicationKeyReGenerateResponseDTO> callback)
Re-generate consumer secret (asynchronously)
This operation can be used to re generate consumer secret for an application for the give key type
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdMapKeysPostAsync(String applicationId,
ApplicationKeyMappingRequestDTO body,
ApiCallback<ApplicationKeyDTO> callback)
Map application keys (asynchronously)
Map keys (Consumer key/secret) to an application
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdOauthKeysGetAsync(String applicationId,
ApiCallback<ApplicationKeyListDTO> callback)
Retrieve all application keys (asynchronously)
Retrieve keys (Consumer key/secret) of application
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdOauthKeysKeyMappingIdCleanUpPostAsync(String applicationId,
String keyMappingId,
String ifMatch,
ApiCallback<Void> callback)
Clean up application keys (asynchronously)
Clean up keys after failed key generation of an application
|
com.squareup.okhttp.Call |
ApplicationTokensApi.applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostAsync(String applicationId,
String keyMappingId,
ApplicationTokenGenerateRequestDTO body,
String ifMatch,
ApiCallback<ApplicationTokenDTO> callback)
Generate application token (asynchronously)
Generate an access token for application by client_credentials grant type
|
com.squareup.okhttp.Call |
ApplicationKeysApi.applicationsApplicationIdOauthKeysKeyMappingIdGetAsync(String applicationId,
String keyMappingId,
String groupId,
ApiCallback<ApplicationKeyDTO> 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.applicationsApplicationIdOauthKeysKeyMappingIdPutAsync(String applicationId,
String keyMappingId,
ApplicationKeyDTO body,
ApiCallback<ApplicationKeyDTO> 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.applicationsApplicationIdOauthKeysKeyMappingIdRegenerateSecretPostAsync(String applicationId,
String keyMappingId,
ApiCallback<ApplicationKeyReGenerateResponseDTO> callback)
Re-generate consumer secret (asynchronously)
This operation can be used to re generate consumer secret for an application for the give key type
|
com.squareup.okhttp.Call |
ApplicationsApi.applicationsApplicationIdPutAsync(String applicationId,
ApplicationDTO body,
String ifMatch,
ApiCallback<ApplicationDTO> callback)
Update an application (asynchronously)
This operation can be used to update an application.
|
com.squareup.okhttp.Call |
ApplicationScopesApi.applicationsApplicationIdScopesGetAsync(String applicationId,
Boolean filterByUserRoles,
String ifNoneMatch,
ApiCallback<ScopeListDTO> callback)
Get scopes of application (asynchronously)
Get scopes associated with a particular application based on subscribed APIs
|
com.squareup.okhttp.Call |
ApplicationsApi.applicationsGetAsync(String groupId,
String query,
String sortBy,
String sortOrder,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<ApplicationListDTO> 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 |
ApplicationsApi.applicationsPostAsync(ApplicationDTO body,
ApiCallback<ApplicationDTO> 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 |
UsersApi.changeUserPasswordAsync(CurrentAndNewPasswordsDTO body,
ApiCallback<Void> callback)
Change the password of the user (asynchronously)
Using this operation, logged-in user can change his/her password.
|
com.squareup.okhttp.Call |
AlertConfigurationApi.deleteAlertConfigAsync(String alertType,
String configurationId,
ApiCallback<Void> callback)
Delete the selected configuration from AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
CommentsApi.deleteCommentAsync(String commentId,
String apiId,
String ifMatch,
ApiCallback<Void> callback)
Delete an API comment (asynchronously)
Remove a Comment
|
com.squareup.okhttp.Call |
ImportAndExportApplicationsApi.exportApplicationsGetAsync(String appId,
ApiCallback<File> callback)
Export details related to an Application.
|
com.squareup.okhttp.Call |
AlertConfigurationApi.getAllAlertConfigsAsync(String alertType,
ApiCallback<AlertConfigListDTO> callback)
Get all AbnormalRequestsPerMin alert configurations (asynchronously)
This operation is used to get all configurations of the AbnormalRequestsPerMin alert type.
|
com.squareup.okhttp.Call |
CommentsApi.getAllCommentsOfAPIAsync(String apiId,
String xWSO2Tenant,
Integer limit,
Integer offset,
ApiCallback<CommentListDTO> callback)
Retrieve API comments (asynchronously)
Get a list of Comments that are already added to APIs
|
com.squareup.okhttp.Call |
CommentsApi.getCommentOfAPIAsync(String commentId,
String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<CommentDTO> callback)
Get details of an API comment (asynchronously)
Get the individual comment given by a username for a certain API.
|
com.squareup.okhttp.Call |
AlertsApi.getStoreAlertTypesAsync(ApiCallback<AlertTypesListDTO> callback)
Get the list of API Store alert types.
|
com.squareup.okhttp.Call |
AlertSubscriptionsApi.getSubscribedAlertTypesAsync(ApiCallback<AlertsInfoDTO> callback)
Get the list of API Store alert types subscribed by the user.
|
com.squareup.okhttp.Call |
ApIsApi.getWSDLOfAPIAsync(String apiId,
String labelName,
String environmentName,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback<Void> callback)
Get API WSDL definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
ImportAndExportApplicationsApi.importApplicationsPostAsync(File file,
ApiCallback<ApplicationDTO> callback)
Imports an Application.
|
com.squareup.okhttp.Call |
ImportAndExportApplicationsApi.importApplicationsPutAsync(File file,
ApiCallback<ApplicationDTO> callback)
Imports an Updates an Application.
|
com.squareup.okhttp.Call |
KeyManagersCollectionApi.keyManagersGetAsync(String xWSO2Tenant,
ApiCallback<KeyManagerListDTO> callback)
Get all Key Managers (asynchronously)
Get all Key managers
|
com.squareup.okhttp.Call |
RecommendationsApi.recommendationsGetAsync(ApiCallback<RecommendationsDTO> callback)
Give API recommendations for a user (asynchronously)
This API can be used to get recommended APIs for a user who logs into the API store
|
com.squareup.okhttp.Call |
SdKsApi.sdkGenLanguagesGetAsync(ApiCallback<Void> callback)
Get a list of supported SDK languages (asynchronously)
This operation will provide a list of programming languages that are supported by the swagger codegen library for generating System Development Kits (SDKs) for APIs available in the API Manager Store
|
com.squareup.okhttp.Call |
UnifiedSearchApi.searchGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
ApiCallback<SearchResultListDTO> callback)
Retrieve/Search APIs and API Documents by content (asynchronously)
This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
|
com.squareup.okhttp.Call |
SignUpApi.selfSignupPostAsync(UserDTO body,
ApiCallback<UserDTO> callback)
Register a new user (asynchronously)
User self signup API
|
com.squareup.okhttp.Call |
SettingsApi.settingsApplicationAttributesGetAsync(String ifNoneMatch,
ApiCallback<ApplicationAttributeListDTO> callback)
Get all application attributes from configuration (asynchronously)
This operation can be used to retrieve the application attributes from configuration.
|
com.squareup.okhttp.Call |
SettingsApi.settingsGetAsync(String xWSO2Tenant,
ApiCallback<SettingsDTO> callback)
Retreive store settings (asynchronously)
Retreive store settings
|
com.squareup.okhttp.Call |
AlertSubscriptionsApi.subscribeToAlertsAsync(AlertsInfoDTO body,
ApiCallback<AlertsInfoResponseDTO> callback)
Subscribe to the selected alert types by the user.
|
com.squareup.okhttp.Call |
SubscriptionsApi.subscriptionsGetAsync(String apiId,
String applicationId,
String groupId,
String xWSO2Tenant,
Integer offset,
Integer limit,
String ifNoneMatch,
ApiCallback<SubscriptionListDTO> 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 |
SubscriptionsApi.subscriptionsMultiplePostAsync(List<SubscriptionDTO> body,
String xWSO2Tenant,
ApiCallback<List<SubscriptionDTO>> 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 |
SubscriptionsApi.subscriptionsPostAsync(SubscriptionDTO body,
String xWSO2Tenant,
ApiCallback<SubscriptionDTO> 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 |
SubscriptionsApi.subscriptionsSubscriptionIdDeleteAsync(String subscriptionId,
String ifMatch,
ApiCallback<Void> callback)
Remove a subscription (asynchronously)
This operation can be used to remove a subscription.
|
com.squareup.okhttp.Call |
SubscriptionsApi.subscriptionsSubscriptionIdGetAsync(String subscriptionId,
String ifNoneMatch,
ApiCallback<SubscriptionDTO> callback)
Get details of a subscription (asynchronously)
This operation can be used to get details of a single subscription.
|
com.squareup.okhttp.Call |
SubscriptionsApi.subscriptionsSubscriptionIdPutAsync(SubscriptionDTO body,
String subscriptionId,
String xWSO2Tenant,
ApiCallback<SubscriptionDTO> callback)
Update existing subscription (asynchronously)
This operation can be used to update a subscription providing the subscription id, api id, application Id, status and updated throttling policy tier.
|
com.squareup.okhttp.Call |
ApiMonetizationApi.subscriptionsSubscriptionIdUsageGetAsync(String subscriptionId,
ApiCallback<APIMonetizationUsageDTO> callback)
Get details of a pending invoice for a monetized subscription with metered billing.
|
com.squareup.okhttp.Call |
TagsApi.tagsGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<TagListDTO> 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 |
TenantsApi.tenantsGetAsync(String state,
Integer limit,
Integer offset,
ApiCallback<TenantListDTO> callback)
Get get tenants by state (asynchronously)
This operation is to get tenants by state
|
com.squareup.okhttp.Call |
ThrottlingPoliciesApi.throttlingPoliciesPolicyLevelGetAsync(String policyLevel,
Integer limit,
Integer offset,
String ifNoneMatch,
String xWSO2Tenant,
ApiCallback<List<ThrottlingPolicyListDTO>> callback)
Get all available throttling policies (asynchronously)
Get available Throttling Policies
|
com.squareup.okhttp.Call |
ThrottlingPoliciesApi.throttlingPoliciesPolicyLevelPolicyIdGetAsync(String policyId,
String policyLevel,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyDTO> callback)
Get details of a throttling policy (asynchronously)
This operation can be used to retrieve details of a single throttling policy by specifying the policy level and policy name.
|
com.squareup.okhttp.Call |
AlertSubscriptionsApi.unsubscribeAllAlertsAsync(ApiCallback<Void> callback)
Unsubscribe user from all the alert types.
|
Copyright © 2020 WSO2 Inc. All rights reserved.