MantisBase v0.4.9
Loading...
Searching...
No Matches
entity_routes.h File Reference

Unified entity CRUD route handlers and registration. More...

#include "../types.h"
Include dependency graph for entity_routes.h:

Go to the source code of this file.

Namespaces

namespace  mb

Functions

MbHandlerFn mb::entityGetManyHandler ()
MbHandlerFn mb::entityGetOneHandler ()
MbHandlerFn mb::entityPostHandler ()
MbHandlerFn mb::entityPatchHandler ()
MbHandlerFn mb::entityDeleteHandler ()
void mb::registerAdminEntityRoutes (const MantisBase &app)

Detailed Description

Unified entity CRUD route handlers and registration.

Factory functions return handlers wired to /api/v1/entities/:entity_name routes. Admin-only entity routes are registered separately via registerAdminEntityRoutes.