- Add mask_api_key() and is_masked_or_placeholder() to llm_provider service - Return masked keys in all provider CRUD endpoints - Reject masked/placeholder keys in fetch_models and test_provider_config - Show masked key with Change button in ProviderConfig.svelte edit form - Exclude masked keys from fetch-models, test, and submit payloads on frontend - Update semantics-core skill with clarified complexity tier rules - Switch agent modes from subagent to all
63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"/api/v1/menu/": {
|
|
"get": {
|
|
"description": "Get the menu data structure. Returns a forest like structure with the menu the user has access to",
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"result": {
|
|
"description": "Menu items in a forest like data structure",
|
|
"items": {
|
|
"properties": {
|
|
"childs": {
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"icon": {
|
|
"description": "Icon name to show for this menu item",
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"description": "Pretty name for the menu item",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The internal menu item name, maps to permission_name",
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"description": "The URL for the menu item",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"description": "Get menu data"
|
|
},
|
|
"401": {
|
|
"$ref": "#/components/responses/401"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"jwt": []
|
|
}
|
|
],
|
|
"tags": [
|
|
"Menu"
|
|
]
|
|
}
|
|
}
|
|
}\n |