Skip to content

Missing type parameter on /thumbnail endpoint #1414

@clokep

Description

@clokep

Link to problem area: https://spec.matrix.org/v1.5/client-server-api/#get_matrixmediav3thumbnailservernamemediaid

Issue
Synapse supports a type parameter (which defaults to image/png if not provided), this is not in the spec, but has existed since this endpoint has.

matrix-media-repo does not seem to support this.

Dendrite does not seem to support this either, although declares it uses a similar algorithm to Synapse to find thumbnails.

Expected behaviour
Add the type parameter, as documented above.

As an aside, @Half-Shot rightly pointed out that this is what Accept headers are for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-bugSomething which is in the spec, but is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions