Expand description
Authenticated HTTP client for the gitorii.com backend.
Every call carries Authorization: Bearer gitorii_sk_<key> from
crate::auth. Translates HTTP status into actionable ToriiErrors the
CLI can surface verbatim:
401 → “API key rejected. Run torii auth login to refresh.”
402 → “current plan
insufficient. Upgrade at
Modules§
- whoami
- GET /api/v1/whoami — verify API key + load org info.