cozy / cozy-client-js

Javascript library to write Cozy applications
https://docs.cozy.io/en/cozy-client-js/README/
MIT License
11 stars 12 forks source link

feat: add method to fetch capabilities #302

Closed taratatach closed 4 years ago

taratatach commented 4 years ago

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.

taratatach commented 4 years ago

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 :).