Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
Method
handleDeleteItem
handleDeleteItem archives (soft-deletes) an item.
internal/server/handlers_items.go:3021
Method
handleDeleteItemCommitment
handleDeleteItemCommitment removes an item's schedule and its managed reminder. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/commitment
internal/server/handlers_schedules.go:336
Method
handleDeleteItemGrant
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_grants.go:297
Method
handleDeleteItemLink
handleDeleteItemLink removes a link between items.
internal/server/handlers_item_links.go:190
Method
handleDeleteMilestoneChild
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_milestone.go:161
Method
handleDeletePushDevice
handleDeletePushDevice answers DELETE /api/v1/me/push-devices/{connection_id}. Idempotent: a device that is not registered is a success too.
internal/server/handlers_push_devices.go:181
Method
handleDeleteReminder
handleDeleteReminder disarms a reminder by removing it. DELETE /api/v1/workspaces/{slug}/reminders/{reminderID}
internal/server/handlers_reminders.go:281
Method
handleDeleteShareLink
handleDeleteShareLink deletes a share link.
internal/server/handlers_share_links.go:301
Method
handleDeleteToken
handleDeleteToken revokes an API token by ID.
internal/server/handlers_tokens.go:153
Method
handleDeleteUserToken
handleDeleteUserToken revokes an API token, verifying it belongs to the user. A workspace-pinned token may revoke only the tokens it can list (BUG-398
internal/server/handlers_tokens.go:291
Method
handleDeleteView
handleDeleteView removes a saved view.
internal/server/handlers_views.go:286
Method
handleDeleteWatch
handleDeleteWatch removes the authenticated user's watch on an item. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/watch
internal/server/handlers_watches.go:92
Method
handleDeleteWebhook
handleDeleteWebhook removes a webhook by ID.
internal/server/handlers_webhooks.go:135
Method
handleDeleteWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:696
Method
handleDeleteWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:306
Method
handleDenyCLIAuthSession
handleDenyCLIAuthSession refuses a pending CLI auth session (TASK-2253). POST /api/v1/auth/cli/sessions/{code}/deny The code is the authority, not an
internal/server/handlers_cli_auth.go:251
Method
handleDisableAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:92
Method
handleDiscardCollabSetAside
handleDiscardCollabSetAside deletes the item's set-aside rows, which clears the superseded_set_aside state without writing the body. It needs edit per
internal/server/handlers_collab_set_aside.go:42
Method
handleDismissEndedCommitment
handleDismissEndedCommitment is POST .../commitment/dismiss-ended: an editor takes an ended schedule out of Outstanding while the item stays open. The
internal/server/handlers_schedule_end.go:36
Method
handleDismissUI
handleDismissUI: PUT /me/ui-dismissals/{key} → {dismissed: [...]}, the set as this write left it. Idempotent. A key outside the allow-list is 400.
internal/server/handlers_ui_dismissals.go:41
Function
handleDisplay
()
web/e2e/pane-full-page-host.spec.ts:315
Method
handleEnableAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:113
Method
handleEnsureChatConversation
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:96
Method
handleExportAccount
handleExportAccount handles GET /api/v1/auth/export. Streams user data as JSON, processing one workspace at a time to avoid loading everything into me
internal/server/handlers_account.go:588
Method
handleExportItemArtifact
handleExportItemArtifact serializes a single playbook or convention item to the portable artifact form (Markdown body + YAML frontmatter) and returns
internal/server/handlers_artifact_export.go:62
Method
handleExportWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:903
Method
handleForgotPassword
handleForgotPassword generates a password reset token and sends it via email. Always returns 200 regardless of whether the email exists (prevents enum
internal/server/handlers_auth.go:1736
Method
handleGetAgenda
handleGetAgenda serves GET /api/v1/workspaces/{ws}/agenda?from&to&tz.
internal/server/handlers_agenda.go:183
Method
handleGetAgentRole
handleGetAgentRole returns a single agent role by ID or slug.
internal/server/handlers_agent_roles.go:71
Method
handleGetAppInstall
GET /workspaces/{ws}/apps/{installID}: the install's state and its hook.
internal/server/app_webhooks.go:78
Method
handleGetAppInstallPending
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:614
Method
handleGetAppsSettings
handleGetAppsSettings answers on Cloud too, as GET /admin/mcp does, with cloud: true: reading the state is harmless, and only the PUT is operator-mana
internal/server/handlers_apps_install.go:724
Method
handleGetBootstrap
handleGetBootstrap is the HTTP handler for `GET api/v1/workspaces/{ws}/agent/bootstrap`. It returns the consolidated AgentBootstrap blob in one round-
internal/server/handlers_bootstrap.go:1143
Method
handleGetCalendar
handleGetCalendar serves GET /api/v1/workspaces/{ws}/collections/{collSlug}/calendar.
internal/server/handlers_calendar.go:65
Method
handleGetCatchUp
handleGetCatchUp returns the per-user "catch me up" digest (TASK-3615): what others did in the workspace since the viewer last marked it caught up, at
internal/server/handlers_catch_up.go:49
Method
handleGetChanges
handleGetChanges returns items modified since a given timestamp, one bounded page at a time. GET /api/v1/workspaces/{ws}/changes?since=<unix_milliseco
internal/server/handlers_changes.go:93
Method
handleGetChatConversation
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:170
Method
handleGetCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:366
Method
handleGetCommitmentGates
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_gates.go:67
Method
handleGetCurrentUser
handleGetCurrentUser returns the full profile of the authenticated user.
internal/server/handlers_auth.go:1500
Method
handleGetDashboard
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_dashboard.go:379
Method
handleGetDecisionSettings
handleGetDecisionSettings: GET /api/v1/admin/decision-provider. Admin-only.
internal/server/decision_settings.go:331
Method
handleGetDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:104
Method
handleGetItemBacklinks
handleGetItemBacklinks serves `GET /api/v1/workspaces/{ws}/items/{itemSlug}/backlinks` — the REST surface for PLAN-1593's reverse `[[...]]` index. Ret
internal/server/handlers_backlinks.go:43
Method
handleGetItemBuiltin
handleGetItemBuiltin: GET /workspaces/{ws}/items/{ref}/builtin. Readable by anyone who can read the item.
internal/server/handlers_builtin.go:144
Method
handleGetItemChildren
handleGetItemChildren returns all child items linked to a parent item. This is the generalized version — children can come from any collection.
internal/server/handlers_items.go:3981
Method
handleGetItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:187
Method
handleGetItemContext
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_item_context.go:137
Method
handleGetItemLinks
handleGetItemLinks returns all links (both directions) for an item.
internal/server/handlers_item_links.go:14
Method
handleGetItemProgress
handleGetItemProgress returns completion progress for an item's children. Response: {"total": N, "done": N, "percentage": N}
internal/server/handlers_items.go:4052
Method
handleGetItemRelationBacklinks
handleGetItemRelationBacklinks answers "which items point at this one through a relation field?" (PLAN-2857 U5 / TASK-2997). Separate from handleGetI
internal/server/handlers_relation_backlinks.go:32
Method
handleGetItemStarStatus
handleGetItemStarStatus returns whether the authenticated user has starred a specific item. GET /api/v1/workspaces/{slug}/items/{itemSlug}/star
internal/server/handlers_stars.go:251
Method
handleGetItemVersion
handleGetItemVersion returns a single version with its diff resolved to full content. The paginated timeline serves raw reverse-patch text (it can't r
internal/server/handlers_item_versions.go:151
Method
handleGetItemVersionDiff
handleGetItemVersionDiff answers the change one version row records: the bodies before and after its write (PLAN-2348 U2). Same access as reading the
internal/server/handlers_item_versions.go:191
Method
handleGetMCPSettings
handleGetMCPSettings: GET /api/v1/admin/mcp. Admin-only.
internal/server/handlers_admin_mcp.go:299
Method
handleGetMe
handleGetMe returns the current authenticated user's workspace context. This is the foundation primitive for client-side permission gating (PLAN-1100
internal/server/handlers_me.go:69
Method
handleGetMemberCollectionAccess
handleGetMemberCollectionAccess returns a member's collection access mode and granted IDs.
internal/server/handlers_members.go:777
Method
handleGetMyNotification
handleGetMyNotification answers GET /api/v1/me/notifications/{id} (TASK-3939 B2b): what the app shows after a content-free push, which carries only an
internal/server/handlers_notifications.go:36
Method
handleGetNotificationSettings
handleGetNotificationSettings answers GET /api/v1/me/notification-settings: the caller's settings, or the defaults when they never saved any.
internal/server/handlers_push_devices.go:226
Method
handleGetPlanLimits
--- Public Plan Limits (TASK-511) --- handleGetPlanLimits returns the configured plan limits for free and pro tiers. GET /api/v1/plan-limits — public
internal/server/handlers_cloud.go:1542
Method
handleGetProjectChangelog
handleGetProjectChangelog serves: GET /workspaces/{slug}/changelog?days=N&since=YYYY-MM-DD&parent=REF days (optional, default 7) — lookback wind
internal/server/handlers_project_intel.go:475
Method
handleGetProjectNext
--- GET /workspaces/{slug}/next --- handleGetProjectNext returns the dashboard's suggested_next array — the same data `pad project next --format json`
internal/server/handlers_project_intel.go:281
Method
handleGetProjectStandup
handleGetProjectStandup serves GET /workspaces/{slug}/standup?days=N. days (optional, default 1) — lookback window for "completed" items. See parse
internal/server/handlers_project_intel.go:333
Method
handleGetReport
handleGetReport serves the windowed project report (PLAN-1628 / TASK-1630): GET /workspaces/{slug}/report?window=week&collections=tasks,bugs window
internal/server/handlers_reports.go:19
Method
handleGetReportLayout
handleGetReportLayout returns the current user's saved Insights layout for the workspace (PLAN-1628 / TASK-1634), or surface defaults when none/no use
internal/server/handlers_reports.go:124
Method
handleGetShareLinkAttachment
handleGetShareLinkAttachment serves a rendered image variant for an attachment embedded in a shared item/collection's content. GET /api/v1/s/{token}/a
internal/server/handlers_share_attachments.go:134
Method
handleGetUserByCustomerID
handleGetUserByCustomerID handles GET /api/v1/admin/user-by-customer?customer_id=cus_xxx. Called by the pad-cloud sidecar during Stripe subscription w
internal/server/handlers_cloud.go:1015
Method
handleGetUserByID
handleGetUserByID handles GET /api/v1/admin/user-by-id?user_id=… (TASK-3549). The sidecar reads a user's stored Stripe customer BEFORE writing one, so
internal/server/handlers_cloud.go:1070
Method
handleGetVersion
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_versions.go:34
Method
handleGetWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:605
Method
handleGetWorkspaceGraph
handleGetWorkspaceGraph serves GET /api/v1/workspaces/{ws}/graph. Query params: - include_terminal=true — include items in terminal status (done/fixe
internal/server/handlers_graph.go:100
Method
handleGetWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:224
Method
handleHealth
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:90
Method
handleHealthLive
handleHealthLive is a lightweight liveness probe — always returns 200 if the process is running. Kubernetes uses this to decide whether to restart the
internal/server/handlers_workspaces.go:116
Method
handleHealthReady
handleHealthReady is a readiness probe — returns 200 only when the service can accept traffic (DB connection healthy). Kubernetes uses this to decide
internal/server/handlers_workspaces.go:123
Method
handleICSFeed
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:148
Method
handleImportArtifact
handleImportArtifact imports a single playbook/convention artifact (Markdown body + YAML frontmatter) into the workspace's playbooks/conventions colle
internal/server/handlers_artifact_import.go:74
Method
handleImportStatus
handleImportStatus answers GET /workspaces/import-status?key=: the outcome of the caller's own import attempt. 404 when this server holds no such key
internal/server/import_outcomes.go:174
Method
handleInviteMember
handleInviteMember creates an invitation or directly adds a user if they exist.
internal/server/handlers_members.go:99
Method
handleIssueAppInstallCode
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_provision.go:356
Method
handleItemsSortOrder
handleItemsSortOrder is PUT /workspaces/{ws}/items/sort-order (TASK-3517): set sort_order for many items at once, all or nothing. The web reorder use
internal/server/handlers_items_sort_order.go:53
Function
handleKey
(e: KeyboardEvent)
web/src/lib/scroll/restore.svelte.ts:424
Method
handleLibraryEntry
handleLibraryEntry returns a single library entry by exact title match. Lookup precedence — conventions first, then playbooks — mirrors the dispatche
internal/server/handlers_library_entry.go:34
Method
handleLimitConnectedAppToCurrent
handleLimitConnectedAppToCurrent: POST /api/v1/connected-apps/{id}/limit-to-current Turns a wildcard connection into a specific list of the workspaces
internal/server/handlers_connected_apps.go:504
Function
handleLinkClick
* The click handler for an anchor whose href is /messages*. A plain left * click opens the surface; anything else (modifier, middle button, target,
web/src/lib/stores/chatSurface.svelte.ts:530
Method
handleListAgentRoles
handleListAgentRoles returns all agent roles for a workspace.
internal/server/handlers_agent_roles.go:13
Method
handleListAppInstalls
GET /workspaces/{ws}/apps: the workspace's installs, owner-only. Unlike the other install doors it answers while apps are off, with available false an
internal/server/app_webhooks.go:175
Method
handleListArchivedCollections
handleListArchivedCollections answers GET /workspaces/{ws}/archived-collections (TASK-2189): the workspace's archived collections with their item coun
internal/server/handlers_collections.go:787
Method
handleListBillingUsers
handleListBillingUsers handles GET /api/v1/admin/billing-users?after=<user_id>&limit=N (TASK-3564). The Pad Cloud sidecar's reconcile sweep pages thro
internal/server/handlers_cloud.go:1110
Method
handleListCalendarFeeds
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:104
Method
handleListChatConversations
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:78
Method
handleListChatMessages
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:193
Method
handleListCollabSetAside
handleListCollabSetAside returns the item's set-aside rows as raw updates (update_data is base64 in JSON), in their original op-log order. Anyone who
internal/server/handlers_collab_set_aside.go:26
Method
handleListCollectionGrants
--- Collection Grant handlers ---
internal/server/handlers_grants.go:13
Method
handleListCollectionItems
handleListCollectionItems lists items within a specific collection.
internal/server/handlers_items.go:583
Method
handleListCollectionShareLinks
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_share_links.go:266
Method
handleListCollections
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:72
Method
handleListComments
handleListComments returns all comments for an item.
internal/server/handlers_comments.go:20
Method
handleListCommitmentLinks
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:246
Method
handleListConnectedApps
handleListConnectedApps returns every active OAuth connection the requesting user has authorized, enriched with last-used + 30-day call counts from th
internal/server/handlers_connected_apps.go:111
← previous
next →
27,301–27,400 of 28,840, ranked by callers