~/talk

From API to usable PowerShell module

links:none on file
slides:none on file

A PowerShell module that wraps the Octopus Deploy REST API, built by calling invoke-restmethod and consolidating common work into invoke-octopus-method, handles paging (tasks returned 104 items at 30/page), authenticates via X-Octopus-ApiKey from credential XML or environment variables, and exposes PS type names and formatting plus parameter completers so objects show methods (machines, releases) and tab completion. Emphasis is on a small core set of CRUD commands, tolerant JSON updates, and growing functionality organically rather than full API coverage.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Agenda
  3. 2:12API Basics
  4. 4:04Selfcontained requests
  5. 6:04Authentication
  6. 7:39Terraform
  7. 8:39Curl
  8. 9:48Links
  9. 10:48API vs User Command
  10. 13:10The Gap
  11. 13:27Pareto Principle
  12. 16:23Case Study
  13. 17:05Octopus Deploy
  14. 17:34Octopus Job
  15. 19:10Project Reports
  16. 22:16Demo
  17. 22:31Azure Machine
  18. 22:51Import module
  19. 33:46Get Octopus
  20. 36:16Get Project
  21. 38:38Types Formats
  22. 42:31Parameter completers
  23. 43:09Updating and completing
  24. 46:26Browser Dev Tools
  25. 47:36Quick Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.