Don't add half line break, don't use a boxes for initialSync note

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com
Signed-off-by: morguldir <morguldir@protonmail.com>
This commit is contained in:
morguldir 2025-01-14 15:23:00 +01:00
parent 5195f46ead
commit 10571847e9
No known key found for this signature in database
GPG key ID: 5A6025D4F6E7A8A3

View file

@ -7,12 +7,11 @@ paths:
get: get:
summary: Snapshot the current state of a room and its most recent messages. summary: Snapshot the current state of a room and its most recent messages.
description: |- description: |-
{{% boxes/note %}} This api should now exclusively be used for "peeking" into viewable rooms you're not a member of ([Room Previews](/client-server-api/#room-previews))
This api should now exclusively be used for "peeking" into publicly viewable rooms you're not a member of ([Room Previews](/client-server-api/#room-previews))
{{% /boxes/note %}}
Get a copy of the current state and the most recent messages in a room. Get a copy of the current state and the most recent messages in a room.
Using this endpoint for something other than peeking was deprecated in r0 of this specification. \ Using this endpoint for something other than peeking was deprecated in r0 of this specification.
The relevant information for syncing is now returned by the The relevant information for syncing is now returned by the
[`/sync`](/client-server-api/#get_matrixclientv3sync) API. See the [`/sync`](/client-server-api/#get_matrixclientv3sync) API. See the
[migration guide](https://matrix.org/docs/guides/migrating-from-client-server-api-v-1#deprecated-endpoints). [migration guide](https://matrix.org/docs/guides/migrating-from-client-server-api-v-1#deprecated-endpoints).