larksuite / larksuite/oapi-sdk-java

原生审批缺少文件上传接口

Open
#75 4 comments 2 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

当审批表单中有图片或附件控件时,开发者需在创建审批实例前通过审批上传文件接口将文件上传到审批系统,且附件上传大小限制为50M,图片上传大小为10M。

请求
HTTP URL https://www.feishu.cn/approval/openapi/v2/file/upload
HTTP Method POST
支持的应用类型 自建应用、商店应用
权限要求 访问审批应用

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 by locating the approval API entry points in the Java SDK and compare their request patterns with the POST endpoint at https://www.feishu.cn/approval/openapi/v2/file/upload. Check how the SDK handles self-built and marketplace applications, then verify that the upload request accepts the stated file and image size limits and can be used before creating an approval instance.

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
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.