Reset the reset (#8079)

This commit is contained in:
Engel Nyst
2025-04-25 00:59:37 +02:00
committed by GitHub
parent 4deffa3907
commit 9b1aaa53fe
10 changed files with 38 additions and 336 deletions

View File

@@ -1646,6 +1646,32 @@
}
}
},
"/api/reset-settings": {
"post": {
"summary": "Reset settings (Deprecated)",
"description": "This endpoint is deprecated and will return a 410 Gone error. Reset functionality has been removed.",
"operationId": "resetSettings",
"deprecated": true,
"responses": {
"410": {
"description": "Feature removed",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Reset settings functionality has been removed."
}
}
}
}
}
}
}
}
},
"/api/unset-settings-tokens": {
"post": {
"summary": "Unset settings tokens",
@@ -1685,45 +1711,6 @@
}
}
},
"/api/reset-settings": {
"post": {
"summary": "Reset settings",
"description": "Reset user settings to defaults",
"operationId": "resetSettings",
"responses": {
"200": {
"description": "Settings reset successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
},
"500": {
"description": "Error resetting settings",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/api/options/models": {
"get": {
"summary": "Get models",
@@ -2095,4 +2082,4 @@
"bearerAuth": []
}
]
}
}