provider desktop_file_system_shortcut POST /api/projects/{project_id}/desktop_file_system_shortcut/
@utdk/posthog /api/projects/{project_id}/desktop_file_system_shortcut/
desktop_file_system_shortcut_create
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.
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
desktopFileSystemShortcutCreate
POST/api/projects/{project_id}/desktop_file_system_shortcut/
Sidebar shortcuts for the desktop product surface. Reuses all FileSystemShortcutViewSet behaviour but is scoped to the "desktop" surface, so its shortcuts are fully isolated from the default "web" surface.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required
required

Display path of the shortcut in the sidebar.

Type of the linked item (e.g. 'folder', 'insight'), or blank.

Reference to the linked item, scoped to its type. Null for href-only shortcuts.

Destination URL the shortcut opens. Null when the shortcut points at an item by ref.

Display order within the user's shortcut list, ascending.

required
required

Resolved access level the user has for the object this entry references ('none' means the user can't open it). Null when access controls don't apply to the entry type.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.desktopFileSystemShortcutCreate()