diff options
author | provokateurin <kate@provokateurin.de> | 2024-01-21 20:29:54 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-02-20 08:04:13 +0100 |
commit | d95e500e45a3c41af92482e04d16c54c2581e467 (patch) | |
tree | d01be495c3d9a547a09a256fbac464676f752337 /core/openapi.json | |
parent | 1a3e53462020bf88f9b5831cd76e80c0f3a355f0 (diff) | |
download | nextcloud-server-d95e500e45a3c41af92482e04d16c54c2581e467.tar.gz nextcloud-server-d95e500e45a3c41af92482e04d16c54c2581e467.zip |
feat(core): Expose the confirm password endpoint
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/openapi.json')
-rw-r--r-- | core/openapi.json | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/core/openapi.json b/core/openapi.json index 784cce560cd..9bfee0d40b9 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -919,6 +919,63 @@ } } }, + "/index.php/login/confirm": { + "post": { + "operationId": "login-confirm-password", + "summary": "Confirm the user password", + "tags": [ + "login" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "password", + "in": "query", + "description": "The password of the user", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Password confirmation succeeded", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "lastLogin" + ], + "properties": { + "lastLogin": { + "type": "integer", + "format": "int64" + } + } + } + } + } + }, + "403": { + "description": "Password confirmation failed", + "content": { + "application/json": { + "schema": {} + } + } + } + } + } + }, "/index.php/login/v2/poll": { "post": { "operationId": "client_flow_login_v2-poll", |