MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

MethodhandleRotateAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:128
MethodhandleRotateUserToken
handleRotateUserToken generates a new secret for an existing token, invalidating the old one. The token metadata is preserved.
internal/server/handlers_tokens.go:323
MethodhandleRunPlaybook
handleRunPlaybook parses the caller's args against the playbook's declared argument spec and returns the rendered body + bound args. Side-effect-free:
internal/server/handlers_playbooks.go:479
MethodhandleSaveReportLayout
handleSaveReportLayout upserts the current user's Insights layout for the workspace. Per-user; requires an authenticated user. PUT /workspaces/{slug
internal/server/handlers_reports.go:153
MethodhandleSendChatMessage
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:234
MethodhandleServerCapabilities
WHAT A BUILD THAT CANNOT DECODE A FORMAT ACTUALLY COSTS THE READER (BUG-2964, documented here because this endpoint is where a client asks what this b
internal/server/handlers_capabilities.go:130
MethodhandleServerIdentity
(w http.ResponseWriter, r *http.Request)
internal/server/server_identity.go:30
MethodhandleSessionActivity
handleSessionActivity writes only the credential user's worker activity. POST /api/v1/sessions/activity
internal/server/handlers_sessions.go:120
MethodhandleSessionCheck
handleSessionCheck returns current auth status.
internal/server/handlers_auth.go:1385
MethodhandleSetMemberCollectionAccess
handleSetMemberCollectionAccess updates a member's collection visibility. Only workspace owners can change other members' access.
internal/server/handlers_members.go:813
MethodhandleSetPlan
handleSetPlan handles POST /api/v1/admin/plan. Called by the pad-cloud sidecar to update a user's billing plan after Stripe subscription events. `sou
internal/server/handlers_cloud.go:583
MethodhandleSetStripeCustomerID
--- Stripe Customer ID (TASK-505) --- handleSetStripeCustomerID handles POST /api/v1/admin/stripe-customer-id. Called by the pad-cloud sidecar after a
internal/server/handlers_cloud.go:918
MethodhandleShareLinkViews
handleShareLinkViews returns view history for a share link. GET /workspaces/{ws}/share-links/{linkID}/views
internal/server/handlers_share_links.go:927
MethodhandleShowPlaybook
handleShowPlaybook returns the full playbook item identified by ref, slug, OR invocation_slug. The resolver walks both invocation_slug (the user-facin
internal/server/handlers_playbooks.go:445
MethodhandleSnoozeNeedsItem
handleSnoozeNeedsItem dismisses or defers an item for the caller, replacing any earlier snooze. PUT /api/v1/workspaces/{slug}/items/{itemSlug}/needs/s
internal/server/handlers_needs_snooze.go:58
MethodhandleStampCollabWatermark
handleStampCollabWatermark is POST /workspaces/{ws}/items/{itemSlug}/collab-watermark (BUG-3124 unit B): a caught-up browser tab whose document still
internal/server/handlers_collab_watermark.go:26
MethodhandleStarItem
handleStarItem stars an item for the authenticated user (idempotent). POST /api/v1/workspaces/{slug}/items/{itemSlug}/star
internal/server/handlers_stars.go:14
MethodhandleStepUpEmail
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:88
MethodhandleStepUpStatus
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:69
MethodhandleStepUpVerify
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_step_up.go:133
MethodhandleStripeEventComplete
handleStripeEventComplete handles POST /api/v1/admin/stripe-event-complete (BUG-3561): the sidecar reports that the handler for a claimed event succee
internal/server/handlers_cloud.go:1245
MethodhandleStripeEventProcessed
--- Stripe Webhook Idempotency (TASK-696) --- handleStripeEventProcessed handles POST /api/v1/admin/stripe-event-processed. Called by the pad-cloud si
internal/server/handlers_cloud.go:1168
MethodhandleStripeEventUnmark
handleStripeEventUnmark handles POST /api/v1/admin/stripe-event-unmark. Called by the pad-cloud sidecar as a best-effort rollback when a webhook handl
internal/server/handlers_cloud.go:1310
MethodhandleTOTPDisable
handleTOTPDisable disables 2FA for the current user. Requires the current password for verification.
internal/server/handlers_2fa.go:181
MethodhandleTOTPLoginVerify
handleTOTPLoginVerify completes a login that requires 2FA verification. Requires a valid challenge token (from the login response) plus a TOTP code or
internal/server/handlers_2fa.go:275
MethodhandleTOTPSetup
handleTOTPSetup generates a TOTP secret and returns the provisioning URI for the user to scan with their authenticator app. The secret is stored but 2
internal/server/handlers_2fa.go:63
MethodhandleTOTPVerify
handleTOTPVerify verifies a TOTP code against the provided secret and enables 2FA if valid. The secret must match the one stored in the database (set
internal/server/handlers_2fa.go:109
MethodhandleTestEmail
handleTestEmail sends a test email to verify the email configuration. Admin-only.
internal/server/handlers_admin.go:179
MethodhandleTestWebhook
handleTestWebhook sends a test payload to the specified webhook.
internal/server/handlers_webhooks.go:163
MethodhandleTutorialPoster
handleTutorialPoster: GET /tutorials/posters/{slug}. Cloud only. Serves the poster the catalog names for slug, fetched once from getpad.dev and kept i
internal/server/tutorials.go:244
MethodhandleUninstallAppInstall
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_lifecycle.go:153
MethodhandleUnsnoozeNeedsItem
handleUnsnoozeNeedsItem removes the caller's snooze, so the item shows in their inbox again. Idempotent: no snooze is not an error. DELETE /api/v1/wor
internal/server/handlers_needs_snooze.go:95
MethodhandleUnstarItem
handleUnstarItem removes a star from an item for the authenticated user. DELETE /api/v1/workspaces/{slug}/items/{itemSlug}/star
internal/server/handlers_stars.go:77
MethodhandleUnsubscribe
handleUnsubscribe processes GET /api/v1/unsubscribe?email=x&token=y This endpoint is unauthenticated — anyone with a valid HMAC token can opt out.
internal/server/handlers_unsubscribe.go:28
MethodhandleUpdateAgentRole
handleUpdateAgentRole updates an existing agent role.
internal/server/handlers_agent_roles.go:92
MethodhandleUpdateAppsSettings
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_apps_install.go:732
MethodhandleUpdateCollection
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_collections.go:397
MethodhandleUpdateComment
handleUpdateComment edits a comment's body. Editing is an authorship operation — distinct from delete, which any item editor may do — so only the comm
internal/server/handlers_comments.go:260
MethodhandleUpdateCommitmentLink
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:329
MethodhandleUpdateConnectedAppFlags
handleUpdateConnectedAppFlags: PATCH /api/v1/connected-apps/{id}/flags Body: {may_create_workspaces, all_current_workspaces}. Both are written atomica
internal/server/handlers_connected_apps.go:462
MethodhandleUpdateCurrentUser
handleUpdateCurrentUser updates the authenticated user's profile. Supports updating name and/or password. Password changes require the current passwor
internal/server/handlers_auth.go:1546
MethodhandleUpdateDecisionSettings
handleUpdateDecisionSettings: PUT /api/v1/admin/decision-provider. Admin-only; refused on Pad Cloud. A field the environment sets is REFUSED rather th
internal/server/decision_settings.go:360
MethodhandleUpdateDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:115
MethodhandleUpdateItem
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_items.go:1470
MethodhandleUpdateMCPSettings
handleUpdateMCPSettings: PUT /api/v1/admin/mcp {enabled}. Admin-only. Refused on Pad Cloud (always on) and when PAD_MCP_ENABLED forces the value: a wr
internal/server/handlers_admin_mcp.go:316
MethodhandleUpdateMemberRole
handleUpdateMemberRole changes a member's role in a workspace.
internal/server/handlers_members.go:315
MethodhandleUpdateUserToken
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_tokens.go:474
MethodhandleUpdateView
handleUpdateView modifies an existing saved view.
internal/server/handlers_views.go:200
MethodhandleUpdateWorkspace
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:653
MethodhandleUpdateWorkspaceGroup
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:275
MethodhandleUpdateWorkspaceTab
handleUpdateWorkspaceTab: PATCH /{slug} {pin?, last_route?}. pin makes an ephemeral tab durable (there is no unpin); last_route replaces the stored ro
internal/server/handlers_workspace_tabs.go:218
MethodhandleVerifyEmail
handleVerifyEmail consumes an email-verification token and flips the owning user's email_verified_at to now (PLAN-1933 DR-5). It backs the link mailed
internal/server/handlers_auth.go:2058
MethodhandleWatchEventsStream
handleWatchEventsStream streams the caller's watch/nudge notifications. GET /api/v1/events/stream (TASK-2533, per DOC-2479's SSE-endpoint design). Un
internal/server/handlers_watch_events.go:105
MethodhandleWorkspaceClaimCode
GET /api/v1/workspaces/{slug}/claim-code — claim-code generation + smart-suppression endpoint (PLAN-1519 / TASK-1525 / IDEA-1517 §4). The "Connect a
internal/server/handlers_claim_code.go:58
Functionhandler
(e: Event)
web/src/lib/components/items/ItemPicker.svelte.test.ts:855
Methodhandler
(w http.ResponseWriter, r *http.Request)
internal/cli/chat_agent_target_test.go:32
Methodhandler
(w http.ResponseWriter, r *http.Request)
cmd/pad/attachment_attach_test.go:24
Methodhandler
(w http.ResponseWriter, r *http.Request)
cmd/pad/comment_edit_delete_test.go:26
Methodhandler
(w http.ResponseWriter, r *http.Request)
cmd/pad/notes_append_gate_test.go:29
Methodhandler
(w http.ResponseWriter, r *http.Request)
cmd/pad/search_collection_gate_test.go:23
FunctionhardBreak
(ed: Doc)
web/src/lib/utils/markdown.renameMarker.svelte.test.ts:132
Methodhardware
True when unmodified Enter sends.
web/src/lib/chat/inputMode.svelte.ts:32
FunctionhasCollectionSearchHandler
()
web/src/lib/stores/ui.svelte.ts:171
FunctionhasDeferredWrite
A write is held under `key` (a heal uses live state instead of the URL then).
web/src/lib/stores/chatSurface.svelte.ts:477
FunctionhasRe
(re: RegExp)
web/src/lib/components/editor/mermaidThemeWiring.test.ts:36
FunctionhasTag
(item: Pick<Item, 'tags'>, tag: string)
web/src/lib/items/localLists.ts:27
FunctionhasUndoMenu
(entry: AgendaEntry)
web/src/lib/calendar/undo.ts:8
Functionheadless
()
web/src/lib/collab/materializer/headless.ts:56
FunctionheldChange
()
web/e2e/bug-3204-cursor-snapback.spec.ts:124
FunctionhighlightAddWorkspace
()
web/src/lib/stores/ui.svelte.ts:142
Functionhistory
()
web/src/lib/stores/toast.svelte.ts:317
FunctionholdFor
(c: (url: string, body: string) => boolean)
web/e2e/bug-3204-cursor-snapback.spec.ts:117
FunctionholdPIDFile
holdPIDFile is a no-op on Windows: there is no flock in the pattern this package uses elsewhere (session_lock_other.go documents the same boundary). O
internal/cli/pidfile_windows.go:15
Functionhref
(v: string)
web/src/routes/(console)/settings/billing/billingInterval.svelte.test.ts:71
Functionhtml
({ text }: Tokens.HTML | Tokens.Tag)
web/src/lib/chat/markdown.ts:31
FunctionidentityEpoch
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:18
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:99
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task2190NoPassword.svelte.test.ts:55
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task3940Notifications.svelte.test.ts:47
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task4315ChatSetting.svelte.test.ts:55
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task2193TokenConfirm.svelte.test.ts:56
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task3867EditTokenAccess.svelte.test.ts:43
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task4101Timezone.svelte.test.ts:68
FunctionidentityEpoch
()
web/src/routes/(console)/settings/account/task3505TokenRotate.svelte.test.ts:63
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:63
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryIdentityFence.svelte.test.ts:42
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryLoadError.svelte.test.ts:10
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/library/library2256.svelte.test.ts:12
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/library/libraryRenamedCollections.svelte.test.ts:12
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/playbooksRenamedCollection.svelte.test.ts:12
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/bug3852BuiltinUpdate.svelte.test.ts:22
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookEditorRenamedCollection.svelte.test.ts:12
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/task2191PlaybookDraftGuard.svelte.test.ts:31
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:109
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/activity/activityFilters.svelte.test.ts:30
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/activity/activityLoadError.svelte.test.ts:31
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/conventions/conventionsBulkToggle.svelte.test.ts:11
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/conventions/conventionsRenamedCollection.svelte.test.ts:11
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/settings/task2190MemberGuards.svelte.test.ts:67
FunctionidentityEpoch
()
web/src/routes/[username]/[workspace]/settings/task3376SystemCollectionPicker.svelte.test.ts:69
← previousnext →27,501–27,600 of 28,840, ranked by callers