Skip to content

Commit e22b373

Browse files
committed
add profile photo patch
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
1 parent 0456429 commit e22b373

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,24 @@ paths:
111111
tags:
112112
- me.photo
113113
summary: Update the current user's profile photo
114-
operationId: UpdateOwnUserPhoto
114+
operationId: UpdateOwnUserPhotoPut
115+
requestBody:
116+
description: New user photo
117+
content:
118+
image/png:
119+
schema:
120+
type: string
121+
format: binary
122+
responses:
123+
'204':
124+
description: Success
125+
default:
126+
$ref: '#/components/responses/error'
127+
patch:
128+
tags:
129+
- me.photo
130+
summary: Update the current user's profile photo
131+
operationId: UpdateOwnUserPhotoPatch
115132
requestBody:
116133
description: New user photo
117134
content:

0 commit comments

Comments
 (0)