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

missing room_type in /_synapse/admin/v1/rooms/ API endpoint #12692

Closed
airblag opened this issue May 10, 2022 · 1 comment
Closed

missing room_type in /_synapse/admin/v1/rooms/ API endpoint #12692

airblag opened this issue May 10, 2022 · 1 comment

Comments

@airblag
Copy link

airblag commented May 10, 2022

I'm writting synapse admin tool to manage my homeserver. I wanted to add a subcommand for managing spaces, but as far as I searched, I cannot find any endpoint giving me a list of local rooms with room_type == m.space or any direct endpoint for dealing with spaces.

The endpoint /_synapse/admin/v1/rooms/ that I use to retrieve a room list is not returning room_type in the json.

It would be really helpfull to get it, to be able to identify spaces on a local home server.
Since spaces are just special rooms, I think it this way would be good enough to allow administrative interaction with spaces.

@clokep
Copy link
Member

clokep commented May 10, 2022

I think this is essentially a duplicate of #11904.

@clokep clokep closed this as completed May 10, 2022
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

2 participants