-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify the use of JSON in requests and responses #1185
Conversation
@@ -196,6 +208,8 @@ only read state (e.g.: `/sync`, get account data, etc). | |||
The user is unable to reject an invite to join the server notices room. | |||
See the [Server Notices](#server-notices) module for more information. | |||
|
|||
### Transaction identifiers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave this a new heading to stop it being stuck under "Other error codes"
@@ -208,8 +222,6 @@ Some API endpoints may allow or require the use of `POST` requests | |||
without a transaction ID. Where this is optional, the use of a `PUT` | |||
request is strongly recommended. | |||
|
|||
{{% http-api spec="client-server" api="versions" %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and moved this into "discovery" (for want of a better place), for the same reason.
with the exception of 200 responses to | ||
[`GET /_matrix/media/v3/download/{serverName}/{mediaId}`](#get_matrixmediav3downloadservernamemediaid) | ||
and [`GET /_matrix/media/v3/thumbnail/{serverName}/{mediaId}`](#get_matrixmediav3thumbnailservernamemediaid). | ||
Servers msut include a `Content-Type` header of `application/json` for all JSON responses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/msut/must/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bother. thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 3dc3150
Fixes #1182
Preview: https://pr1185--matrix-spec-previews.netlify.app