diff options
author | Joas Schilling <coding@schilljs.com> | 2024-06-27 09:54:48 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-06-27 09:54:48 +0200 |
commit | 5d5091bb2dc46a5822b81db62c3b48294d9b83a1 (patch) | |
tree | f3ad3f26b5d7da6ea18ba729c24d518cece05a96 /core/openapi.json | |
parent | 427f3c9a53fd370e0899391e1bb8bb37466c16e1 (diff) | |
download | nextcloud-server-5d5091bb2dc46a5822b81db62c3b48294d9b83a1.tar.gz nextcloud-server-5d5091bb2dc46a5822b81db62c3b48294d9b83a1.zip |
fix(openapi): Regenerate OpenAPI after server changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/openapi.json')
-rw-r--r-- | core/openapi.json | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/core/openapi.json b/core/openapi.json index b59408ba6fb..53c2d55503d 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -657,6 +657,19 @@ ], "parameters": [ { + "name": "guestFallback", + "in": "query", + "description": "Fallback to guest avatar if not found", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { "name": "userId", "in": "path", "description": "ID of the user", @@ -696,6 +709,25 @@ } } }, + "201": { + "description": "Avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, "404": { "description": "Avatar not found", "content": { @@ -703,6 +735,9 @@ "schema": {} } } + }, + "500": { + "description": "" } } } @@ -725,6 +760,19 @@ ], "parameters": [ { + "name": "guestFallback", + "in": "query", + "description": "Fallback to guest avatar if not found", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { "name": "userId", "in": "path", "description": "ID of the user", @@ -764,6 +812,25 @@ } } }, + "201": { + "description": "Avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, "404": { "description": "Avatar not found", "content": { @@ -771,6 +838,9 @@ "schema": {} } } + }, + "500": { + "description": "" } } } @@ -814,6 +884,14 @@ "responses": { "200": { "description": "Custom avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, "content": { "*/*": { "schema": { @@ -825,6 +903,14 @@ }, "201": { "description": "Avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, "content": { "*/*": { "schema": { @@ -893,6 +979,14 @@ "responses": { "200": { "description": "Custom avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, "content": { "*/*": { "schema": { @@ -904,6 +998,14 @@ }, "201": { "description": "Avatar returned", + "headers": { + "X-NC-IsCustomAvatar": { + "schema": { + "type": "integer", + "format": "int64" + } + } + }, "content": { "*/*": { "schema": { |