summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2023-05-01 14:45:12 -0300
committerVitor Mattos <vitor@php.rio>2023-05-03 04:58:47 -0300
commitabe35b37a514d15fab482f640a542beb6a4bd27f (patch)
tree696d399ff43c812e4692b9e128426fedd3177037 /docs
parentcb3fa784d49afd72587130ec7fe9b3b71bb12a13 (diff)
Document the new header
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'docs')
-rw-r--r--docs/avatar.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/avatar.md b/docs/avatar.md
index bfeb9e63d..8b748e38f 100644
--- a/docs/avatar.md
+++ b/docs/avatar.md
@@ -46,6 +46,12 @@
- Status code:
+ `200 OK`
+ `404 Not Found` When the conversation could not be found for the participant
+ - Header:
+
+| field | type | Description |
+| ------------------- | ------ | ----------------------------------------------------------------- |
+| X-NC-IsCustomAvatar | string | Return 1 when is custom avatar and 0 when is not a custom a vatar |
+
- Body: the image file
## Get dark mode conversations avatar (binary)