diff options
author | eugenijm <eugenijm@protonmail.com> | 2020-10-31 05:50:48 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2020-10-31 05:50:59 +0300 |
commit | 8e41baff40555ef7c74c8842d6fbfebc2368631a (patch) | |
tree | cc8d402d6fc77b23a62db3011643885f34029f30 /docs/API | |
parent | 4fbdd1c8a12fd2b3dc6b63ccbbaa7d4241fa778e (diff) | |
download | pleroma-8e41baff40555ef7c74c8842d6fbfebc2368631a.tar.gz |
Add idempotency_key to the chat_message entity.
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/chats.md | 5 |
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: |