Logo
Logo

VS Code Extension

Explore a GenesisDB store from Visual Studio Code.

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

ActionRoute
CommitPOST /api/v2/commit
FetchPOST /api/v2/fetch
QueryPOST /api/v2/query
Subjects, TypesGET /api/v2/subjects, GET /api/v2/types
Register Schema, SchemasPOST /api/v2/schemas, GET /api/v2/schemas
ErasePOST /api/v2/admin/erase
Status, AuditGET /api/v2/status, GET /api/v2/admin/audit
RestorePOST /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:

json
{
  "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.