Skip to content

Commit 978259b

Browse files
committed
udpates oas
1 parent 3e0f6ec commit 978259b

File tree

1 file changed

+23
-3
lines changed
  • services/web/server/src/simcore_service_webserver/api/v0

1 file changed

+23
-3
lines changed

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,10 +1217,16 @@ paths:
12171217
required: true
12181218
responses:
12191219
'202':
1220-
description: Successful Response
1220+
description: Phone registration initiated
12211221
content:
12221222
application/json:
12231223
schema: {}
1224+
'401':
1225+
description: Authentication required
1226+
'403':
1227+
description: Insufficient permissions
1228+
'422':
1229+
description: Invalid phone number format
12241230
/v0/me/phone:resend:
12251231
post:
12261232
tags:
@@ -1230,10 +1236,16 @@ paths:
12301236
operationId: my_phone_resend
12311237
responses:
12321238
'202':
1233-
description: Successful Response
1239+
description: Phone code resent
12341240
content:
12351241
application/json:
12361242
schema: {}
1243+
'400':
1244+
description: No pending phone registration found
1245+
'401':
1246+
description: Authentication required
1247+
'403':
1248+
description: Insufficient permissions
12371249
/v0/me/phone:confirm:
12381250
post:
12391251
tags:
@@ -1249,7 +1261,15 @@ paths:
12491261
required: true
12501262
responses:
12511263
'204':
1252-
description: Successful Response
1264+
description: Phone registration confirmed
1265+
'400':
1266+
description: No pending registration or invalid code
1267+
'401':
1268+
description: Authentication required
1269+
'403':
1270+
description: Insufficient permissions
1271+
'422':
1272+
description: Invalid confirmation code format
12531273
/v0/me/preferences/{preference_id}:
12541274
patch:
12551275
tags:

0 commit comments

Comments
 (0)