-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSC3571: Relation aggregation pagination #3571
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,129 @@ | |||
# MSC3571: Aggregation pagination | |||
|
|||
MSC 2675 introduced aggregating relations on the server. The goal of bundled aggregations is to be more bandwidth efficient. For relations that aggregate to an array with many entries, we might actually end up sending too much data still when bundling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We write MSC numbers without a space between the "MSC" and the number. Also, please wrap your lines.
|
||
This MSC proposes a pagination mechanism for aggregations so we don't need to bundle all entries for array aggregations. | ||
|
||
Both MSC 2677 and MSC MSC 3267 would benefit from the pagination mechanism, hence proposing it in a separate MSC rather than including it in either of those. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSC2677 ended up not including an aggregation.
The `/aggregations` API lets you iterate over aggregations for the relations | ||
of a given event. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The /aggregation
endpoint ended up not landing.
Rendered
Preview: https://pr3571--matrix-org-previews.netlify.app