Request for REST API info. On release related CRUD actions. (GH#92)
<Originally opened on Github as issue #92 (closed) by larssb on July 6, 2018>
I'm politely requesting info on how the hooks, for managing releases and the like, via the REST API works (if possible at all). I read about them here Kea-1.4-release-notes and in greater detail here Lease-cmds. Do one have to call these cmds directly or is it possible to e.g. via cURL or the like request an API endpoint and get Kea to invoke code resembling the functionality of one of the lease-cmds.
I'm asking as I'm strongly considering using Kea for DHCP and I'm eager to use PowerShell and the cmdlets for REST API interaction for administering Kea itself and the available release management actions. An example of a PowerShell cmdlet could be Invoke-WebRequest.
Is this possible? Or would I have to invoke these commands on the cmdline and the try to marhall the returned output into objects and work it out from there?
I hope I have made myself clear in the above. If not feel free to ask for additional details.
Thank you very much and I'm looking forward to your response.