@Juan_Carlos_Mendez_M we decided that we don’t want to go too deep. So we decided that these are enough:
/routes (POST | GET)
/routes/<uuid> (GET | PUT | PATCH | DELETE) (PUT is only in next branch)
/routes/<uuid>/service (GET | PUT | PATCH | DELETE) (PUT is only in next branch and allows only updating, slightly different than PATCH which allows partial updating)
And similar to services:
/services (POST | GET)
/services/<uuid> (GET | PUT | PATCH | DELETE) (PUT is only in next branch)
/services/<uuid>/routes (POST | GET) (service is automatically attached to route)
/services/<name> (GET | PUT | PATCH | DELETE) (PUT is only in next branch)
/services/<name>/routes (POST | GET) (service is automatically attached to route)