update sentences API
All checks were successful
Deploy to Production / deploy (push) Successful in 22s
All checks were successful
Deploy to Production / deploy (push) Successful in 22s
This commit is contained in:
@@ -32,6 +32,10 @@ router.post('/:id/add-images', contextController.addImages);
|
||||
// Status 4 -> 5: Approve
|
||||
router.post('/:id/approve', contextController.approveContext);
|
||||
|
||||
// Search contexts: partial match on title/context + filter by type_image, status, etc.
|
||||
// Body: { search, title, context_text, type_image, type, status, grade, page, limit }
|
||||
router.post('/search', contextController.searchContexts);
|
||||
|
||||
// Get all contexts (with optional filters)
|
||||
router.get('/', contextController.getAllContexts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user