ShellBase
ShellBase manages servers, SSH sessions, policies and the audit log of all of it. Each part of the product is its own API with its own subdomain and its own scopes. A token is valid for exactly one team — here an “organisation” is called a team; otherwise the flow is the same as for Methacore: authorize at artim/dev, exchange at artim/dev, call the API under its subdomain.
APIs
| API | Host | Contents | Requests |
|---|---|---|---|
| Server API | servers.api.shellbase.artim-industries.com/v1 | The team's server inventory: create, maintain, decommission. | 8 |
| Session API | sessions.api.shellbase.artim-industries.com/v1 | SSH sessions, their commands and the verdict on each. | 7 |
| Policy API | policies.api.shellbase.artim-industries.com/v1 | Which commands are allowed on which servers. | 6 |
| Audit API | audit.api.shellbase.artim-industries.com/v1 | The audit log: who did what, when, on which server. | 3 |
| Relay API | relays.api.shellbase.artim-industries.com/v1 | The agents for servers without a public address. | 8 |
| Member API | members.api.shellbase.artim-industries.com/v1 | Team members, their permissions, invitations and seats. | 8 |
| Team API | team.api.shellbase.artim-industries.com/v1 | The team itself: plan, counts, metrics. | 4 |
Shared rules
- One subdomain per API. A token for the Server API does not get past the Session API, not even through the path.
- One team per token. When authorizing, the user approves exactly one team.
- Scopes as fine as the feature. Whatever needs special protection hangs on a scope of its own — not on the scope of the whole section.
- Read and write. Creating, editing and deleting follow the same pattern in every section; see Writing endpoints.
First steps
- Read Product APIs & OAuth — the route to a token.
- Enable an API in the console and link the account.
- Create a client, authorize, get a token, start asking.