public class APIIndividualApi extends Object
| Constructor and Description |
|---|
APIIndividualApi() |
APIIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
API |
apisApiIdGet(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant)
Get details of an API
Using this operation, you can retrieve complete details of a single API.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<API> |
apisApiIdGetWithHttpInfo(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant)
Get details of an API
Using this operation, you can retrieve complete details of a single API.
|
void |
apisApiIdSwaggerGet(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant)
Get swagger definition
You can use this operation to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<Void> |
apisApiIdSwaggerGetWithHttpInfo(String apiId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
String xWSO2Tenant)
Get swagger definition
You can use this operation to retrieve the swagger definition of an API.
|
void |
apisApiIdThumbnailGet(String apiId,
String xWSO2Tenant,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get thumbnail image
This operation can be used to download a thumbnail image of an API.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<Void> |
apisApiIdThumbnailGetWithHttpInfo(String apiId,
String xWSO2Tenant,
String accept,
String ifNoneMatch,
String ifModifiedSince)
Get thumbnail image
This operation can be used to download a thumbnail image of an API.
|
void |
apisGenerateSdkPost(String apiId,
String language,
String xWSO2Tenant)
Generate SDK for an API
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 |
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.
|
ApiResponse<Void> |
apisGenerateSdkPostWithHttpInfo(String apiId,
String language,
String xWSO2Tenant)
Generate SDK for an API
This operation can be used to generate SDK for an API by providing the id of the API along with the preferred language.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public APIIndividualApi()
public APIIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public API apisApiIdGet(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<API> apisApiIdGetWithHttpInfo(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdGetAsync(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant, ApiCallback<API> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void apisApiIdSwaggerGet(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdSwaggerGetWithHttpInfo(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdSwaggerGetAsync(String apiId, String accept, String ifNoneMatch, String ifModifiedSince, String xWSO2Tenant, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void apisApiIdThumbnailGet(String apiId, String xWSO2Tenant, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdThumbnailGetWithHttpInfo(String apiId, String xWSO2Tenant, String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdThumbnailGetAsync(String apiId, String xWSO2Tenant, String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API ID. Should be formatted as **provider-name-version**. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic void apisGenerateSdkPost(String apiId, String language, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)language - Programming language to generate SDK. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisGenerateSdkPostWithHttpInfo(String apiId, String language, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)language - Programming language to generate SDK. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisGenerateSdkPostAsync(String apiId, String language, String xWSO2Tenant, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)language - Programming language to generate SDK. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2018 WSO2 Inc. All rights reserved.