Manage connections, commit and fetch events, run GDBQL queries, register schemas, erase reference payloads and restore backups without leaving the editor. Every action comes with an editable example request and shows HTTP status, duration and line count of the answer.
Install from the Visual Studio Marketplace, Source on GitHub
Actions
| Action | Route |
|---|---|
| Commit | POST /api/v2/commit |
| Fetch | POST /api/v2/fetch |
| Query | POST /api/v2/query |
| Subjects, Types | GET /api/v2/subjects, GET /api/v2/types |
| Register Schema, Schemas | POST /api/v2/schemas, GET /api/v2/schemas |
| Erase | POST /api/v2/admin/erase |
| Status, Audit | GET /api/v2/status, GET /api/v2/admin/audit |
| Restore | POST /api/v2/admin/restore, "Load file" reads a backup from disk |
Erase and Restore ask for confirmation. Any answer can be saved to a file.
Connections
Open the GenesisDB view in the activity bar, click "Add Connection" and enter a name, the server URL and a token. Connections live in the user settings:
{
"genesisdb.connections": [
{ "name": "Local", "url": "http://localhost:8080", "authToken": "your-auth-token" }
]
}Version 2.0.0 of the extension targets GenesisDB 2.0. Version 1.0.4 keeps working against a 2.0 server through the legacy route aliases.