Docs: show a v2 channel export JSONL example and reconcile batch limits

オープン 初心者向け
#329 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
openapi, python
領域
documentation

調査の方向性

リンクされた Python エクスポートガイドから始め、リポジトリのドキュメント内でそのソースを特定する。payload はファイル名を示していない。Chat OpenAPI スキーマの ExportChannelsRequest.channels を読み、maxItems をガイドの 25 チャネル制限と比較する。完了とは、ガイドが channel、member、message、reaction の行に対する最小限の v2 JSONL 例をリンク用 id 付きで示し、soft-deleted/truncated フィールドと順序保証を文書化し、ルートごとの正しいバッチ制限を記載している状態を指す。

索引モデルが issue の本文から書いたものです。

説明

Could the Python channel export guide include a small synthetic v2 JSONL result and clarify the supported batch size? We used the guide to implement a restore and had to inspect completed exports to learn what each line represents.

  • File format. The guide describes one entity per line. In completed Chat exports with version="v2", we observed a type discriminator and an item object for channel, member, message and reaction rows. A minimal example with the identifiers that link a reaction to its message and a member to its channel would make it possible to implement a parser. Please indicate which row types are guaranteed or optional and whether consumers can rely on any ordering.
  • Deleted records. For include_soft_deleted_channels and include_truncated_messages, please describe what happens to soft-deleted messages and retained fields. A tombstone example alongside a live message would help consumers preserve deletion on restore.
  • Batch size. The guide gives a maximum of 25 channels per request. The published Chat OpenAPI schema for ExportChannelsRequest.channels says maxItems: 100. Which limit should an SDK caller use? If the legacy and v2 HTTP routes have different limits, please identify each. We have not tested above the documented 25.

Python export guide · Chat OpenAPI schema, search for ExportChannelsRequest

主要言語
Python
スター
25
フォーク
16
平均マージ
20時間 8分
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GetStream/stream-py のほかの issue

GetStream/stream-py の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。