public class DocumentsApi extends Object
| Constructor and Description |
|---|
DocumentsApi() |
DocumentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DocumentDTO |
apisApiIdDocumentsDocumentIdGet(String apiId,
String documentId,
String xWSO2Tenant,
String ifNoneMatch)
Get a document of an API
This operation can be used to retrieve a particular document's metadata associated with an API.
|
com.squareup.okhttp.Call |
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 |
apisApiIdDocumentsDocumentIdGetCall(String apiId,
String documentId,
String xWSO2Tenant,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdGet
|
ApiResponse<DocumentDTO> |
apisApiIdDocumentsDocumentIdGetWithHttpInfo(String apiId,
String documentId,
String xWSO2Tenant,
String ifNoneMatch)
Get a document of an API
This operation can be used to retrieve a particular document's metadata associated with an API.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public DocumentsApi()
public DocumentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdDocumentsDocumentIdGetCall(String apiId, String documentId, String xWSO2Tenant, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)documentId - Document Identifier (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)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 DocumentDTO apisApiIdDocumentsDocumentIdGet(String apiId, String documentId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)documentId - Document Identifier (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)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<DocumentDTO> apisApiIdDocumentsDocumentIdGetWithHttpInfo(String apiId, String documentId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)documentId - Document Identifier (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)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 apisApiIdDocumentsDocumentIdGetAsync(String apiId, String documentId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<DocumentDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)documentId - Document Identifier (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)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 objectCopyright © 2020 WSO2 Inc. All rights reserved.