openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 1.66 MB
JSON
{"openapi":"3.0.1","servers":[{"url":"/api"}],"info":{"contact":{"x-twitter":"dracoongmbh"},"description":"REST Web Services for DRACOON<br><br>This page provides an overview of all available and documented DRACOON APIs, which are grouped by tags.<br>Each tag provides a collection of APIs that are intended for a specific area of the DRACOON.<br><br><a title='Developer Information' href='https://developer.dracoon.com'>Developer Information</a>  <a title='Get SDKs on GitHub' href='https://github.com/dracoon'>Get SDKs on GitHub</a><br><br><a title='Terms of service' href='https://www.dracoon.com/terms/general-terms-and-conditions/'>Terms of service</a>","title":"DRACOON API","version":"4.42.3","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://twitter.com/dracoongmbh/profile_image?size=original"},"x-origin":[{"format":"openapi","url":"https://dracoon.team/api/spec_v4/","version":"3.0"}],"x-providerName":"dracoon.team"},"security":[{"oauth2":[]}],"tags":[{"description":"Role user management","name":"roles"},{"description":"User operations","name":"user"},{"description":"Configuration","name":"config"},{"description":"User management","name":"users"},{"description":"Client resources","name":"resources"},{"description":"System settings (mail server, logging, branding, default values etc.)","name":"system-settings-config"},{"description":"Public API (upload / download shares, software information)","name":"public"},{"description":"System settings (authentication methods)","name":"system-auth-config"},{"description":"File download without authentication headers","name":"downloads"},{"description":"Provisioning","name":"provisioning"},{"description":"Authentication","name":"auth"},{"description":"File upload without authentication headers","name":"uploads"},{"description":"Customer settings","name":"settings"},{"description":"System settings (policies)","name":"system-policies-config"},{"description":"Upload and Download Shares","name":"shares"},{"description":"System settings (storage)","name":"system-storage-config"},{"description":"User groups","name":"groups"},{"description":"Internal non-public APIs","name":"internal"},{"description":"System events log","name":"eventlog"},{"description":"File system objects (rooms, folders, files)","name":"nodes"}],"paths":{"/v4/auth/login":{"post":{"deprecated":true,"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚧 Deprecated since v4.13.0</h3>\n\n### Description:\nAuthenticates user and provides an authentication token (`X-Sds-Auth-Token`) that is required for the most operations.\n\n### Precondition:\nExisting user that is **NOT** locked.\n\n### Postcondition:\nUser is logged in.\n\n### Further Information:\nThe provided token is valid for **two hours**, every usage resets this period to two full hours again. \nLogging off invalidates the token. \n\n### Available authentication methods:\n<details open style=\"padding: 10px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px;\">\n<summary style=\"cursor: pointer; outline: none\"><strong>Expand</strong></summary>\n\n| Authentication Method (`authType`) | Description |\n| :--- | :--- |\n| `basic` | Log in with credentials stored in the database <br>Formerly known as `sql`.|\n| `active_directory` | Log in with Active Directory credentials |\n| `radius` | Log in with RADIUS username, PIN and token password.<br>Token (request parameter) may be set, otherwise this parameter is ignored. If token is set, password is optional. |\n| `openid` | Please use `POST /auth/openid/login` API to login with OpenID Connect identity |\n\n</details>","externalDocs":{"description":"Remote Authentication Dial In User Service (RADIUS)","url":"https://tools.ietf.org/html/rfc2865"},"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"-10100":{"description":"\n* [-10100] Invalid authentication method","summary":"Invalid authentication method","value":{"code":400,"debugInfo":"Invalid authentication method","errorCode":-10100,"message":"Bad Request"}},"-80013":{"description":"\n* [-80013] Invalid JSON object","summary":"Invalid JSON object","value":{"code":400,"debugInfo":"Invalid JSON object","errorCode":-80013,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"examples":{"-10011":{"description":"\n* [-10011] Wrong username or password","summary":"Wrong username or password","value":{"code":401,"debugInfo":"Wrong username or password","errorCode":-10011,"message":"Unauthorized"}},"-10110":{"description":"\n* [-10110] Second factor token not valid","summary":"Second factor token not valid","value":{"code":400,"debugInfo":"Second factor token not valid","errorCode":-10110,"message":"Bad Request"}},"-90060":{"description":"\n* [-90060] User import not allowed","summary":"User import not allowed","value":{"code":401,"debugInfo":"User import not allowed","errorCode":-90060,"message":"Unauthorized"}},"-90061":{"description":"\n* [-90061] Invalid Active Directory entry","summary":"Invalid Active Directory entry","value":{"code":401,"debugInfo":"Invalid Active Directory entry","errorCode":-90061,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"examples":{"-10003":{"description":"\n* [-10003] User is locked by an administrator","summary":"User is locked by an administrator","value":{"code":403,"debugInfo":"User is locked by an administrator","errorCode":-10003,"message":"Forbidden"}},"-10004":{"description":"\n* [-10004] User has expired","summary":"User has expired","value":{"code":403,"debugInfo":"User has expired","errorCode":-10004,"message":"Forbidden"}},"-10005":{"description":"\n* [-10005] User is temporarily locked","summary":"User is temporarily locked","value":{"code":403,"debugInfo":"User is temporarily locked","errorCode":-10005,"message":"Forbidden"}},"-10007":{"description":"\n* [-10007] Customer is locked","summary":"Customer is locked","value":{"code":403,"debugInfo":"Customer is locked","errorCode":-10007,"message":"Forbidden"}},"-70505":{"description":"\n* [-70505] Maximum number of users reached","summary":"Maximum number of users reached","value":{"code":403,"debugInfo":"Maximum number of users reached","errorCode":-70505,"message":"Forbidden"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"examples":{"-90050":{"description":"\n* [-90050] Active Directory configuration not found","summary":"Active Directory configuration not found","value":{"code":404,"debugInfo":"Active Directory configuration not found","errorCode":-90050,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10108":{"description":"\n* [-10108] RADIUS requests Access-Challenge workflow\n\nPlease notice the `replyState` and `replyMessage`","summary":"RADIUS requests Access-Challenge workflow","value":"{\n \"code\": 412,\n \"message\": \"Precondition Failed\",\n \"debugInfo\": \"RADIUS requests Access-Challenge workflow\",\n \"errorCode\": -10108\",\n \"replyState\": \"...\",\n \"replyMessage\": \"...\"\n}"}},"schema":{"$ref":"#/components/schemas/RadiusChallengeResponse"}}},"description":"Precondition Failed"},"502":{"content":{"application/json":{"examples":{"-90055":{"description":"\n* [-90055] Invalid Active Directory configuration","summary":"Invalid Active Directory configuration","value":{"code":502,"debugInfo":"Invalid Active Directory configuration","errorCode":-90055,"message":"Bad Gateway"}},"-90070":{"description":"\n* [-90070] RADIUS connection failed","summary":"RADIUS connection failed","value":{"code":502,"debugInfo":"RADIUS connection failed","errorCode":-90070,"message":"Bad Gateway"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway"}},"security":[],"summary":"Authenticate user (Login)","tags":["auth"]}},"/v4/auth/openid/login":{"get":{"deprecated":true,"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚧 Deprecated since v4.14.0</h3>\n\n### Description:\nThis is the first step of the OpenID Connect authentication. \nThe user is send to the OpenID Connect identity provider to authenticate himself and retrieve an authorization code.\n\n### Precondition:\nNone.\n\n### Postcondition:\nUser is redirected to OpenID Connect identity provider to authenticate himself.\n\n### Further Information:\nNone.","externalDocs":{"description":"OpenID Specifications","url":"http://openid.net/developers/specs"},"operationId":"initiateOpenIdLogin","parameters":[{"description":"Issuer identifier of the OpenID Connect identity provider","in":"query","name":"issuer","required":true,"schema":{"type":"string"}},{"description":"Redirect URI to complete the OpenID Connect authentication","in":"query","name":"redirect_uri","required":true,"schema":{"type":"string"}},{"deprecated":true,"description":"Language ID or ISO 639-1 code","in":"query","name":"language","required":true,"schema":{"type":"string"}},{"description":"Flag to test the authentication parameters.\n\nIf the request is valid, the API will respond with `204 No Content`.","in":"query","name":"test","required":true,"schema":{"type":"boolean"}}],"responses":{"204":{"description":"No Content"},"302":{"description":"Found"},"400":{"content":{"application/json":{"examples":{"-10010":{"description":"\n* [-10010] Not supported language","summary":"Not supported language","value":{"code":400,"debugInfo":"Not supported language","errorCode":-10010,"message":"Bad Request"}},"-10100":{"description":"\n* [-10100] Invalid authentication method","summary":"Invalid authentication method","value":{"code":400,"debugInfo":"Invalid authentication method","errorCode":-10100,"message":"Bad Request"}},"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}},"-90043":{"description":"\n* [-90043] Invalid authentication state","summary":"Invalid authentication state","value":{"code":400,"debugInfo":"Invalid authentication state","errorCode":-90043,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"examples":{"-90048":{"description":"\n* [-90048] Invalid OpenID Connect user information","summary":"Invalid OpenID Connect user information","value":{"code":401,"debugInfo":"Invalid OpenID Connect user information","errorCode":-90048,"message":"Unauthorized"}},"-90060":{"description":"\n* [-90060] User import not allowed","summary":"User import not allowed","value":{"code":401,"debugInfo":"User import not allowed","errorCode":-90060,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"examples":{"-10003":{"description":"\n* [-10003] User is locked by an administrator","summary":"User is locked by an administrator","value":{"code":403,"debugInfo":"User is locked by an administrator","errorCode":-10003,"message":"Forbidden"}},"-10004":{"description":"\n* [-10004] User has expired","summary":"User has expired","value":{"code":403,"debugInfo":"User has expired","errorCode":-10004,"message":"Forbidden"}},"-10005":{"description":"\n* [-10005] User is temporarily locked","summary":"User is temporarily locked","value":{"code":403,"debugInfo":"User is temporarily locked","errorCode":-10005,"message":"Forbidden"}},"-10007":{"description":"\n* [-10007] Customer is locked","summary":"Customer is locked","value":{"code":403,"debugInfo":"Customer is locked","errorCode":-10007,"message":"Forbidden"}},"-70505":{"description":"\n* [-70505] Maximum number of users reached","summary":"Maximum number of users reached","value":{"code":403,"debugInfo":"Maximum number of users reached","errorCode":-70505,"message":"Forbidden"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"examples":{"-70501":{"description":"\n* [-70501] User not found","summary":"User not found","value":{"code":404,"debugInfo":"User not found","errorCode":-70501,"message":"Not Found"}},"-90041":{"description":"\n* [-90041] Unknown identity provider","summary":"Unknown identity provider","value":{"code":404,"debugInfo":"Unknown identity provider","errorCode":-90041,"message":"Not Found"}},"-90042":{"description":"\n* [-90042] Unknown redirect URI","summary":"Unknown redirect URI","value":{"code":404,"debugInfo":"Unknown redirect URI","errorCode":-90042,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"502":{"content":{"application/json":{"examples":{"-90044":{"description":"\n* [-90044] Identity token retrieval failed","summary":"Identity token retrieval failed","value":{"code":502,"debugInfo":"Identity token retrieval failed","errorCode":-90044,"message":"Bad Gateway"}},"-90045":{"description":"\n* [-90045] Identity token validation failed","summary":"Identity token validation failed","value":{"code":502,"debugInfo":"Identity token validation failed","errorCode":-90045,"message":"Bad Gateway"}},"-90046":{"description":"\n* [-90046] User information retrieval failed","summary":"User information retrieval failed","value":{"code":502,"debugInfo":"User information retrieval failed","errorCode":-90046,"message":"Bad Gateway"}},"-90047":{"description":"\n* [-90047] Invalid OpenID Connect IDP configuration","summary":"Invalid OpenID Connect IDP configuration","value":{"code":502,"debugInfo":"Invalid OpenID Connect IDP configuration","errorCode":-90047,"message":"Bad Gateway"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway"}},"security":[],"summary":"Initiate OpenID Connect authentication","tags":["auth"]},"post":{"deprecated":true,"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚧 Deprecated since v4.14.0</h3>\n\n### Description: \nThis is the second step of the OpenID Connect authentication. \nThe user hands over the authorization code and is logged in.\n\n### Precondition:\nExisting user with activated OpenID Connect authentication that is **NOT** locked.\n\n### Postcondition:\nUser is logged in.\n\n### Further Information:\nNone.","externalDocs":{"description":"OpenID Specifications","url":"http://openid.net/developers/specs"},"operationId":"completeOpenIdLogin","parameters":[{"description":"Authorization code","in":"query","name":"code","required":true,"schema":{"type":"string"}},{"description":"Identity token","in":"query","name":"id_token","required":false,"schema":{"type":"string"}},{"description":"Authentication state","in":"query","name":"state","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"-10010":{"description":"\n* [-10010] Not supported language","summary":"Not supported language","value":{"code":400,"debugInfo":"Not supported language","errorCode":-10010,"message":"Bad Request"}},"-10100":{"description":"\n* [-10100] Invalid authentication method","summary":"Invalid authentication method","value":{"code":400,"debugInfo":"Invalid authentication method","errorCode":-10100,"message":"Bad Request"}},"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}},"-90043":{"description":"\n* [-90043] Invalid authentication state","summary":"Invalid authentication state","value":{"code":400,"debugInfo":"Invalid authentication state","errorCode":-90043,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"examples":{"-90048":{"description":"\n* [-90048] Invalid OpenID Connect user information","summary":"Invalid OpenID Connect user information","value":{"code":401,"debugInfo":"Invalid OpenID Connect user information","errorCode":-90048,"message":"Unauthorized"}},"-90060":{"description":"\n* [-90060] User import not allowed","summary":"User import not allowed","value":{"code":401,"debugInfo":"User import not allowed","errorCode":-90060,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"examples":{"-10003":{"description":"\n* [-10003] User is locked by an administrator","summary":"User is locked by an administrator","value":{"code":403,"debugInfo":"User is locked by an administrator","errorCode":-10003,"message":"Forbidden"}},"-10004":{"description":"\n* [-10004] User has expired","summary":"User has expired","value":{"code":403,"debugInfo":"User has expired","errorCode":-10004,"message":"Forbidden"}},"-10005":{"description":"\n* [-10005] User is temporarily locked","summary":"User is temporarily locked","value":{"code":403,"debugInfo":"User is temporarily locked","errorCode":-10005,"message":"Forbidden"}},"-10007":{"description":"\n* [-10007] Customer is locked","summary":"Customer is locked","value":{"code":403,"debugInfo":"Customer is locked","errorCode":-10007,"message":"Forbidden"}},"-70505":{"description":"\n* [-70505] Maximum number of users reached","summary":"Maximum number of users reached","value":{"code":403,"debugInfo":"Maximum number of users reached","errorCode":-70505,"message":"Forbidden"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"examples":{"-70501":{"description":"\n* [-70501] User not found","summary":"User not found","value":{"code":404,"debugInfo":"User not found","errorCode":-70501,"message":"Not Found"}},"-90041":{"description":"\n* [-90041] Unknown identity provider","summary":"Unknown identity provider","value":{"code":404,"debugInfo":"Unknown identity provider","errorCode":-90041,"message":"Not Found"}},"-90042":{"description":"\n* [-90042] Unknown redirect URI","summary":"Unknown redirect URI","value":{"code":404,"debugInfo":"Unknown redirect URI","errorCode":-90042,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"502":{"content":{"application/json":{"examples":{"-90044":{"description":"\n* [-90044] Identity token retrieval failed","summary":"Identity token retrieval failed","value":{"code":502,"debugInfo":"Identity token retrieval failed","errorCode":-90044,"message":"Bad Gateway"}},"-90045":{"description":"\n* [-90045] Identity token validation failed","summary":"Identity token validation failed","value":{"code":502,"debugInfo":"Identity token validation failed","errorCode":-90045,"message":"Bad Gateway"}},"-90046":{"description":"\n* [-90046] User information retrieval failed","summary":"User information retrieval failed","value":{"code":502,"debugInfo":"User information retrieval failed","errorCode":-90046,"message":"Bad Gateway"}},"-90047":{"description":"\n* [-90047] Invalid OpenID Connect IDP configuration","summary":"Invalid OpenID Connect IDP configuration","value":{"code":502,"debugInfo":"Invalid OpenID Connect IDP configuration","errorCode":-90047,"message":"Bad Gateway"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Gateway"}},"security":[],"summary":"Complete OpenID Connect authentication","tags":["auth"]}},"/v4/auth/ping":{"get":{"description":"### Description:\nTest connection to DRACOON Core Service.\n\n### Precondition:\nNone.\n\n### Postcondition:\n`200 OK` with current date string is returned if successful.\n\n### Further Information:\nNone.","operationId":"ping","responses":{"200":{"content":{"text/plain":{"examples":{"0":{"description":"Example ping response","summary":"Ping response","value":"OK Tue Apr 04 13:37:00 UTC 2020"}},"schema":{"type":"string"}}},"description":"OK"},"406":{"content":{"text/plain":{"examples":{"null":{"description":"Acceptable Content-Types are: `[text/plain]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"}},"security":[],"summary":"Ping","tags":["auth"]}},"/v4/auth/recover_username":{"post":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.13.0</h3>\n\n### Description: \nRequest an email with the user names of all accounts connected to the email.\n\n### Precondition:\nValid email address.\n\n### Postcondition:\nAn email is sent to the provided address, with a list of account user names connected to it.\n\n### Further Information:\nNone.\n","operationId":"recoverUserName","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoverUserNameRequest"}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"examples":{"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}},"-80009":{"description":"\n* [-80009] Invalid email address","summary":"Invalid email address","value":{"code":400,"debugInfo":"Invalid email address","errorCode":-80009,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"examples":{"-70501":{"description":"\n* [-70501] User not found","summary":"User not found","value":{"code":404,"debugInfo":"User not found","errorCode":-70501,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"}},"security":[],"summary":"Recover username","tags":["auth"]}},"/v4/auth/reset_password":{"post":{"description":"### Description: \nRequest an email with a password reset token for a certain user to reset password.\n\n### Precondition:\nRegistered user account.\n\n### Postcondition:\nProvided user receives email with password reset token.\n\n### Further Information:\nNone.","operationId":"requestPasswordReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"examples":{"-10013":{"description":"\n* [-10013] Not valid IETF language tag","summary":"Not valid IETF language tag","value":{"code":400,"debugInfo":"Not valid IETF language tag","errorCode":-10013,"message":"Bad Request"}},"-10105":{"description":"\n* [-10105] Password cannot be reset for this user","summary":"Password cannot be reset for this user","value":{"code":400,"debugInfo":"Password cannot be reset for this user","errorCode":-10105,"message":"Bad Request"}},"-10107":{"description":"\n* [-10107] Password can only be reset every 5 minutes","summary":"Password can only be reset every 5 minutes","value":{"code":400,"debugInfo":"Password can only be reset every 5 minutes","errorCode":-10107,"message":"Bad Request"}},"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}},"-80007":{"description":"\n* [-80007] Maximum allowed length is exceeded","summary":"Maximum allowed length is exceeded","value":{"code":400,"debugInfo":"Maximum allowed length is exceeded","errorCode":-80007,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"}},"security":[],"summary":"Request password reset","tags":["auth"]}},"/v4/auth/reset_password/{token}":{"get":{"description":"### Description: \nRequest all information for a password change dialogue e.g. real name of user.\n\n### Precondition:\nUser received a password reset token.\n\n### Postcondition:\nContext information is returned.\n\n### Further Information:\nNone.","operationId":"validateResetPasswordToken","parameters":[{"description":"Password reset token","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordTokenValidateResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"-10001":{"description":"\n* [-10001] Password reset token is modified","summary":"Password reset token is modified","value":{"code":400,"debugInfo":"Password reset token is modified","errorCode":-10001,"message":"Bad Request"}},"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"examples":{"null":{"description":"Token not found","summary":"Token not found","value":{"code":404,"debugInfo":"Token not found","errorCode":null,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"}},"security":[],"summary":"Validate information for password reset","tags":["auth"]},"put":{"description":"### Description: \nResets user's password.\n\n### Precondition:\nUser received a password reset token.\n\n### Postcondition:\nUser's password is reset to the provided password.\n\n### Further Information:\nForbidden characters in passwords: [`&`, `'`, `<`, `>`]","operationId":"resetPassword","parameters":[{"description":"Password reset token","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordWithTokenRequest"}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"examples":{"-10002":{"description":"\n* [-10002] Password is not secure","summary":"Password is not secure","value":{"code":400,"debugInfo":"Password is not secure","errorCode":-10002,"message":"Bad Request"}},"-10105":{"description":"\n* [-10105] Password cannot be reset for this user","summary":"Password cannot be reset for this user","value":{"code":400,"debugInfo":"Password cannot be reset for this user","errorCode":-10105,"message":"Bad Request"}},"-80000":{"description":"\n* [-80000] Mandatory fields cannot be empty","summary":"Mandatory fields cannot be empty","value":{"code":400,"debugInfo":"Mandatory fields cannot be empty","errorCode":-80000,"message":"Bad Request"}},"-80007":{"description":"\n* [-80007] Maximum allowed length is exceeded","summary":"Maximum allowed length is exceeded","value":{"code":400,"debugInfo":"Maximum allowed length is exceeded","errorCode":-80007,"message":"Bad Request"}},"-80023":{"description":"\n* [-80023] Input contains invalid characters","summary":"Input contains invalid characters","value":{"code":400,"debugInfo":"Input contains invalid characters","errorCode":-80023,"message":"Bad Request"}}},"schema":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"$ref":"#/components/schemas/PasswordPolicyViolationResponse"}]}}},"description":"Bad Request"},"404":{"content":{"application/json":{"examples":{"null":{"description":"Token not found","summary":"Token not found","value":{"code":404,"debugInfo":"Token not found","errorCode":null,"message":"Not Found"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Found"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"}},"security":[],"summary":"Reset password","tags":["auth"]}},"/v4/config/info/defaults":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.6.0</h3>\n\n### Description: \nReturns a list of configurable system default values.\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of configurable default settings is returned.\n\n### Further Information:\nNone.\n\n### Configurable default values:\n<details open style=\"padding: 10px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px;\">\n<summary style=\"cursor: pointer; outline: none\"><strong>Expand</strong></summary>\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| `languageDefault` | Defines which language should be default. | `ISO 639-1 code` |\n| `downloadShareDefaultExpirationPeriod` | Default expiration period for Download Shares in _days_. | `Integer between 0 and 9999` |\n| `uploadShareDefaultExpirationPeriod` | Default expiration period for Upload Shares in _days_. | `Integer between 0 and 9999` |\n| `fileDefaultExpirationPeriod` | Default expiration period for all uploaded files in _days_. | `Integer between 0 and 9999` |\n| `nonmemberViewerDefault` | Defines if new users get the role _Non Member Viewer_ by default | `true or false` |\n\n</details>","externalDocs":{"description":"Tags for Identifying Languages","url":"https://tools.ietf.org/html/rfc5646"},"operationId":"requestSystemDefaultsInfo","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SystemDefaults"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10103":{"description":"\n* [-10103] EULA must be accepted","summary":"EULA must be accepted","value":{"code":412,"debugInfo":"EULA must be accepted","errorCode":-10103,"message":"Precondition Failed"}},"-10104":{"description":"\n* [-10104] Password must be changed","summary":"Password must be changed","value":{"code":412,"debugInfo":"Password must be changed","errorCode":-10104,"message":"Precondition Failed"}},"-10109":{"description":"\n* [-10109] E-Mail must be set","summary":"E-Mail must be set","value":{"code":412,"debugInfo":"E-Mail must be set","errorCode":-10109,"message":"Precondition Failed"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Precondition Failed"}},"summary":"Request default values","tags":["config"]}},"/v4/config/info/general":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.6.0</h3>\n\n### Description:\nReturns a list of configurable general settings.\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of configurable general settings is returned.\n\n### Further Information:\nNone.\n\n### Configurable general settings:\n<details open style=\"padding: 10px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px;\">\n<summary style=\"cursor: pointer; outline: none\"><strong>Expand</strong></summary>\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| `sharePasswordSmsEnabled` | Determines whether sending of share passwords via SMS is allowed. | `true or false` |\n| `cryptoEnabled` | Determines whether client-side encryption is enabled.<br>Can only be enabled once; disabling is **NOT** possible. | `true or false` |\n| `emailNotificationButtonEnabled` | Determines whether email notification button is enabled. | `true or false` |\n| `eulaEnabled` | Determines whether EULA is enabled.<br>Each user has to confirm the EULA at first login. | `true or false` |\n| `useS3Storage` | Defines if S3 is used as storage backend.<br>Can only be enabled once; disabling is **NOT** possible. | `true or false` |\n| `s3TagsEnabled` | Determines whether S3 tags are enabled | `true or false` |\n| `homeRoomsActive` | Determines whether each AD user has a personal home room | `true or false` |\n| `homeRoomParentId` | Defines a node under which all personal home rooms are located. **NULL** if `homeRoomsActive` is `false` | `Long` |\n| `subscriptionPlan` | Subscription Plan. <br> 0 = Pro, 1 = Premium, 2 = Basic | `Integer` |\n\n</details>\n\n### Deprecated general settings:\n<details style=\"padding: 10px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px;\">\n<summary style=\"cursor: pointer; outline: none\"><strong>Expand</strong></summary>\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| <del>`mediaServerEnabled`</del> | Determines whether media server is enabled.<br>Returns boolean value dependent on conjunction of `mediaServerConfigEnabled` AND `mediaServerEnabled` | `true or false` |\n| <del>`weakPasswordEnabled`</del> | Determines whether weak password is allowed.<br>Use `GET /system/config/policies/passwords` API to get configured password policies. | `true or false` |\n\n</details>","operationId":"requestGeneralSettingsInfo","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneralSettingsInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10103":{"description":"\n* [-10103] EULA must be accepted","summary":"EULA must be accepted","value":{"code":412,"debugInfo":"EULA must be accepted","errorCode":-10103,"message":"Precondition Failed"}},"-10104":{"description":"\n* [-10104] Password must be changed","summary":"Password must be changed","value":{"code":412,"debugInfo":"Password must be changed","errorCode":-10104,"message":"Precondition Failed"}},"-10109":{"description":"\n* [-10109] E-Mail must be set","summary":"E-Mail must be set","value":{"code":412,"debugInfo":"E-Mail must be set","errorCode":-10109,"message":"Precondition Failed"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Precondition Failed"}},"summary":"Request general settings","tags":["config"]}},"/v4/config/info/infrastructure":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.6.0</h3>\n\n### Description: \nReturns a list of read-only infrastructure properties. \n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of infrastructure properties is returned.\n\n### Further Information:\nSource: `core-service.properties`\n\n### Read-only infrastructure properties:\n<details open style=\"padding: 10px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px;\">\n<summary style=\"cursor: pointer; outline: none\"><strong>Expand</strong></summary>\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| `smsConfigEnabled` | Determines whether sending of share passwords via SMS is **system-wide** enabled. | `true or false` |\n| `mediaServerConfigEnabled` | Determines whether media server is **system-wide** enabled. | `true or false` |\n| `s3DefaultRegion` | Suggested S3 region | `Region name` |\n| `s3EnforceDirectUpload` | Enforce direct upload to S3 | `true or false` |\n| `isDracoonCloud` | Determines if the **DRACOON Core** is deployed in the cloud environment | `true or false` |\n| `tenantUuid` | Current tenant UUID | `UUID` |\n\n</details>\n","operationId":"requestInfrastructurePropertiesInfo","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InfrastructureProperties"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10103":{"description":"\n* [-10103] EULA must be accepted","summary":"EULA must be accepted","value":{"code":412,"debugInfo":"EULA must be accepted","errorCode":-10103,"message":"Precondition Failed"}},"-10104":{"description":"\n* [-10104] Password must be changed","summary":"Password must be changed","value":{"code":412,"debugInfo":"Password must be changed","errorCode":-10104,"message":"Precondition Failed"}},"-10109":{"description":"\n* [-10109] E-Mail must be set","summary":"E-Mail must be set","value":{"code":412,"debugInfo":"E-Mail must be set","errorCode":-10109,"message":"Precondition Failed"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Precondition Failed"}},"summary":"Request infrastructure properties","tags":["config"]}},"/v4/config/info/notifications/channels":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.20.0</h3>\n\n### Description:\nRetrieve a list of configured notification channels.\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of notification channels is returned.\n\n### Further Information:\nNone.","operationId":"requestNotificationChannelsInfo","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationChannelList"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10103":{"description":"\n* [-10103] EULA must be accepted","summary":"EULA must be accepted","value":{"code":412,"debugInfo":"EULA must be accepted","errorCode":-10103,"message":"Precondition Failed"}},"-10104":{"description":"\n* [-10104] Password must be changed","summary":"Password must be changed","value":{"code":412,"debugInfo":"Password must be changed","errorCode":-10104,"message":"Precondition Failed"}},"-10109":{"description":"\n* [-10109] E-Mail must be set","summary":"E-Mail must be set","value":{"code":412,"debugInfo":"E-Mail must be set","errorCode":-10109,"message":"Precondition Failed"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Precondition Failed"}},"summary":"Request list of notification channels","tags":["config"]}},"/v4/config/info/policies/algorithms":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.24.0</h3>\n\n### Description:\nRetrieve a list of available algorithms used for encryption.\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of available algorithms is returned.\n\n### Further Information:\nNone.","operationId":"requestAlgorithms","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgorithmVersionInfoList"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptable. Acceptable Content-Types are: [...]","errorCode":null,"message":"Not Acceptable"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not Acceptable"},"412":{"content":{"application/json":{"examples":{"-10103":{"description":"\n* [-10103] EULA must be accepted","summary":"EULA must be accepted","value":{"code":412,"debugInfo":"EULA must be accepted","errorCode":-10103,"message":"Precondition Failed"}},"-10104":{"description":"\n* [-10104] Password must be changed","summary":"Password must be changed","value":{"code":412,"debugInfo":"Password must be changed","errorCode":-10104,"message":"Precondition Failed"}},"-10109":{"description":"\n* [-10109] E-Mail must be set","summary":"E-Mail must be set","value":{"code":412,"debugInfo":"E-Mail must be set","errorCode":-10109,"message":"Precondition Failed"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Precondition Failed"}},"summary":"Request algorithms","tags":["config"]}},"/v4/config/info/policies/classifications":{"get":{"description":"<h3 style='padding: 5px; background-color: #F6F7F8; border: 1px solid #AAA; border-radius: 5px; display: table-cell;'>🚀 Since v4.30.0</h3>\n\n### Description:\nRetrieve a list of classification policies:\n* `shareClassificationPolicies`\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of configured classification policies is returned.\n\n### Further Information:\n`classificationRequiresSharePassword`: When a node has this classification or higher, it cannot be shared without a password. If the node is an encrypted file this policy has no effect. `0` means no password will be enforced.\n","operationId":"requestClassificationPoliciesConfigInfo","parameters":[{"description":"Authentication token","in":"header","name":"X-Sds-Auth-Token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationPoliciesConfig"}}},"description":"OK"},"401":{"content":{"application/json":{"examples":{"-10006":{"description":"\n* [-10006] User is not authorized to perform this operation","summary":"User is not authorized to perform this operation","value":{"code":401,"debugInfo":"User is not authorized to perform this operation","errorCode":-10006,"message":"Unauthorized"}},"-10012":{"description":"\n* [-10012] Wrong token","summary":"Wrong token","value":{"code":401,"debugInfo":"Wrong token","errorCode":-10012,"message":"Unauthorized"}}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Unauthorized"},"406":{"content":{"application/json":{"examples":{"null":{"description":"Acceptable Content-Types are: `[application/json]`","summary":"Content type not acceptable","value":{"code":406,"debugInfo":"Content type '...' not acceptab