/** * Updates an existing Paper doc with the provided content. * * * @return Uploader used to upload the request body and finish request. */ DocsUpdateUploader docsUpdate(PaperDocUpdateArgs arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getApi(), "2/paper/docs/update", arg, false, PaperDocUpdateArgs.Serializer.INSTANCE); return new DocsUpdateUploader(_uploader, this.client.getUserId()); }
/** * Creates a new Paper doc with the provided content. * * * @return Uploader used to upload the request body and finish request. */ DocsCreateUploader docsCreate(PaperDocCreateArgs arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getApi(), "2/paper/docs/create", arg, false, PaperDocCreateArgs.Serializer.INSTANCE); return new DocsCreateUploader(_uploader, this.client.getUserId()); }
/** * Create a new file with the contents provided in the request. Note that * this endpoint is part of the properties API alpha and is slightly * different from {@link DbxUserFilesRequests#upload(String)}. Do not use * this to upload a file larger than 150 MB. Instead, create an upload * session with {@link DbxUserFilesRequests#uploadSessionStart(boolean)}. * * * @return Uploader used to upload the request body and finish request. */ AlphaUploadUploader alphaUpload(CommitInfoWithProperties arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/alpha/upload", arg, false, CommitInfoWithProperties.Serializer.INSTANCE); return new AlphaUploadUploader(_uploader, this.client.getUserId()); }
/** * Append more data to an upload session. A single request should not upload * more than 150 MB. The maximum size of a file one can upload to an upload * session is 350 GB. Calls to this endpoint will count as data transport * calls for any Dropbox Business teams with a limit on the number of data * transport calls allowed per month. For more information, see the <a * href="https://www.dropbox.com/developers/reference/data-transport-limit">Data * transport limit page</a>. * * * @return Uploader used to upload the request body and finish request. */ UploadSessionAppendUploader uploadSessionAppend(UploadSessionCursor arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/upload_session/append", arg, false, UploadSessionCursor.Serializer.INSTANCE); return new UploadSessionAppendUploader(_uploader, this.client.getUserId()); }
/** * Append more data to an upload session. When the parameter close is set, * this call will close the session. A single request should not upload more * than 150 MB. The maximum size of a file one can upload to an upload * session is 350 GB. Calls to this endpoint will count as data transport * calls for any Dropbox Business teams with a limit on the number of data * transport calls allowed per month. For more information, see the <a * href="https://www.dropbox.com/developers/reference/data-transport-limit">Data * transport limit page</a>. * * * @return Uploader used to upload the request body and finish request. */ UploadSessionAppendV2Uploader uploadSessionAppendV2(UploadSessionAppendArg arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/upload_session/append_v2", arg, false, UploadSessionAppendArg.Serializer.INSTANCE); return new UploadSessionAppendV2Uploader(_uploader, this.client.getUserId()); }
/** * Create a new file with the contents provided in the request. Do not use * this to upload a file larger than 150 MB. Instead, create an upload * session with {@link DbxUserFilesRequests#uploadSessionStart(boolean)}. * Calls to this endpoint will count as data transport calls for any Dropbox * Business teams with a limit on the number of data transport calls allowed * per month. For more information, see the <a * href="https://www.dropbox.com/developers/reference/data-transport-limit">Data * transport limit page</a>. * * * @return Uploader used to upload the request body and finish request. */ UploadUploader upload(CommitInfo arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/upload", arg, false, CommitInfo.Serializer.INSTANCE); return new UploadUploader(_uploader, this.client.getUserId()); }
/** * Finish an upload session and save the uploaded data to the given file * path. A single request should not upload more than 150 MB. The maximum * size of a file one can upload to an upload session is 350 GB. Calls to * this endpoint will count as data transport calls for any Dropbox Business * teams with a limit on the number of data transport calls allowed per * month. For more information, see the <a * href="https://www.dropbox.com/developers/reference/data-transport-limit">Data * transport limit page</a>. * * * @return Uploader used to upload the request body and finish request. */ UploadSessionFinishUploader uploadSessionFinish(UploadSessionFinishArg arg) throws DbxException { HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/upload_session/finish", arg, false, UploadSessionFinishArg.Serializer.INSTANCE); return new UploadSessionFinishUploader(_uploader, this.client.getUserId()); }
HttpRequestor.Uploader _uploader = this.client.uploadStyle(this.client.getHost().getContent(), "2/files/upload_session/start", arg,