API v2 RESTFULL

JM2K69

Dabbler
Joined
Feb 17, 2019
Messages
22
I have a powershell module which allows me to configure my Freenas with the API in V1, I am modifying it to make it compatible v2 but I have a problem with the JSON object that for v2 to create a Strorage Pool. The documentation is not very complete at URL @IPFREENAS/ api/docs. A little help thank you.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
You should write it against the 11.3 API. In 11.3 the APIv2 is ACL-aware (filesystem.setacl, filesystem.getacl), and support for SMB Share ACLs was also added. Generally, 11.3 is much more feature-rich.
 
Top