markusressel / freenas-api-client

Easy to use FreeNAS Api client
MIT License
2 stars 0 forks source link

Support for API v2 #2

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.

Some work has already been done like splitting the library in seperate modules for the different api versions and the groundwork for the websocket connection and message exchange.

Since API V2 is not officially feature complete yet, specific implementation of all possible api calls might be delayed up until official FreeNas release.

markusressel commented 4 years ago

Since the release of FreeNAS 11.3 the new API is finalized: https://www.ixsystems.com/blog/library/freenas-11-3-release/

iXsystems, Inc. - Enterprise Storage & Servers
FreeNAS 11.3-RELEASE - iXsystems, Inc. - Enterprise Storage & Servers
We are pleased to announce the general availability of FreeNAS 11.3-RELEASE! The 11.3 series represents a year-long development effort and brings with it a wide variety of improvements and fixes. Please read these Release Notes thoroughly before updating to become familiar with the potential impacts of the many new features brought in by this update. …
markusressel commented 4 years ago

https://github.com/square/kotlinpoet

GitHub
square/kotlinpoet
A Kotlin API for generating .kt source files. Contribute to square/kotlinpoet development by creating an account on GitHub.