public class APICollectionApi extends Object
| Constructor and Description |
|---|
APICollectionApi() |
APICollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIList |
apisGet(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search APIs
This operation provides you a list of available APIs qualifying under a given search condition.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<APIList> |
apisGetWithHttpInfo(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search APIs
This operation provides you a list of available APIs qualifying under a given search condition.
|
void |
apisHead(String query,
String accept,
String ifNoneMatch)
Check given API attibute name is already exist
Using this operation, you can check a given API context is already used.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<Void> |
apisHeadWithHttpInfo(String query,
String accept,
String ifNoneMatch)
Check given API attibute name is already exist
Using this operation, you can check a given API context is already used.
|
API |
apisPost(API body,
String contentType)
Create a new API
This operation can be used to create a new API specifying the details of the API in the payload.
|
com.squareup.okhttp.Call |
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.
|
ApiResponse<API> |
apisPostWithHttpInfo(API body,
String contentType)
Create a new API
This operation can be used to create a new API specifying the details of the API in the payload.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public APICollectionApi()
public APICollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public APIList apisGet(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIList> apisGetWithHttpInfo(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisGetAsync(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback<APIList> callback) throws ApiException
limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (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 apisHead(String query, String accept, String ifNoneMatch) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisHeadWithHttpInfo(String query, String accept, String ifNoneMatch) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisHeadAsync(String query, String accept, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an API if the provider of the API is exactly \"wso2\". Additionally you can use wildcards. Eg. \"provider:wso2*\" will match an API if the provider of the API starts with \"wso2\". Supported attribute modifiers are [**version, context, lifeCycleStatus, description, subcontext, doc, provider**] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (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 resourec. (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 API apisPost(API body, String contentType) throws ApiException
body - API object that needs to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<API> apisPostWithHttpInfo(API body, String contentType) throws ApiException
body - API object that needs to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisPostAsync(API body, String contentType, ApiCallback<API> callback) throws ApiException
body - API object that needs to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)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 © 2017 WSO2. All rights reserved.