mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
Reset the reset (#8079)
This commit is contained in:
67
docs/static/openapi.json
vendored
67
docs/static/openapi.json
vendored
@@ -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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user