aboutsummaryrefslogtreecommitdiff
path: root/docs/API/chats.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-04 11:47:41 +0100
committerlain <lain@soykaf.club>2020-11-04 11:47:41 +0100
commitc7bcbfbc1d5d34463634e44979a77a2c47e35dbc (patch)
treea9d947e8f3c82b7c5cd1764d98be46cf95b7e085 /docs/API/chats.md
parent1cc8e945064319014300de5880a326d1100bf43e (diff)
parentba3f3a5a56d4a5ac05443fd30b5864778ad1131e (diff)
downloadpleroma-c7bcbfbc1d5d34463634e44979a77a2c47e35dbc.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/local-only-scope
Diffstat (limited to 'docs/API/chats.md')
-rw-r--r--docs/API/chats.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md
index aa6119670..9857aac67 100644
--- a/docs/API/chats.md
+++ b/docs/API/chats.md
@@ -173,11 +173,14 @@ Returned data:
"created_at": "2020-04-21T15:06:45.000Z",
"emojis": [],
"id": "12",
- "unread": false
+ "unread": false,
+ "idempotency_key": "75442486-0874-440c-9db1-a7006c25a31f"
}
]
```
+- idempotency_key: The copy of the `idempotency-key` HTTP request header that can be used for optimistic message sending. Included only during the first few minutes after the message creation.
+
### Posting a chat message
Posting a chat message for given Chat id works like this: