markusressel / DataMunch

Android App for managing FreeNAS
GNU General Public License v3.0
3 stars 0 forks source link

Support for API v2 #7

Open markusressel opened 5 years ago

markusressel commented 5 years ago

From https://www.ixsystems.com/documentation/freenas/11.2/api.html:

A new API was released with FreeNAS® 11.1. The previous API is still present and in use because it is feature-complete. Documentation for the new API is available on the FreeNAS® system at the /api/docs/ URL. For example, if the FreeNAS® system is at IP address 192.168.1.119, enter http://192.168.1.119/api/docs/ in a browser to see the API documentation. Work is under way to make the new API feature-complete. The new APIv2 uses WebSockets. This advanced technology makes it possible to open interactive communication sessions between web browsers and servers, allowing event-driven responses without the need to poll the server for a reply. When APIv2 is feature-complete, the FreeNAS® documentation will include relevant examples that make use of the new API.

markusressel commented 5 years ago

This is implemented in https://github.com/markusressel/freenas-rest-api-client/issues/2

markusressel commented 5 years ago

Since it would be very hard to support the old and new api with the same GUI the support for API V1 will be dropped in DataMunch when API V2 is feature-complete and fully implemented in https://github.com/markusressel/freenas-rest-api-client/ .

GitHub
markusressel/freenas-rest-api-client
FreeNAS REST Api Client written in Kotlin using RxKotlin and Fuel - markusressel/freenas-rest-api-client