I have been attempting to get started with teh above version of PSTK, to get away from ZAPI and onto REST.
I have set up a clean Windows environment and installed the PSTK module.
My test cluster is running OnTAP 9.10.1p8. I can connect just fine to it using ZAPI; but when I try to use this version of the toolkit, I get 401 authorization error. The user I am using has an admin role, so should have access to all APIs.
I have been trying to find some specific documentation/examples, but have not found any yet.
I hve a lot of background with PSTK and ZAPI, so I just need to know what is different using REST. Can anyone direct me to some use examples?
According to NetApp documentation - You should be able to connect to storage using the existing ps cmdlet "Connect-NcController" and once connected then I think it uses 'curl command' within Powershell which invokes the GET /api/* or may be.
PowerShell Toolkit: For existing ONTAP PowerShell Toolkit customers, the transition from ONTAPI to the ONTAP REST API will be managed internally by the tool itself. By FY22 Q4 timeframe , the ONTAP PowerShell Toolkit will prompt users for ONTAPI or ONTAP REST API usage, according to the underlying ONTAP version.