Edit project files in a protected workspace.
The Web IDE loads files from the selected project after server-side ownership checks. It supports file creation, editing, and saving; its console is a safe preview, not a shell or deployment runner.
The file API validates relative paths and caps workspaces at 250 files, 256 KB per file, and 2 MB total. It does not expose files to another user’s account.
Supported commands are help, ls, cat <path>, and clear. Other input is rejected by the preview console.
From your signed-in dashboard, open a project and choose Open IDE. The route requires that project’s real ID and session; the preview below uses no customer workspace.
/ide/[workspaceId]·GET/PATCH /api/workspaces/[id]/filesFollow the integration, one step at a time.
Explore real LeonardX contracts with sample code and a simulated terminal. This walkthrough never uses credentials, contacts endpoints, or changes account data.
Walkthrough scenario
The existing workspace editor uses the authenticated project-files route.
Open a real workspace
The dynamic IDE route receives a workspace ID; the server checks ownership before returning project files.
<Link href={`/ide/${encodeURIComponent(workspaceId)}`}> Open workspace</Link>Execution preview
Synchronized to the highlighted code
[SIMULATION] Navigation not performed
Route: /ide/[workspaceId]
Workspace files are loaded only after server-side ownership checks
Open and save files: step 1 of 2. Open a real workspace