diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/chat.md | 2 | ||||
-rw-r--r-- | docs/conversation.md | 2 | ||||
-rw-r--r-- | docs/poll.md | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/chat.md b/docs/chat.md index 5c843e059..1321c37f6 100644 --- a/docs/chat.md +++ b/docs/chat.md @@ -7,7 +7,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`: since Nextcloud 13 !!! note Due to the structure of the `lastMessage.reactions` array the response is not valid in XML. - It is therefor recommended to use `format=json` or send the `Content-Type: application/json` header, + It is therefor recommended to use `format=json` or send the `Accept: application/json` header, to receive a JSON response. * Method: `GET` diff --git a/docs/conversation.md b/docs/conversation.md index 1b2a12d9f..945b36f4c 100644 --- a/docs/conversation.md +++ b/docs/conversation.md @@ -10,7 +10,7 @@ !!! note Due to the structure of the `lastMessage.reactions` array the response is not valid in XML. - It is therefor recommended to use `format=json` or send the `Content-Type: application/json` header, + It is therefor recommended to use `format=json` or send the `Accept: application/json` header, to receive a JSON response. * Method: `GET` diff --git a/docs/poll.md b/docs/poll.md index 43b3cd210..4f3caa063 100644 --- a/docs/poll.md +++ b/docs/poll.md @@ -91,7 +91,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` !!! note Due to the structure of the `votes` array the response is not valid in XML. - It is therefor recommended to use `format=json` or send the `Content-Type: application/json` header, + It is therefor recommended to use `format=json` or send the `Accept: application/json` header, to receive a JSON response. | field | type | Description | |