new CategoriesController()
- Source:
Controller for the @namespace /categories
Extends
Methods
(async) index()
- Source:
GET / Fetch all categories
(async) show(id)
- Source:
GET /:id Fetch specific category by identifier
Parameters:
| Name | Type | Description |
|---|---|---|
id |
int |