Package io.lakefs.clients.api
Class ExperimentalApi
- java.lang.Object
-
- io.lakefs.clients.api.ExperimentalApi
-
public class ExperimentalApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ExperimentalApi()ExperimentalApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortPresignMultipartUpload(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload)Abort a presign multipart upload Aborts a presign multipart upload.okhttp3.CallabortPresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, ApiCallback<Void> _callback)Abort a presign multipart upload (asynchronously) Aborts a presign multipart upload.okhttp3.CallabortPresignMultipartUploadCall(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, ApiCallback _callback)Build call for abortPresignMultipartUploadApiResponse<Void>abortPresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload)Abort a presign multipart upload Aborts a presign multipart upload.ObjectStatscompletePresignMultipartUpload(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload)Complete a presign multipart upload request Completes a presign multipart upload by assembling the uploaded parts.okhttp3.CallcompletePresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, ApiCallback<ObjectStats> _callback)Complete a presign multipart upload request (asynchronously) Completes a presign multipart upload by assembling the uploaded parts.okhttp3.CallcompletePresignMultipartUploadCall(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, ApiCallback _callback)Build call for completePresignMultipartUploadApiResponse<ObjectStats>completePresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload)Complete a presign multipart upload request Completes a presign multipart upload by assembling the uploaded parts.PresignMultipartUploadcreatePresignMultipartUpload(String repository, String branch, String path, Integer parts)Initiate a multipart upload Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional).okhttp3.CallcreatePresignMultipartUploadAsync(String repository, String branch, String path, Integer parts, ApiCallback<PresignMultipartUpload> _callback)Initiate a multipart upload (asynchronously) Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional).okhttp3.CallcreatePresignMultipartUploadCall(String repository, String branch, String path, Integer parts, ApiCallback _callback)Build call for createPresignMultipartUploadApiResponse<PresignMultipartUpload>createPresignMultipartUploadWithHttpInfo(String repository, String branch, String path, Integer parts)Initiate a multipart upload Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional).ApiClientgetApiClient()voidhardResetBranch(String repository, String branch, String ref, Boolean force)hard reset branch Relocate branch to refer to ref.okhttp3.CallhardResetBranchAsync(String repository, String branch, String ref, Boolean force, ApiCallback<Void> _callback)hard reset branch (asynchronously) Relocate branch to refer to ref.okhttp3.CallhardResetBranchCall(String repository, String branch, String ref, Boolean force, ApiCallback _callback)Build call for hardResetBranchApiResponse<Void>hardResetBranchWithHttpInfo(String repository, String branch, String ref, Boolean force)hard reset branch Relocate branch to refer to ref.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ExperimentalApi
public ExperimentalApi()
-
ExperimentalApi
public ExperimentalApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
abortPresignMultipartUploadCall
public okhttp3.Call abortPresignMultipartUploadCall(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, ApiCallback _callback) throws ApiException
Build call for abortPresignMultipartUpload- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)abortPresignMultipartUpload- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 Presign multipart upload aborted - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
abortPresignMultipartUpload
public void abortPresignMultipartUpload(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload) throws ApiException
Abort a presign multipart upload Aborts a presign multipart upload.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)abortPresignMultipartUpload- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 Presign multipart upload aborted - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
abortPresignMultipartUploadWithHttpInfo
public ApiResponse<Void> abortPresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload) throws ApiException
Abort a presign multipart upload Aborts a presign multipart upload.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)abortPresignMultipartUpload- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 Presign multipart upload aborted - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
abortPresignMultipartUploadAsync
public okhttp3.Call abortPresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, ApiCallback<Void> _callback) throws ApiException
Abort a presign multipart upload (asynchronously) Aborts a presign multipart upload.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)abortPresignMultipartUpload- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 Presign multipart upload aborted - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
completePresignMultipartUploadCall
public okhttp3.Call completePresignMultipartUploadCall(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, ApiCallback _callback) throws ApiException
Build call for completePresignMultipartUpload- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)completePresignMultipartUpload- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Presign multipart upload completed - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 409 conflict with a commit, try here - 420 too many requests - 0 Internal Server Error -
-
completePresignMultipartUpload
public ObjectStats completePresignMultipartUpload(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload) throws ApiException
Complete a presign multipart upload request Completes a presign multipart upload by assembling the uploaded parts.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)completePresignMultipartUpload- (optional)- Returns:
- ObjectStats
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Presign multipart upload completed - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 409 conflict with a commit, try here - 420 too many requests - 0 Internal Server Error -
-
completePresignMultipartUploadWithHttpInfo
public ApiResponse<ObjectStats> completePresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload) throws ApiException
Complete a presign multipart upload request Completes a presign multipart upload by assembling the uploaded parts.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)completePresignMultipartUpload- (optional)- Returns:
- ApiResponse<ObjectStats>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Presign multipart upload completed - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 409 conflict with a commit, try here - 420 too many requests - 0 Internal Server Error -
-
completePresignMultipartUploadAsync
public okhttp3.Call completePresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, ApiCallback<ObjectStats> _callback) throws ApiException
Complete a presign multipart upload request (asynchronously) Completes a presign multipart upload by assembling the uploaded parts.- Parameters:
repository- (required)branch- (required)uploadId- (required)path- relative to the branch (required)completePresignMultipartUpload- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Presign multipart upload completed - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 409 conflict with a commit, try here - 420 too many requests - 0 Internal Server Error -
-
createPresignMultipartUploadCall
public okhttp3.Call createPresignMultipartUploadCall(String repository, String branch, String path, Integer parts, ApiCallback _callback) throws ApiException
Build call for createPresignMultipartUpload- Parameters:
repository- (required)branch- (required)path- relative to the branch (required)parts- number of presigned URL parts required to upload (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Presign multipart upload initiated - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
createPresignMultipartUpload
public PresignMultipartUpload createPresignMultipartUpload(String repository, String branch, String path, Integer parts) throws ApiException
Initiate a multipart upload Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part).- Parameters:
repository- (required)branch- (required)path- relative to the branch (required)parts- number of presigned URL parts required to upload (optional)- Returns:
- PresignMultipartUpload
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Presign multipart upload initiated - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
createPresignMultipartUploadWithHttpInfo
public ApiResponse<PresignMultipartUpload> createPresignMultipartUploadWithHttpInfo(String repository, String branch, String path, Integer parts) throws ApiException
Initiate a multipart upload Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part).- Parameters:
repository- (required)branch- (required)path- relative to the branch (required)parts- number of presigned URL parts required to upload (optional)- Returns:
- ApiResponse<PresignMultipartUpload>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Presign multipart upload initiated - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
createPresignMultipartUploadAsync
public okhttp3.Call createPresignMultipartUploadAsync(String repository, String branch, String path, Integer parts, ApiCallback<PresignMultipartUpload> _callback) throws ApiException
Initiate a multipart upload (asynchronously) Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part).- Parameters:
repository- (required)branch- (required)path- relative to the branch (required)parts- number of presigned URL parts required to upload (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Presign multipart upload initiated - 400 Bad Request - 401 Unauthorized - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
hardResetBranchCall
public okhttp3.Call hardResetBranchCall(String repository, String branch, String ref, Boolean force, ApiCallback _callback) throws ApiException
Build call for hardResetBranch- Parameters:
repository- (required)branch- (required)ref- After reset, branch will point at this reference. (required)force- (optional, default to false)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 reset successful - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
hardResetBranch
public void hardResetBranch(String repository, String branch, String ref, Boolean force) throws ApiException
hard reset branch Relocate branch to refer to ref. Branch must not contain uncommitted data.- Parameters:
repository- (required)branch- (required)ref- After reset, branch will point at this reference. (required)force- (optional, default to false)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 reset successful - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
hardResetBranchWithHttpInfo
public ApiResponse<Void> hardResetBranchWithHttpInfo(String repository, String branch, String ref, Boolean force) throws ApiException
hard reset branch Relocate branch to refer to ref. Branch must not contain uncommitted data.- Parameters:
repository- (required)branch- (required)ref- After reset, branch will point at this reference. (required)force- (optional, default to false)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 reset successful - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
hardResetBranchAsync
public okhttp3.Call hardResetBranchAsync(String repository, String branch, String ref, Boolean force, ApiCallback<Void> _callback) throws ApiException
hard reset branch (asynchronously) Relocate branch to refer to ref. Branch must not contain uncommitted data.- Parameters:
repository- (required)branch- (required)ref- After reset, branch will point at this reference. (required)force- (optional, default to false)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 reset successful - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Resource Not Found - 420 too many requests - 0 Internal Server Error -
-
-