diff options
author | lain <lain@soykaf.club> | 2020-05-15 13:18:41 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-15 13:18:41 +0200 |
commit | 1d18721a3c60aa0acc7d1ba858a92277e544a54a (patch) | |
tree | 6e7790ec51a3385777c97dfa691ced32928b4fbe /docs/API | |
parent | 3342846ac2bbd48e985cfeff26ba4593f4815879 (diff) | |
download | pleroma-1d18721a3c60aa0acc7d1ba858a92277e544a54a.tar.gz |
Chats: Add updated_at to Schema and docs.
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/chats.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/API/chats.md b/docs/API/chats.md index 1ea18ff5f..2e415e4da 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -68,7 +68,8 @@ Returned data: }, "id" : "1", "unread" : 2, - "last_message" : {...} // The last message in that chat + "last_message" : {...}, // The last message in that chat + "updated_at": "2020-04-21T15:11:46.000Z" } ``` @@ -88,7 +89,8 @@ Returned data: ... }, "id" : "1", - "unread" : 0 + "unread" : 0, + "updated_at": "2020-04-21T15:11:46.000Z" } ``` @@ -112,7 +114,8 @@ Returned data: }, "id" : "1", "unread" : 2, - "last_message" : {...} // The last message in that chat + "last_message" : {...}, // The last message in that chat + "updated_at": "2020-04-21T15:11:46.000Z" } ] ``` |