In my Slim 4 API, I have a group of routes which manages vehicles (= resource). Overall they look like this: