The Cozy's capabilities route is separated from the rest of the
instance's settings so we need a method to fetch this resource.
It's necessary to know which Swift layout is used by the Cozy and if
it's using flat or nested subdomains.
This is not necessary anymore and Cozy Desktop now uses cozy-client when necessary so if we ever need to access the capabilities, we'll use cozy-client as well.
Thanks for the review though :).
The Cozy's capabilities route is separated from the rest of the instance's settings so we need a method to fetch this resource. It's necessary to know which Swift layout is used by the Cozy and if it's using flat or nested subdomains.