public class ApiProductDocumentsApi extends Object
| Constructor and Description |
|---|
ApiProductDocumentsApi() |
ApiProductDocumentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DocumentDTO |
addAPIProductDocument(String apiProductId,
DocumentDTO documentDTO)
Add a New Document to an API Product
This operation can be used to add a new documentation to an API Product.
|
okhttp3.Call |
addAPIProductDocumentAsync(String apiProductId,
DocumentDTO documentDTO,
ApiCallback<DocumentDTO> _callback)
Add a New Document to an API Product (asynchronously)
This operation can be used to add a new documentation to an API Product.
|
okhttp3.Call |
addAPIProductDocumentCall(String apiProductId,
DocumentDTO documentDTO,
ApiCallback _callback)
Build call for addAPIProductDocument
|
DocumentDTO |
addAPIProductDocumentContent(String apiProductId,
String documentId,
String ifMatch,
File file,
String inlineContent)
Upload the Content of an API Product Document
Thid operation can be used to upload a file or add inline content to an API Product document.
|
okhttp3.Call |
addAPIProductDocumentContentAsync(String apiProductId,
String documentId,
String ifMatch,
File file,
String inlineContent,
ApiCallback<DocumentDTO> _callback)
Upload the Content of an API Product Document (asynchronously)
Thid operation can be used to upload a file or add inline content to an API Product document.
|
okhttp3.Call |
addAPIProductDocumentContentCall(String apiProductId,
String documentId,
String ifMatch,
File file,
String inlineContent,
ApiCallback _callback)
Build call for addAPIProductDocumentContent
|
ApiResponse<DocumentDTO> |
addAPIProductDocumentContentWithHttpInfo(String apiProductId,
String documentId,
String ifMatch,
File file,
String inlineContent)
Upload the Content of an API Product Document
Thid operation can be used to upload a file or add inline content to an API Product document.
|
ApiResponse<DocumentDTO> |
addAPIProductDocumentWithHttpInfo(String apiProductId,
DocumentDTO documentDTO)
Add a New Document to an API Product
This operation can be used to add a new documentation to an API Product.
|
void |
deleteAPIProductDocument(String apiProductId,
String documentId,
String ifMatch)
Delete a Document of an API Product
This operation can be used to delete a document associated with an API Product.
|
okhttp3.Call |
deleteAPIProductDocumentAsync(String apiProductId,
String documentId,
String ifMatch,
ApiCallback<Void> _callback)
Delete a Document of an API Product (asynchronously)
This operation can be used to delete a document associated with an API Product.
|
okhttp3.Call |
deleteAPIProductDocumentCall(String apiProductId,
String documentId,
String ifMatch,
ApiCallback _callback)
Build call for deleteAPIProductDocument
|
ApiResponse<Void> |
deleteAPIProductDocumentWithHttpInfo(String apiProductId,
String documentId,
String ifMatch)
Delete a Document of an API Product
This operation can be used to delete a document associated with an API Product.
|
ApiClient |
getApiClient() |
DocumentDTO |
getAPIProductDocument(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get a Document of an API Product
This operation can be used to retrieve a particular document's metadata associated with an API.
|
okhttp3.Call |
getAPIProductDocumentAsync(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback<DocumentDTO> _callback)
Get a Document of an API Product (asynchronously)
This operation can be used to retrieve a particular document's metadata associated with an API.
|
okhttp3.Call |
getAPIProductDocumentCall(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProductDocument
|
void |
getAPIProductDocumentContent(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get the Content of an API Product Document
This operation can be used to retrive the content of an API's document.
|
okhttp3.Call |
getAPIProductDocumentContentAsync(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback<Void> _callback)
Get the Content of an API Product Document (asynchronously)
This operation can be used to retrive the content of an API's document.
|
okhttp3.Call |
getAPIProductDocumentContentCall(String apiProductId,
String documentId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProductDocumentContent
|
ApiResponse<Void> |
getAPIProductDocumentContentWithHttpInfo(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get the Content of an API Product Document
This operation can be used to retrive the content of an API's document.
|
DocumentListDTO |
getAPIProductDocuments(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get a List of Documents of an API Product
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
okhttp3.Call |
getAPIProductDocumentsAsync(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ApiCallback<DocumentListDTO> _callback)
Get a List of Documents of an API Product (asynchronously)
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
okhttp3.Call |
getAPIProductDocumentsCall(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProductDocuments
|
ApiResponse<DocumentListDTO> |
getAPIProductDocumentsWithHttpInfo(String apiProductId,
Integer limit,
Integer offset,
String accept,
String ifNoneMatch)
Get a List of Documents of an API Product
This operation can be used to retrive a list of documents belonging to an API Product by providing the id of the API Product.
|
ApiResponse<DocumentDTO> |
getAPIProductDocumentWithHttpInfo(String apiProductId,
String documentId,
String accept,
String ifNoneMatch)
Get a Document of an API Product
This operation can be used to retrieve a particular document's metadata associated with an API.
|
void |
setApiClient(ApiClient apiClient) |
DocumentDTO |
updateAPIProductDocument(String apiProductId,
String documentId,
DocumentDTO documentDTO,
String ifMatch)
Update a Document of an API Product
This operation can be used to update metadata of an API's document.
|
okhttp3.Call |
updateAPIProductDocumentAsync(String apiProductId,
String documentId,
DocumentDTO documentDTO,
String ifMatch,
ApiCallback<DocumentDTO> _callback)
Update a Document of an API Product (asynchronously)
This operation can be used to update metadata of an API's document.
|
okhttp3.Call |
updateAPIProductDocumentCall(String apiProductId,
String documentId,
DocumentDTO documentDTO,
String ifMatch,
ApiCallback _callback)
Build call for updateAPIProductDocument
|
ApiResponse<DocumentDTO> |
updateAPIProductDocumentWithHttpInfo(String apiProductId,
String documentId,
DocumentDTO documentDTO,
String ifMatch)
Update a Document of an API Product
This operation can be used to update metadata of an API's document.
|
public ApiProductDocumentsApi()
public ApiProductDocumentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addAPIProductDocumentCall(String apiProductId, DocumentDTO documentDTO, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentDTO - Document object that needs to be added (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic DocumentDTO addAPIProductDocument(String apiProductId, DocumentDTO documentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentDTO - Document object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> addAPIProductDocumentWithHttpInfo(String apiProductId, DocumentDTO documentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentDTO - Document object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAPIProductDocumentAsync(String apiProductId, DocumentDTO documentDTO, ApiCallback<DocumentDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentDTO - Document object that needs to be added (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 objectpublic okhttp3.Call addAPIProductDocumentContentCall(String apiProductId, String documentId, String ifMatch, File file, String inlineContent, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - Document to upload (optional)inlineContent - Inline content of the document (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic DocumentDTO addAPIProductDocumentContent(String apiProductId, String documentId, String ifMatch, File file, String inlineContent) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> addAPIProductDocumentContentWithHttpInfo(String apiProductId, String documentId, String ifMatch, File file, String inlineContent) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - Document to upload (optional)inlineContent - Inline content of the document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addAPIProductDocumentContentAsync(String apiProductId, String documentId, String ifMatch, File file, String inlineContent, ApiCallback<DocumentDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)file - Document to upload (optional)inlineContent - Inline content of the document (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 okhttp3.Call deleteAPIProductDocumentCall(String apiProductId, String documentId, String ifMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteAPIProductDocument(String apiProductId, String documentId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAPIProductDocumentWithHttpInfo(String apiProductId, String documentId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAPIProductDocumentAsync(String apiProductId, String documentId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)ifMatch - Validator for conditional requests; based on ETag. (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 okhttp3.Call getAPIProductDocumentCall(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic DocumentDTO getAPIProductDocument(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> getAPIProductDocumentWithHttpInfo(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIProductDocumentAsync(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback<DocumentDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 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 okhttp3.Call getAPIProductDocumentContentCall(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getAPIProductDocumentContent(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getAPIProductDocumentContentWithHttpInfo(String apiProductId, String documentId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIProductDocumentContentAsync(String apiProductId, String documentId, String accept, String ifNoneMatch, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 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 okhttp3.Call getAPIProductDocumentsCall(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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)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 resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic DocumentListDTO getAPIProductDocuments(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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)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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentListDTO> getAPIProductDocumentsWithHttpInfo(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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)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 resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIProductDocumentsAsync(String apiProductId, Integer limit, Integer offset, String accept, String ifNoneMatch, ApiCallback<DocumentListDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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)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 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 okhttp3.Call updateAPIProductDocumentCall(String apiProductId, String documentId, DocumentDTO documentDTO, String ifMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)documentDTO - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic DocumentDTO updateAPIProductDocument(String apiProductId, String documentId, DocumentDTO documentDTO, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)documentDTO - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentDTO> updateAPIProductDocumentWithHttpInfo(String apiProductId, String documentId, DocumentDTO documentDTO, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)documentDTO - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAPIProductDocumentAsync(String apiProductId, String documentId, DocumentDTO documentDTO, String ifMatch, ApiCallback<DocumentDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)documentId - Document Identifier (required)documentDTO - Document object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (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 © 2021 WSO2 Inc. All rights reserved.