matrix-org / matrix-org/matrix-spec

Inconsistent references to EventContent in /sync spec

Open
#537 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Client-Server clarification
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

In various places in the /sync endpoint spec for the CS API, EventContent is specified as the type for fields, but in other places it just says object, even though they all contain the same kind of thing (namely, varyingly-structured event content) and EventContent is not defined for that endpoint.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the /sync endpoint specification and search its EventContent references alongside fields currently typed as object. Determine the consistent representation and ensure EventContent is defined or referenced appropriately throughout the endpoint; done means the /sync spec no longer mixes equivalent types or uses an undefined endpoint type.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.