feat: adds Federation GET /events/{eventId} endpoint#36873
feat: adds Federation GET /events/{eventId} endpoint#36873sampaiodiego merged 4 commits intofeat/federationfrom
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
f8d4acf to
b120ccf
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/federation #36873 +/- ##
===================================================
- Coverage 69.60% 69.59% -0.02%
===================================================
Files 3011 3010 -1
Lines 99946 99888 -58
Branches 18417 18413 -4
===================================================
- Hits 69568 69513 -55
+ Misses 28402 28400 -2
+ Partials 1976 1975 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Previously tied to RocketChat/homeserver#161. We’ve decided to move forward by pushing only the route implementation, leaving out the ACL for now. This helps us isolate domain concerns and speed up the overall work.
Response example for
GET /_matrix/federation/v1/event/$KMoGnWYWjaoKlZ0FrmYJjWcc8LGLGz-JoOuvM14gqKU{ "origin_server_ts": 1757538253737, "origin": "rc1", "pdus": [ { "auth_events": [ "$f9msK-kfJrGKleYgsqpLqSP-MchU4-7I_RIdIIA2J5Y", "$SWbOYtZ_1fdwE5V8rKQxx76oQgCEz_YnIfvIYDlwt-g", "$yWP9I1nqioBqgdeD6-lxPqh1j2qoUYf5Sxw7qY6syeI" ], "prev_events": [ "$io6obrsV6Gnc9czkyEamVejsDWvUOEvRFHIhomai0KM" ], "type": "m.reaction", "room_id": "!CawYSGPh:rc1", "sender": "@admin:hs1", "content": { "m.relates_to": { "rel_type": "m.annotation", "event_id": "$1Na9fJixdb5fm6tr8moV1OIogFQyPKwJP19ZDIi0BIE", "key": "😍" } }, "depth": 2, "origin": "hs1", "origin_server_ts": 1753919202258, "hashes": { "sha256": "LRr1OOmNP7K6w28uUtyeNhpa2uZSPE40G2WlszdElvo" }, "signatures": { "hs1": { "ed25519:a_HDhg": "aKVRZDFfHmNY6Q1wvXKJ6pFpKr7BB/jwEs6dXyEpLIQrb+YZElD45Y66oqlw5H5mTfVLIlkxE9pgkhQG/dH8BA" } }, "unsigned": { "age": 6848 } } ] }