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
handleListDocumentActivity
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_activity.go:123
Method
handleListDocuments
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:20
Method
handleListItemActivity
handleListItemActivity returns the activity feed for a specific item.
internal/server/handlers_items.go:4688
Method
handleListItemAppActions
handleListItemAppActions: GET …/items/{ref}/app-actions.
internal/server/app_item_actions.go:114
Method
handleListItemDecisions
handleListItemDecisions returns an item's latest typed-decision answer per question (TASK-3117). An answer computed from an earlier state of the item
internal/server/handlers_decisions.go:16
Method
handleListItemGrants
--- Item Grant handlers ---
internal/server/handlers_grants.go:184
Method
handleListItemReminders
handleListItemReminders returns every reminder on an item, armed or fired. GET /api/v1/workspaces/{slug}/items/{itemSlug}/reminders ARCHIVED ITEMS AR
internal/server/handlers_reminders.go:68
Method
handleListItemShareLinks
handleListItemShareLinks lists share links for an item.
internal/server/handlers_share_links.go:230
Method
handleListItemTimeline
handleListItemTimeline returns a unified, chronological timeline for an item, newest first, with cursor-based pagination. Request: `limit=N` (default
internal/server/handlers_timeline.go:57
Method
handleListItemVerifications
handleListItemVerifications returns an item's verdicts with their state. GET /api/v1/workspaces/{slug}/items/{itemSlug}/verifications[?all=1] By defa
internal/server/handlers_verifications.go:56
Method
handleListItemVersions
handleListItemVersions returns all versions for an item with diffs resolved.
internal/server/handlers_item_versions.go:24
Method
handleListItems
handleListItems lists all items across collections in a workspace.
internal/server/handlers_items.go:50
Method
handleListItemsChanges
handleListItemsChanges is the delta-fetch sibling of handleListItemsIndex. Returns rows that have mutated since the caller's `?since=<seq>` cursor, in
internal/server/handlers_items.go:404
Method
handleListItemsIndex
handleListItemsIndex returns the skinny-projection of every item in a workspace — same row set as handleListItems but without the rich-text `content`
internal/server/handlers_items.go:220
Method
handleListMembers
handleListMembers returns all members of a workspace. Requires at least viewer role (guests are blocked). Invitation details are only included for wor
internal/server/handlers_members.go:22
Method
handleListMyInvitations
handleListMyInvitations answers GET /api/v1/me/invitations (PLAN-3002 U4b / TASK-3277): the pending, unexpired invitations addressed to the caller's e
internal/server/handlers_my_invitations.go:23
Method
handleListPlaybooks
handleListPlaybooks returns playbook metadata for the workspace. Same shape as the bootstrap blob's `playbooks` field, hand-rolled here so callers can
internal/server/handlers_playbooks.go:138
Method
handleListSessions
handleListSessions returns the caller's OWN live event-stream connections (PLAN-2558 S1). It is the read side of the presence registry described in se
internal/server/handlers_sessions.go:45
Method
handleListStarredItems
handleListStarredItems returns one bounded page of the authenticated user's starred items in a workspace (BUG-3790). GET /api/v1/workspaces/{slug}/sta
internal/server/handlers_stars.go:145
Method
handleListTags
handleListTags returns the distinct tags used across the workspace's items with per-tag item counts, ordered by count desc then tag asc. Respects the
internal/server/handlers_items.go:151
Method
handleListTemplates
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:188
Method
handleListTokens
handleListTokens returns all API tokens for a workspace (without secrets).
internal/server/handlers_tokens.go:131
Method
handleListTutorials
handleListTutorials: GET /tutorials. Cloud only (404 on a self-hosted server). {available, paths, tutorials, demos}; available=false when the catalog
internal/server/tutorials.go:219
Method
handleListUIDismissals
The caller's dismissed one-time UI suggestions (TASK-3452): the first-time tutorial cards. Stored on the user so a dismissal holds on every device. Ke
internal/server/handlers_ui_dismissals.go:21
Method
handleListUserGrants
--- User grants (cross-cutting) ---
internal/server/handlers_grants.go:344
Method
handleListUserTokens
--- User-scoped token endpoints --- handleListUserTokens returns all API tokens owned by the authenticated user. A workspace-pinned token sees only th
internal/server/handlers_tokens.go:190
Method
handleListVersions
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_versions.go:11
Method
handleListViews
handleListViews returns all saved views for a collection.
internal/server/handlers_views.go:16
Method
handleListWatches
handleListWatches lists every watch the authenticated user holds, across all workspaces they belong to (TASK-2533 — a watch is personal, not workspace
internal/server/handlers_watches.go:137
Method
handleListWebhooks
handleListWebhooks returns all webhooks for a workspace. Restricted to owners since webhook URLs may contain secret tokens.
internal/server/handlers_webhooks.go:93
Method
handleListWorkspaceActivity
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_activity.go:12
Method
handleListWorkspaceAttachments
handleListWorkspaceAttachments returns a paginated list of original (non-derived) attachments in the workspace. Supports filter + sort + pagination vi
internal/server/handlers_storage.go:164
Method
handleListWorkspaceBuiltins
handleListWorkspaceBuiltins: GET /workspaces/{ws}/builtins, the state of every item made from a built-in, for the library page. One query reads them a
internal/server/handlers_builtin.go:176
Method
handleListWorkspaceGroups
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_groups.go:201
Method
handleListWorkspaceTabs
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspace_tabs.go:118
Method
handleLocalReset
handleLocalReset is the self-host account-recovery escape hatch for an operator who is locked out — forgot the only admin password and has no email pr
internal/server/handlers_auth.go:1814
Method
handleLogin
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_auth.go:1286
Method
handleLogout
handleLogout destroys the session and clears the cookie. It handles both cookie-based sessions (web) and Bearer token sessions (CLI).
internal/server/handlers_auth.go:1442
Method
handleMCPConnectionAudit
handleMCPConnectionAudit returns the audit rows for one of the requesting user's MCP connections. id is the OAuth request_id (chain identifier — the
internal/server/handlers_mcp_audit.go:121
Method
handleMCPToolSurface
handleMCPToolSurface serves the MCP tool-surface descriptor JSON — the nine catalog tools, their actions (each with a read_only bool), and their input
internal/server/handlers_mcp.go:119
Method
handleMarkCaughtUp
handleMarkCaughtUp moves the viewer's cursor for the workspace to now. It takes no body: a client-supplied time could move the cursor into the future
internal/server/handlers_catch_up.go:217
Method
handleMarkChatDelivered
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:361
Method
handleMarkChatRead
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_chat.go:338
Method
handleMeAgenda
handleMeAgenda serves the admitted, visible workspaces as one bounded agenda.
internal/server/handlers_me_agenda.go:26
Method
handleMintItemAppAction
handleMintItemAppAction: POST …/items/{ref}/app-actions/{installID}/{actionKey}. The caller is the viewer. The mint re-checks, under the redeem's lock
internal/server/app_item_actions.go:142
Method
handleMoveCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:400
Method
handleMoveItem
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_items.go:3160
Method
handleOAuthAuthorizationServer
handleOAuthAuthorizationServer serves RFC 8414 "OAuth 2.0 Authorization Server Metadata" at /.well-known/oauth-authorization-server. Replaces the 501
internal/server/handlers_well_known.go:126
Method
handleOAuthAuthorizeDecide
===================================================================== oauth/authorize/decide — process consent decision ==============================
internal/server/handlers_oauth.go:951
Method
handleOAuthClaim
POST /api/v1/oauth/claim — claim-code redemption endpoint (PLAN-1519 / TASK-1521 / IDEA-1517 §4). Lets the user grant an existing OAuth connection ac
internal/server/handlers_oauth_claim.go:59
Method
handleOAuthClientPublicInfo
handleOAuthClientPublicInfo serves the public metadata for a registered OAuth client. Auth-required at the route level (see the /api/v1 group in serve
internal/server/handlers_oauth_clients.go:78
Method
handleOAuthIntrospect
===================================================================== oauth/introspect — RFC 7662 token introspection ================================
internal/server/handlers_oauth.go:1650
Method
handleOAuthLink
--- OAuth Provider Linking (TASK-504) --- handleOAuthLink handles POST /api/v1/auth/oauth-link. Called by the pad-cloud sidecar after an OAuth flow in
internal/server/handlers_cloud.go:730
Method
handleOAuthLogin
--- OAuth Login (TASK-430) --- handleOAuthLogin handles POST /api/v1/auth/oauth-login. Called by the pad-cloud sidecar after completing an OAuth flow.
internal/server/handlers_cloud.go:205
Method
handleOAuthProtectedResource
handleOAuthProtectedResource serves RFC 9728 "OAuth 2.0 Protected Resource Metadata" at /.well-known/oauth-protected-resource on the MCP vhost (mcp.ge
internal/server/handlers_well_known.go:53
Method
handleOAuthRegister
handleOAuthRegister implements RFC 7591 Dynamic Client Registration. Public clients only — no client_secret is generated or returned. PKCE is the only
internal/server/handlers_oauth.go:299
Method
handleOAuthRevoke
===================================================================== oauth/revoke — RFC 7009 token revocation =======================================
internal/server/handlers_oauth.go:1563
Method
handleOAuthToken
===================================================================== oauth/token — code exchange + refresh-token rotation ===========================
internal/server/handlers_oauth.go:1356
Method
handleOAuthUnlink
handleOAuthUnlink handles POST /api/v1/auth/oauth-unlink. Removes a linked OAuth provider. Requires the user to have a usable password (to prevent loc
internal/server/handlers_cloud.go:828
Method
handleOpenAIAppsChallenge
handleOpenAIAppsChallenge serves OpenAI's plugin domain verification token at /.well-known/openai-apps-challenge (TASK-3321 G4). OpenAI fetches it fro
internal/server/handlers_openai_challenge.go:17
Function
handleOpenTarget
(target: PaneTarget)
web/src/lib/collections/paneHostController.ts:342
Method
handleOpenWorkspaceTab
handleOpenWorkspaceTab: POST {slug, ephemeral}. A workspace outside the caller's visible set answers the workspace 404 (BUG-3069), the same answer an
internal/server/handlers_workspace_tabs.go:130
Function
handlePaneBack
()
web/src/lib/collections/paneHostController.ts:357
Function
handlePaneNavigateAway
(url: string)
web/src/lib/collections/paneHostController.ts:399
Method
handlePatchItem
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_items_patch.go:142
Method
handlePaymentFailed
handlePaymentFailed handles POST /api/v1/admin/payment-failed. Called by the pad-cloud sidecar when it receives an invoice.payment_failed webhook from
internal/server/handlers_cloud.go:1412
Method
handlePlansProgress
handlePlansProgress returns child item completion progress for all non-deleted plans. Kept as a backward-compat endpoint at /plans-progress; delegates
internal/server/handlers_items.go:3864
Method
handlePlaybookLibrary
handlePlaybookLibrary returns the global playbook library. Query params (all optional): - category=<name> — return only the matching category. Case-s
internal/server/handlers_playbook_library.go:21
Method
handlePollCLIAuthSession
handlePollCLIAuthSession checks the status of a CLI auth session. The CLI polls this until the session is approved or expired. GET /api/v1/auth/cli/se
internal/server/handlers_cli_auth.go:65
Method
handlePreviewCommitmentMove
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitment_links.go:397
Method
handlePreviewInvitation
handlePreviewInvitation returns non-consuming metadata about an invitation so the /join page can prefill the invited email (read-only) and pick regist
internal/server/handlers_members.go:700
Method
handlePushToItem
handlePushToItem publishes a self-addressed watchevents.KindPush notification (IDEA-2544 Phase 1) — the "push this to my agent" verb: an explicit, use
internal/server/handlers_push.go:184
Method
handlePutCommitmentForecast
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_milestone.go:74
Method
handlePutMilestoneChild
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_milestone.go:136
Method
handlePutNotificationSettings
handlePutNotificationSettings answers PUT /api/v1/me/notification-settings: a full replace. All seven booleans are required, and an unknown member is
internal/server/handlers_push_devices.go:243
Method
handlePutPushDevice
handlePutPushDevice answers PUT /api/v1/me/push-devices/{connection_id}.
internal/server/handlers_push_devices.go:130
Method
handleRearmReminder
handleRearmReminder moves a reminder's instant, clearing its fire marks. PATCH /api/v1/workspaces/{slug}/reminders/{reminderID}
internal/server/handlers_reminders.go:150
Method
handleRedeemAppInstallCode
handleRedeemAppInstallCode is mounted outside every auth middleware: the code is the credential. Every refusal is the same 400 so the route says nothi
internal/server/handlers_apps_provision.go:378
Method
handleRegister
Registration is restricted to admins or users with a valid invitation code so invitees can create an account via the /join/[code] flow.
internal/server/handlers_auth.go:683
Method
handleReleaseItem
handleReleaseItem clears the caller's lease. Idempotent: releasing an absent or expired lease answers released=false, never an error.
internal/server/handlers_item_lease.go:93
Method
handleRemoveConnectedAppWorkspace
handleRemoveConnectedAppWorkspace: DELETE /api/v1/connected-apps/{id}/workspaces/{slug} Slug-path version (URL-friendlier than a body-payload DELETE).
internal/server/handlers_connected_apps.go:582
Method
handleRemoveMember
handleRemoveMember removes a user from a workspace.
internal/server/handlers_members.go:268
Method
handleRemoveReaction
handleRemoveReaction removes an emoji reaction from a comment.
internal/server/handlers_comments.go:546
Method
handleRenameConnectedApp
handleRenameConnectedApp: PATCH /api/v1/connected-apps/{id}/name Body: {"name": "..."} — trimmed + capped at 120 BYTES, rune-safe (matches the consent
internal/server/handlers_connected_apps.go:421
Method
handleRenegotiateItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:404
Method
handleReopenItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_schedule_reopen.go:11
Method
handleReorderWorkspaceTabs
handleReorderWorkspaceTabs: PUT [slug, …], the bar's full order. Slugs the caller cannot see, or that are not open, are ignored silently (the answer a
internal/server/handlers_workspace_tabs.go:170
Method
handleResendVerification
handleResendVerification re-sends an email-verification link for an UNVERIFIED account (PLAN-1933 DR-5). Enumeration-safe: it ALWAYS returns 200 with
internal/server/handlers_auth.go:2204
Method
handleResetPassword
handleResetPassword validates a reset token and sets a new password.
internal/server/handlers_auth.go:1911
Method
handleResolveCrossWorkspaceRef
handleResolveCrossWorkspaceRef implements IDEA-1492's resolver route. GET /-/r/{workspace}/{REF} The `/-/r/` prefix is structurally impossible to c
internal/server/handlers_ref_resolver.go:46
Method
handleResolveItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:364
Method
handleResolveShareLink
handleResolveShareLink is the /s/{token} route. It resolves a share link token and returns the shared content. Anonymous users are ALWAYS read-only (D
internal/server/handlers_share_links.go:497
Method
handleRestoreCollection
handleRestoreCollection answers POST workspaces/{ws}/archived-collections/{collRef}/restore (TASK-2189), by id or slug: it un-archives the collection,
internal/server/handlers_collections.go:825
Method
handleRestoreDocument
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_documents.go:287
Method
handleRestoreItem
handleRestoreItem restores an archived item.
internal/server/handlers_items.go:3070
Method
handleRestoreItemVersion
handleRestoreItemVersion restores an item's content from a specific version.
internal/server/handlers_item_versions.go:228
Method
handleRevokeConnectedApp
handleRevokeConnectedApp invalidates every token in the OAuth grant chain identified by the URL id parameter, after verifying ownership. 404 vs 403:
internal/server/handlers_connected_apps.go:209
Method
handleRoleBoard
handleRoleBoard returns items across all collections grouped by agent role. This powers the standalone role board page in the web UI.
internal/server/handlers_role_board.go:84
Method
handleRoleBoardLaneReorder
handleRoleBoardLaneReorder updates sort_order for roles (lane ordering).
internal/server/handlers_role_board.go:59
Method
handleRoleBoardReorder
handleRoleBoardReorder updates role_sort_order for items within a lane. Permission is checked per-item via requireEditPermission (grant-aware), so gue
internal/server/handlers_role_board.go:13
← previous
next →
27,401–27,500 of 28,840, ranked by callers