https://scomnewbie.github.io//posts/apiwithpode/
Build a Powershell API with Pode - SCOMnewbie learnings