Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Implement a "room complexity" API to signal to other homeservers how complex a room is #5069

Closed
hawkowl opened this issue Apr 16, 2019 · 6 comments
Assignees

Comments

@hawkowl
Copy link
Contributor

hawkowl commented Apr 16, 2019

_matrix/federation/unstable/rooms/<room_id>/complexity, or so. Returns a "complexity metric", which is right now state_events / 500.

@hawkowl hawkowl self-assigned this Apr 16, 2019
@jcgruenhage
Copy link
Contributor

It has been suggested in #test:zemos.net to instead extend GET /_matrix/federation/v1/query/{queryType} with a new queryType called room_summary. I think this would be more consistent with the rest of the spec.

@Half-Shot
Copy link
Collaborator

Half-Shot commented Apr 17, 2019

(this probably needs a companion matrix-doc issue at the very least, and ideally a spec proposal)

EDIT: This is https://github.com/matrix-org/matrix-doc/issues/467

@jcgruenhage
Copy link
Contributor

jcgruenhage commented Apr 18, 2019

@Half-Shot I don't think this is exactly the matrix-doc issue you linked, that is more a generic thing.

@Half-Shot
Copy link
Collaborator

Hmm probably right.

@hawkowl
Copy link
Contributor Author

hawkowl commented Apr 18, 2019

Right now I'm putting this in the unstable namespace, as an experiment to see if it gets the desirable user experience. If it works, I think moving it into that spec'd API, post-r0, is where that'll end up.

@ara4n
Copy link
Member

ara4n commented Jun 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants