[Feature] Bitable inline/record comments not returned by drive comments API — with malformed response

Aperta
#2,837 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
api, backend

Direzione di ricerca

Start by reading the CLI implementation for +list-comments and its drive v1 comments API request and response handling. Reproduce the empty response with has_more=true and page_token="0", then determine whether record comments are available through an existing API. Done means the supported API or CLI path returns record comments with their table and record IDs, and pagination terminates correctly for an empty result.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

domain/base enhancement

环境:lark-cli 1.0.98 / drive v1 comments API / file_type=bitable

现象:
GET /open-apis/drive/v1/files/{app_token}/comments?file_type=bitable
对一个确定存在「行内评论(记录评论)」的多维表格返回:
{ "count": 0, "items": [], "has_more": true, "page_token": "0" }
(空集却 has_more=true,翻页死循环;lark-cli +list-comments 同样结果)

问题:

  1. 行内(记录级)评论不在返回范围——云文档评论 API 只覆盖全局评论。
    AI 自动化场景(缺陷单看板处理)需要程序化读取记录评论及其定位
    (table_id / record_id),目前只能人工截图。
  2. 空结果时 has_more=true + page_token="0" 属畸形响应,建议修正。

期望:

  • 方案 A:file.comments 返回行内评论并附带 extra(table_id/record_id);
  • 方案 B:新增「记录评论」API(bitable v1 records/{id}/comments);
  • lark-cli 侧:+list-comments 支持(或新增 +record-comments)。
Lingua principale
Go
Stelle
18.2k
Fork
1.4k
Merge medio
1g 3h
PR unite (30g)
18

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di larksuite/cli

Tutte le issue di larksuite/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.