Raw API
Reach any panel endpoint with this machine's credential, the way gh api reaches GitHub.
stechbd api reaches any panel endpoint with this machine's credential, the way gh api reaches GitHub. It is also how to use an endpoint that a newer panel has added:
stechbd api get /servers
stechbd api get /apps/01J.../deployments --query limit=5
stechbd api post /tokens --data @token.json
echo '{"name":"blog"}' | stechbd api patch /projects/01J... --data -Every endpoint has a command, and a command does not offer every field — a server's provider token, say, which would otherwise have to be typed into a shell.
The path is relative to /api/v1, and one copied with that prefix works too. --data is parsed before anything is sent, and a body on get or delete is refused rather than dropped.