Skip to content

Add user (Basic auth) to Connect-RPC API reference endpoints#194

Open
beran-t wants to merge 1 commit intomainfrom
api-ref-missing-user
Open

Add user (Basic auth) to Connect-RPC API reference endpoints#194
beran-t wants to merge 1 commit intomainfrom
api-ref-missing-user

Conversation

@beran-t
Copy link
Copy Markdown
Contributor

@beran-t beran-t commented Apr 13, 2026

Summary

  • Adds a SandboxUserAuth (HTTP Basic) security scheme to the OpenAPI spec for 8 Connect-RPC endpoints that accept an optional user via the Authorization header
  • The user parameter is a transport-level concern (not a protobuf field), so it was previously missing from the generated API reference
  • Affected endpoints: Process/Start, Filesystem/ListDir, Filesystem/MakeDir, Filesystem/Move, Filesystem/Remove, Filesystem/Stat, Filesystem/WatchDir, Filesystem/CreateWatcher
  • Endpoints that don't pass user (Process/Connect, Process/List, etc.) are unchanged

The `user` parameter is sent as an Authorization: Basic header but isn't
part of the protobuf message, so it was missing from the generated API
reference. Add a SandboxUserAuth security scheme and inject it into the
8 Connect-RPC endpoints that support it.
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 13, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview Apr 13, 2026, 11:04 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant