Nextcloud app with multiple routes

please delete this, I found a solution here

https://docs.nextcloud.com/server/16/developer_manual/app/requests/controllers.html