Expand description
Spaces, and the things that live in them: secrets. Also the caller’s own account resources — SSH keys — and the instance’s system configuration.
Verified against the GitFox API v1.3.0 OpenAPI document:
| Operation | Endpoint |
|---|---|
| memberships | GET /api/v1/user/memberships |
| root spaces | GET /api/v1/spaces |
| one space | GET /api/v1/spaces/{space_ref} |
| list secrets | GET /api/v1/spaces/{space_ref}/secrets |
| get secret | GET /api/v1/secrets/{secret_ref} |
| create secret | POST /api/v1/secrets |
| update secret | PATCH /api/v1/secrets/{secret_ref} |
| delete secret | DELETE /api/v1/secrets/{secret_ref} |
| SSH keys | GET / POST /api/v1/user/keys, DELETE …/keys/{identifier} |
| system config | GET /api/v1/system/config |
{secret_ref} is space/identifier with the slashes encoded, exactly like
a repository reference — checked against a live instance, where the
unencoded form answers 404.
Structs§
Functions§
- encode_
ref org/team→org%2Fteam, as a space or secret reference travels in a path.