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 accept,
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 accept,
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.
|
ApiResponse<Void> |
apisApiIdDocumentsDocumentIdContentGetWithHttpInfo(String apiId,
String documentId,
String accept,
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,
String contentType,
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,
String contentType,
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.
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdContentPostWithHttpInfo(String apiId,
String documentId,
String contentType,
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.
|
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 accept,
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 accept,
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.
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdGetWithHttpInfo(String apiId,
String documentId,
String accept,
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 contentType,
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 contentType,
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.
|
ApiResponse<Document> |
apisApiIdDocumentsDocumentIdPutWithHttpInfo(String apiId,
String documentId,
Document body,
String contentType,
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 void apisApiIdDocumentsDocumentIdContentGet(String apiId, String documentId, String accept, 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)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)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 accept, 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)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)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 accept, 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)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)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 Document apisApiIdDocumentsDocumentIdContentPost(String apiId, String documentId, String contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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, String contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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, String contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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 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 Document apisApiIdDocumentsDocumentIdGet(String apiId, String documentId, String accept, 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)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)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 accept, 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)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)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 accept, 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)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)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 Document apisApiIdDocumentsDocumentIdPut(String apiId, String documentId, Document body, String contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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 contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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 contentType, 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)contentType - Media type of the entity in the body. Default is application/json. (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 © 2017 WSO2. All rights reserved.