Conjuring data with APIs
summary
Shows how to turn OpenAPI/Swagger schemas into usable PowerShell functions using Invoke-RestMethod, demonstrates auth patterns (Basic and Bearer), builds a Nexus blob‑store create function live and eventually gets it working, explains pagination with -FollowRelLink in PowerShell 7, recommends parameter sets and guardrails (supports ShouldProcess, Force, ConfirmImpact), warns about ConvertTo-Json depth, sketches Pester testing with mocks, and mentions PowerShell Universal and Postman for exploration. Session recording details appear in the uploader note.
AI-written summary · about
chapters (8)
- 0:00API data with PowerShell
- 16:47REST APIs and authentication
- 28:42PowerShell from Swagger
- 48:36Live Swagger PowerShell
- 55:42Safe delete and guardrails
- 1:08:27API modules UX and testing
- 1:22:48API responses and errors
- 1:29:00Q&A
related talks
25mCreating Automation with APIs and PowerShell
44mPowerShell and MS Graph API Advanced, from Zero to Hero
26mPowerShell Oddities & Curiosities: Language Quirks You Forgot (or Never Knew)
53mUncovering Swagger/OpenAPI
37mCreating Web-Based Tools with PowerShell Universal
47mPowerShell + AutoRest + Swagger = Instant Modules
45mGitHub Actions for Fun and Profit
01h 03mThe Zen of Powershell - PowerShell for the C# dev
