You can access the :id inside the controller by using ctx.params to get the parameters
so
const { id } = ctx.params;
this would extract the :id that was requested if you are sending this an array you can desctructure it but I would then send it with more params
2 Likes