From 5f03a4ca03985fe8cc7876ac736276c9913d1f73 Mon Sep 17 00:00:00 2001 From: oxalica Date: Tue, 24 Sep 2024 19:11:58 -0400 Subject: [PATCH] doc: fix missed Atom feed endpoint --- docs/webapi.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/webapi.yaml b/docs/webapi.yaml index 77fb5b7..0b16f71 100644 --- a/docs/webapi.yaml +++ b/docs/webapi.yaml @@ -336,6 +336,30 @@ paths: schema: $ref: '#/components/schemas/ApiError' + /_blah/room/{rid}/feed.atom: + get: + summary: Get Atom feed of room + description: | + Get room {rid}'s content in The Atom Syndication Format format. The + room must be public. For human and feed reader consumption only. + + More details: + + responses: + 200: + description: The Atom feed. + content: + application/atom+xml: + description: Feed XML. + + 404: + description: Room does not exist or is private. + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + + /_blah/room/{rid}/msg: get: summary: List messages in a room