Skip to content

ObjectsApi uploadChunk #48

@ilseva

Description

@ilseva

Hi.
I'm trying to use ObjectsApi.uploadChunk but I think there are one problem:
in the signature it seems to need the whole file
public ApiResponse<ObjectDetails> uploadChunk(String bucketKey, String objectName, Integer contentLength, String contentRange, String sessionId, File body, String contentDisposition, String ifMatch, Authentication oauth2, Credentials credentials) throws ApiException, Exception {
but if I have to upload a chunk why do I need to pass the whole file?
I changed signature with byte[] instead of File and seems it's ok. What do you think?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions