public class DocumentIndividualApi extends Object
| Constructor and Description |
|---|
DocumentIndividualApi() |
DocumentIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
apisApiIdDocumentsDocumentIdContentGet(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince)
Get the content of an API document
This operation can be used to retrive the content of an API's document.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdContentGetAsync(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince,
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 |
apisApiIdDocumentsDocumentIdContentGetCall(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdContentGet
|
ApiResponse<Void> |
apisApiIdDocumentsDocumentIdContentGetWithHttpInfo(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince)
Get the content of an API document
This operation can be used to retrive the content of an API's document.
|
Document |
apisApiIdDocumentsDocumentIdContentPost(String apiId,
String documentId,
File file,
String inlineContent,
String ifMatch,
String ifUnmodifiedSince)
Upload the content of an API document
Thid operation can be used to upload a file or add inline content to an API document.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdContentPostAsync(String apiId,
String documentId,
File file,
String inlineContent,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Document> callback)
Upload the content of an API document (asynchronously)
Thid operation can be used to upload a file or add inline content to an API document.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdContentPostCall(String apiId,
String documentId,
File file,
String inlineContent,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdContentPost
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdContentPostWithHttpInfo(String apiId,
String documentId,
File file,
String inlineContent,
String ifMatch,
String ifUnmodifiedSince)
Upload the content of an API document
Thid operation can be used to upload a file or add inline content to an API document.
|
void |
apisApiIdDocumentsDocumentIdDelete(String apiId,
String documentId,
String ifMatch,
String ifUnmodifiedSince)
Delete a document of an API
This operation can be used to delete a document associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdDeleteAsync(String apiId,
String documentId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a document of an API (asynchronously)
This operation can be used to delete a document associated with an API.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdDeleteCall(String apiId,
String documentId,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdDelete
|
ApiResponse<Void> |
apisApiIdDocumentsDocumentIdDeleteWithHttpInfo(String apiId,
String documentId,
String ifMatch,
String ifUnmodifiedSince)
Delete a document of an API
This operation can be used to delete a document associated with an API.
|
Document |
apisApiIdDocumentsDocumentIdGet(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince)
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 ifNoneMatch,
String ifModifiedSince,
ApiCallback<Document> 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 ifNoneMatch,
String ifModifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdGet
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdGetWithHttpInfo(String apiId,
String documentId,
String ifNoneMatch,
String ifModifiedSince)
Get a document of an API
This operation can be used to retrieve a particular document's metadata associated with an API.
|
Document |
apisApiIdDocumentsDocumentIdPut(String apiId,
String documentId,
Document body,
String ifMatch,
String ifUnmodifiedSince)
Update a document of an API
This operation can be used to update metadata of an API's document.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdPutAsync(String apiId,
String documentId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Document> callback)
Update a document of an API (asynchronously)
This operation can be used to update metadata of an API's document.
|
com.squareup.okhttp.Call |
apisApiIdDocumentsDocumentIdPutCall(String apiId,
String documentId,
Document body,
String ifMatch,
String ifUnmodifiedSince,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDocumentsDocumentIdPut
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdPutWithHttpInfo(String apiId,
String documentId,
Document body,
String ifMatch,
String ifUnmodifiedSince)
Update a document of an API
This operation can be used to update metadata of an API's document.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public DocumentIndividualApi()
public DocumentIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdDocumentsDocumentIdContentGetCall(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince, 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdDocumentsDocumentIdContentGet(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince) 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdDocumentsDocumentIdContentGetWithHttpInfo(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince) 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdDocumentsDocumentIdContentGetAsync(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince, ApiCallback<Void> 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (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 apisApiIdDocumentsDocumentIdContentPostCall(String apiId, String documentId, File file, String inlineContent, 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)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)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 apisApiIdDocumentsDocumentIdContentPost(String apiId, String documentId, File file, String inlineContent, 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)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)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> apisApiIdDocumentsDocumentIdContentPostWithHttpInfo(String apiId, String documentId, File file, String inlineContent, 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)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)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 apisApiIdDocumentsDocumentIdContentPostAsync(String apiId, String documentId, File file, String inlineContent, 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)documentId - Document Identifier (required)file - Document to upload (optional)inlineContent - Inline content of the document (optional)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 objectpublic com.squareup.okhttp.Call apisApiIdDocumentsDocumentIdDeleteCall(String apiId, String documentId, 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)documentId - Document Identifier (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 void apisApiIdDocumentsDocumentIdDelete(String apiId, String documentId, 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)documentId - Document Identifier (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<Void> apisApiIdDocumentsDocumentIdDeleteWithHttpInfo(String apiId, String documentId, 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)documentId - Document Identifier (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 apisApiIdDocumentsDocumentIdDeleteAsync(String apiId, String documentId, String ifMatch, String ifUnmodifiedSince, ApiCallback<Void> 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)documentId - Document Identifier (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 objectpublic com.squareup.okhttp.Call apisApiIdDocumentsDocumentIdGetCall(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince, 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Document apisApiIdDocumentsDocumentIdGet(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince) 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Document> apisApiIdDocumentsDocumentIdGetWithHttpInfo(String apiId, String documentId, String ifNoneMatch, String ifModifiedSince) 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (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 ifNoneMatch, String ifModifiedSince, 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)documentId - Document Identifier (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. (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 apisApiIdDocumentsDocumentIdPutCall(String apiId, String documentId, 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)documentId - Document Identifier (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 apisApiIdDocumentsDocumentIdPut(String apiId, String documentId, 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)documentId - Document Identifier (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> apisApiIdDocumentsDocumentIdPutWithHttpInfo(String apiId, String documentId, 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)documentId - Document Identifier (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 apisApiIdDocumentsDocumentIdPutAsync(String apiId, String documentId, 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)documentId - Document Identifier (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.