matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
188 stars 94 forks source link

Break out non-JSON request/response content types as tables #1756

Closed turt2live closed 6 months ago

turt2live commented 6 months ago

Currently we display this as a table like "image/png|image/jpeg" and description on a single line, but we're using a table. This breaks the join out to individual rows.

See /client-server-api/#get_matrixmediav3thumbnailservernamemediaid and /client-server-api/#post_matrixmediav3upload for examples.

Preview: https://pr1756--matrix-spec-previews.netlify.app

turt2live commented 6 months ago

hmm, good point on /upload: it has a request body table, but only one type 🤦 image