larksuite / larksuite/oapi-sdk-java

素材文件上传,建议调整File参数

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
310
Forks
115
PR merge metrics
No merged PRs in 30d

Description

com.lark.oapi.service.drive.v1.model.UploadAllMediaReqBody#file参数,使用上限制太死板,建议增加 InputStream 或者 byte[] 类型的文件参数,现在上传一个内存中的内容,还得先生成一个文件

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with com.lark.oapi.service.drive.v1.model.UploadAllMediaReqBody#file and trace how this request is consumed for uploads. Confirm how an in-memory InputStream or byte[] can be accepted alongside the current file parameter, then verify that in-memory content uploads without first creating a file.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.