summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-05-25 11:35:21 +0200
committerJoas Schilling <coding@schilljs.com>2020-05-25 11:35:21 +0200
commit44131a87074a2a9de02dffac5383cac8548cc88a (patch)
tree561a64b802fa0d2c5e749e0d7e33136487f8372d /docs
parentca8777a6b851b2ef33d3ba76e0e4a228498161ec (diff)
Add docs about the X-Nextcloud-Talk-Hash header
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/conversation.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/conversation.md b/docs/conversation.md
index 91f6f47ac..f67223597 100644
--- a/docs/conversation.md
+++ b/docs/conversation.md
@@ -13,6 +13,12 @@
+ `200 OK`
+ `401 Unauthorized` when the user is not logged in
+ - Header:
+
+ field | type | Description
+ ------|------|------------
+ `X-Nextcloud-Talk-Hash` | string | Sha1 value over some config. When you receive a different value on subsequent requests, the capabilities and the signaling settings should be refreshed.
+
- Data:
Array of conversations, each conversation has at least:
@@ -81,6 +87,12 @@
+ `200 OK`
+ `404 Not Found` When the conversation could not be found for the participant
+ - Header:
+
+ field | type | Description
+ ------|------|------------
+ `X-Nextcloud-Talk-Hash` | string | Sha1 value over some config. When you receive a different value on subsequent requests, the capabilities and the signaling settings should be refreshed.
+
- Data: See array definition in `Get userĀ“s conversations`
## Rename a conversation