Skip to content

Federated media multipart/mixed JSON object shouldn't be required to be empty #1952

@f0x52

Description

@f0x52

Link to problem area:

and describes the media's metadata, if any. Currently, this will
always be an empty object.

https://spec.matrix.org/v1.11/server-server-api/#get_matrixfederationv1mediadownloadmediaid

Issue
MSC3916 point 4 describes the federated multipart/mixed media metadata JSON object as

No properties are yet specified for the JSON object to be returned. One possible use is described by matrix-org/matrix-spec-proposals#3911.

However the spec entry just says 'Currently, this always be an empty object.'

Expected behaviour
Either mention that there are currently no standard fields for the object in spec, or have an explanation similar to other areas in the spec where objects are allowed extending with keys that follow Java package naming convention.
afaik current server implementations already just parse the JSON object but don't enforce it to be empty.

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