A .NET Core based REST API that exposes access to ZFS.
The API can run on both linux and windows - but obviously if you run on windows it will only be able to manage zfs on another host.
This is configured in the appsettings.json - whether or not to use a remote connection or not.
The API itself requires dotnet 6.0 - and if you run on linux - then it expects a working PAM solution, so it can use PAM to authenicate the users calling the api.
Installation is manual for now - but there is a deploy.sh file as an example for linux deployments.
There is also a zfs-api.service unit file, that can be used if you want to run the api as a service on linux.
Latest release is: https://github.com/bjornbouetsmith/ROOT.Zfs.Api/releases/tag/v1.0.4
If you want to help make this library greater either by
- Contributing code
- Writing examples
- Better documentation
- Packages for linux installations or any other OS
- Providing scripts so a deployment of a VM can happen, where the ZFS library can be tested against - this can be either Azure or EC2. (only the scripts to automate creation of the VM, create required pools etc.)
or in any other way, feel free to contact @bjornbouetsmith.
It is still early days, but if you manage to get the API running on a server, you can access the API documentation via the url: