public class DocumentCollectionApi extends Object
| Constructor and Description |
|---|
DocumentCollectionApi() |
DocumentCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DocumentList |
apisApiIdDocumentsGet(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch)
Get a list of documents of an API
This operation can be used to retrieve a list of documents belonging to an API by providing the id of the API.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsGetAsync(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<DocumentList> callback)
Get a list of documents of an API (asynchronously)
This operation can be used to retrieve a list of documents belonging to an API by providing the id of the API.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsGetCall(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsGet
|
ApiResponse<DocumentList> |
apisApiIdDocumentsGetWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch)
Get a list of documents of an API
This operation can be used to retrieve a list of documents belonging to an API by providing the id of the API.
|
Document |
apisApiIdDocumentsPost(String apiId,
Document body,
String ifMatch,
String ifUnmodifiedSince)
Add a new document to an API
This operation can be used to add a new documentation to an API.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsPostAsync(String apiId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
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 |
apisApiIdDocumentsPostCall(String apiId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsPost
|
ApiResponse<Document> |
apisApiIdDocumentsPostWithHttpInfo(String apiId,
Document body,
String ifMatch,
String ifUnmodifiedSince)
Add a new document to an API
This operation can be used to add a new documentation to an API.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public DocumentCollectionApi()
public DocumentCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdDocumentsGetCall(String apiId, Integer limit, Integer offset, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)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)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DocumentList apisApiIdDocumentsGet(String apiId, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)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)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<DocumentList> apisApiIdDocumentsGetWithHttpInfo(String apiId, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)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)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 apisApiIdDocumentsGetAsync(String apiId, Integer limit, Integer offset, String ifNoneMatch, ApiCallback<DocumentList> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)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)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 com.squareup.okhttp.Call apisApiIdDocumentsPostCall(String apiId, Document body, String ifMatch, String ifUnmodifiedSince, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Document apisApiIdDocumentsPost(String apiId, Document body, String ifMatch, String ifUnmodifiedSince) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Document> apisApiIdDocumentsPostWithHttpInfo(String apiId, Document body, String ifMatch, String ifUnmodifiedSince) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdDocumentsPostAsync(String apiId, Document body, String ifMatch, String ifUnmodifiedSince, ApiCallback<Document> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. 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)body - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ifUnmodifiedSince - Validator for conditional requests; based on Last Modified header. (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. All rights reserved.