Retrieve the full product category catalog from the SharePoint CMS.
Returns all published categories and the catalog timestamp. Data is sourced from cms/catalog.json, which is generated by the SharePoint sync script at build time and refreshed via ISR at runtime.Method:GET Path:/api/categorias Caching: SWR 300 s (5 minutes)
This route is covered by the "/api/categorias/**": { swr: 300 } rule in nuxt.config.ts. Responses are served stale while Nitro revalidates in the background every 5 minutes.
For menu rendering, use the companion navigation endpoint:GET /api/nav/categoriasThis endpoint returns a tree structure with children arrays and an indexBySlug map, optimised for building nested navigation menus. It accepts a productLimit query parameter (1–12, default 8) to include a limited product list per category node.