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

Allow fetching all room state events of a given type #6908

Closed
@ulope

Description

@ulope

Related to: matrix-org/matrix-spec-proposals#3675

Requested Feature

Please add an endpoint to query room state events of a given type without having to give a state key as well.

Background

There already exists the GET /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey} endpoint which allows fetching specific eventTypes for a room where the stateKey is known.

One use case where the stateKey is (in the general case) not knowable is fetching room aliases. Therefore it's currently necessary to use the generic GET /_matrix/client/r0/rooms/{roomId}/state/ endpoint which can produce quite large responses for big rooms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions