Missing type
parameter on /thumbnail
endpoint
#1414
Labels
spec-bug
Something which is in the spec, but is wrong
type
parameter on /thumbnail
endpoint
#1414
Link to problem area: https://spec.matrix.org/v1.5/client-server-api/#get_matrixmediav3thumbnailservernamemediaid
Issue
Synapse supports a
type
parameter (which defaults toimage/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?The text was updated successfully, but these errors were encountered: