provider desktop_file_system PATCH
/api/projects/{project_id}/desktop_file_system/{id}/canvas/ @utdk/posthog
/api/projects/{project_id}/desktop_file_system/{id}/canvas/ desktop_file_system_canvas_partial_update
Publish a new version of a freeform canvas's React source.
Merges into the dashboard row's `meta` (never replaces it), so existing
keys like `channelId`/`templateId` survive. Appends a full-file version
snapshot and points `currentVersionId` at it — the server-side mirror of
the app's dashboardsService.saveFreeform.
- id path required
- A UUID string identifying this file system.
- string
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.desktopFileSystemCanvasPartialUpdate()