refactor: API structure refactor and testing. No api changes
- refactor: remove instance and place it in decidim. instance -> decidim/*
- refactor: remove webhooks and place it in notification
- tests: add a test suit to test the refactor
===
Why
- We talk in natural language about Decidim and instance for the same thing: Decidim Instance. We know have only one directory "Decidim" that exposes the endpoint
firstInstall
and is merged with the model Instance. - Webhooks are saved in DB for safety but come directly from our voca gem tasks. As strapi don't control what this service send to him, it is not safe to exposes an API. It's why we have notification model. Webhook stores private informations, Notification public outcomes.