MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

MethodhandleDeleteItem
handleDeleteItem archives (soft-deletes) an item.
internal/server/handlers_items.go:3021
MethodhandleDeleteItemCommitment
handleDeleteItemCommitment removes an item's schedule and its managed reminder. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/commitment
internal/server/handlers_schedules.go:336
MethodhandleDeleteItemGrant
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_grants.go:297
MethodhandleDeleteItemLink
handleDeleteItemLink removes a link between items.
internal/server/handlers_item_links.go:190
MethodhandleDeleteMilestoneChild
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_milestone.go:161
MethodhandleDeletePushDevice
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
MethodhandleDeleteReminder
handleDeleteReminder disarms a reminder by removing it. DELETE /api/v1/workspaces/{slug}/reminders/{reminderID}
internal/server/handlers_reminders.go:281
MethodhandleDeleteShareLink
handleDeleteShareLink deletes a share link.
internal/server/handlers_share_links.go:301
MethodhandleDeleteToken
handleDeleteToken revokes an API token by ID.
internal/server/handlers_tokens.go:153
MethodhandleDeleteUserToken
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
MethodhandleDeleteView
handleDeleteView removes a saved view.
internal/server/handlers_views.go:286
MethodhandleDeleteWatch
handleDeleteWatch removes the authenticated user's watch on an item. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/watch
internal/server/handlers_watches.go:92
MethodhandleDeleteWebhook
handleDeleteWebhook removes a webhook by ID.
internal/server/handlers_webhooks.go:135
MethodhandleDeleteWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:696
MethodhandleDeleteWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:306
MethodhandleDenyCLIAuthSession
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
MethodhandleDisableAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:92
MethodhandleDiscardCollabSetAside
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
MethodhandleDismissEndedCommitment
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
MethodhandleDismissUI
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
FunctionhandleDisplay
()
web/e2e/pane-full-page-host.spec.ts:315
MethodhandleEnableAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:113
MethodhandleEnsureChatConversation
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:96
MethodhandleExportAccount
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
MethodhandleExportItemArtifact
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
MethodhandleExportWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:903
MethodhandleForgotPassword
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
MethodhandleGetAgenda
handleGetAgenda serves GET /api/v1/workspaces/{ws}/agenda?from&to&tz.
internal/server/handlers_agenda.go:183
MethodhandleGetAgentRole
handleGetAgentRole returns a single agent role by ID or slug.
internal/server/handlers_agent_roles.go:71
MethodhandleGetAppInstall
GET /workspaces/{ws}/apps/{installID}: the install's state and its hook.
internal/server/app_webhooks.go:78
MethodhandleGetAppInstallPending
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:614
MethodhandleGetAppsSettings
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
MethodhandleGetBootstrap
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
MethodhandleGetCalendar
handleGetCalendar serves GET /api/v1/workspaces/{ws}/collections/{collSlug}/calendar.
internal/server/handlers_calendar.go:65
MethodhandleGetCatchUp
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
MethodhandleGetChanges
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
MethodhandleGetChatConversation
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:170
MethodhandleGetCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:366
MethodhandleGetCommitmentGates
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_gates.go:67
MethodhandleGetCurrentUser
handleGetCurrentUser returns the full profile of the authenticated user.
internal/server/handlers_auth.go:1500
MethodhandleGetDashboard
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_dashboard.go:379
MethodhandleGetDecisionSettings
handleGetDecisionSettings: GET /api/v1/admin/decision-provider. Admin-only.
internal/server/decision_settings.go:331
MethodhandleGetDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:104
MethodhandleGetItemBacklinks
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
MethodhandleGetItemBuiltin
handleGetItemBuiltin: GET /workspaces/{ws}/items/{ref}/builtin. Readable by anyone who can read the item.
internal/server/handlers_builtin.go:144
MethodhandleGetItemChildren
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
MethodhandleGetItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:187
MethodhandleGetItemContext
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_item_context.go:137
MethodhandleGetItemLinks
handleGetItemLinks returns all links (both directions) for an item.
internal/server/handlers_item_links.go:14
MethodhandleGetItemProgress
handleGetItemProgress returns completion progress for an item's children. Response: {"total": N, "done": N, "percentage": N}
internal/server/handlers_items.go:4052
MethodhandleGetItemRelationBacklinks
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
MethodhandleGetItemStarStatus
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
MethodhandleGetItemVersion
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
MethodhandleGetItemVersionDiff
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
MethodhandleGetMCPSettings
handleGetMCPSettings: GET /api/v1/admin/mcp. Admin-only.
internal/server/handlers_admin_mcp.go:299
MethodhandleGetMe
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
MethodhandleGetMemberCollectionAccess
handleGetMemberCollectionAccess returns a member's collection access mode and granted IDs.
internal/server/handlers_members.go:777
MethodhandleGetMyNotification
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
MethodhandleGetNotificationSettings
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
MethodhandleGetPlanLimits
--- 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
MethodhandleGetProjectChangelog
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
MethodhandleGetProjectNext
--- 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
MethodhandleGetProjectStandup
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
MethodhandleGetReport
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
MethodhandleGetReportLayout
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
MethodhandleGetShareLinkAttachment
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
MethodhandleGetUserByCustomerID
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
MethodhandleGetUserByID
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
MethodhandleGetVersion
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_versions.go:34
MethodhandleGetWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:605
MethodhandleGetWorkspaceGraph
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
MethodhandleGetWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:224
MethodhandleHealth
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:90
MethodhandleHealthLive
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
MethodhandleHealthReady
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
MethodhandleICSFeed
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:148
MethodhandleImportArtifact
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
MethodhandleImportStatus
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
MethodhandleInviteMember
handleInviteMember creates an invitation or directly adds a user if they exist.
internal/server/handlers_members.go:99
MethodhandleIssueAppInstallCode
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_provision.go:356
MethodhandleItemsSortOrder
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
FunctionhandleKey
(e: KeyboardEvent)
web/src/lib/scroll/restore.svelte.ts:424
MethodhandleLibraryEntry
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
MethodhandleLimitConnectedAppToCurrent
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
FunctionhandleLinkClick
* 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
MethodhandleListAgentRoles
handleListAgentRoles returns all agent roles for a workspace.
internal/server/handlers_agent_roles.go:13
MethodhandleListAppInstalls
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
MethodhandleListArchivedCollections
handleListArchivedCollections answers GET /workspaces/{ws}/archived-collections (TASK-2189): the workspace's archived collections with their item coun
internal/server/handlers_collections.go:787
MethodhandleListBillingUsers
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
MethodhandleListCalendarFeeds
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_calendar_feeds.go:104
MethodhandleListChatConversations
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:78
MethodhandleListChatMessages
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:193
MethodhandleListCollabSetAside
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
MethodhandleListCollectionGrants
--- Collection Grant handlers ---
internal/server/handlers_grants.go:13
MethodhandleListCollectionItems
handleListCollectionItems lists items within a specific collection.
internal/server/handlers_items.go:583
MethodhandleListCollectionShareLinks
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_share_links.go:266
MethodhandleListCollections
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:72
MethodhandleListComments
handleListComments returns all comments for an item.
internal/server/handlers_comments.go:20
MethodhandleListCommitmentLinks
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:246
MethodhandleListConnectedApps
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
← previousnext →27,301–27,400 of 28,840, ranked by callers