Docs: show a v2 channel export JSONL example and reconcile batch limits
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- openapi, python
- Domain
- documentation
Research direction
Start from the linked Python export guide and locate its source in the repository docs; the payload does not name the file. Read ExportChannelsRequest.channels in the Chat OpenAPI schema to compare maxItems with the guide's 25-channel limit. Done means the guide shows a minimal v2 JSONL example for channel, member, message and reaction rows with linking ids, documents soft-deleted/truncated fields and ordering guarantees, and states the correct batch limit per route.
Written by the indexing model from the issue text.
Description
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 atypediscriminator and anitemobject 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_channelsandinclude_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.channelssaysmaxItems: 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
- Dominant language
- Python
- Stars
- 25
- Forks
- 16
- Avg merge
- 20h 8m
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GetStream/stream-py
-
Difficulty 3/5 1-2 days Newbie friendliness 40/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
GetStream/stream-py#293 · 39 comments ·
Maintainers usually reply within 1 day
-
RuntimeError: generator didn't yield in telemetry wrapper with Python 3.12.10+ (getstream 2.5.x)Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
GetStream/stream-py#161 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
All issues in GetStream/stream-py
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
NatLabRockies/openstudio-mcp#286 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
intersystems/ipm#1338 ·
Maintainers usually reply within 1 day
-
separate_packages splits imports from the same explicitly configured packagePossibly taken @rahul05ranjan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionOpenv1
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day