Skip to content

Add TokenPagination field to ListEgress API and RPC#1556

Open
biglittlebigben wants to merge 4 commits into
mainfrom
benjamin/list_egress_pagination
Open

Add TokenPagination field to ListEgress API and RPC#1556
biglittlebigben wants to merge 4 commits into
mainfrom
benjamin/list_egress_pagination

Conversation

@biglittlebigben
Copy link
Copy Markdown
Contributor

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 13, 2026

🦋 Changeset detected

Latest commit: d9e5710

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@livekit/protocol Patch
github.com/livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Add TokenPagination field to enhance ListEgress functionality.
string room_name = 1; // (optional, filter by room name)
string egress_id = 2 [(logger.name) = "egressID"]; // (optional, filter by egress ID)
bool active = 3; // (optional, list active egress only)
TokenPagination page_token = 4;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably want Pagination unless we don't want to allow users to set limit lower than the default

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ingress is using TokenPagination for the same purpose. I believe we've been leaning towards TokenPagination in most APIs recently to keep the token anonymous, which allows us to change its semantics more easily. The exception would be if there is a reason to allow the caller to define offsets or page sizes other than the default. I don't believe there is a strong incentive to do this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants