This commit is contained in:
seb
2026-06-29 19:42:04 +02:00
parent 3bff749b49
commit b320887508
2 changed files with 51 additions and 27 deletions

View File

@@ -13,7 +13,7 @@ export function register(app, basePath = '') {
* @query {string} [filter] - Optional comma-separated category filter IDs (empty = all)
* @query {number} [offset=0] - Number of results to skip
* @query {number} [maxCount=10] - Maximum number of results to return
* @returns {Object} 200 - `{ katagg, length, recordset }`
* @returns {Object} 200 - `{ categories, length, recordset }`
* @returns {Object} 400 - `{ error }` when target is missing
*/
app.get(`${basePath}/article/search`, async (req, res) => {