add top menu

This commit is contained in:
2026-03-26 13:22:10 +01:00
parent ca27cbea1c
commit c09e525736
10 changed files with 403 additions and 190 deletions

View File

@@ -1236,6 +1236,51 @@
}
}
},
"/api/v1/restricted/menu/get-top-menu": {
"get": {
"tags": ["Menu"],
"summary": "Get top menu",
"description": "Returns the top-level menu items for the current language. Requires authentication.",
"operationId": "getTopMenu",
"security": [
{
"CookieAuth": []
}
],
"responses": {
"200": {
"description": "Top menu retrieved successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiResponse"
}
}
}
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Not authenticated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/api/v1/restricted/meili-search/search": {
"get": {
"tags": ["Search"],