Skip to content

Feat(API): add public v1 capabilities endpoint - #602

Merged
erikraft merged 8 commits into
masterfrom
feat/public-api-v1-contract
Oct 14, 2026
Merged

erikraft merged 8 commits into
masterfrom
feat/public-api-v1-contract

Conversation

@erikraft

Copy link
Copy Markdown
Owner

Summary

  • Add a read-only GET /api/v1/capabilities endpoint describing supported transports, integration surfaces, capability flags, and security posture.
  • Preserve the existing /api/cli contract for the iSearch CLI integration.
  • Document the public API's current scope and limitations.
  • Add an HTTP-level regression test and include it in npm test.

Scope and safety

This is capability discovery, not a REST API for initiating transfers. It does not expose pairing secrets or file contents and does not add file storage or a new backend.

Validation

  • Added test/api-capabilities.test.js.
  • Not executed in this environment; CI should run the test suite before merge.
  • The existing CLI endpoint remains unchanged for compatibility.

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
erikraft-drop-fallback Ready Ready Preview Oct 14, 2026 4:22pm UTC

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for discordactivitydrop canceled.

Name Link
🔨 Latest commit 1e4053c
🔍 Latest deploy log https://app.netlify.com/projects/discordactivitydrop/deploys/6acfabe3e5441fd0c9fab037

@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 79a8dfc9-ca68-4b2f-91c4-b777992bbb39
📥 Commits

Reviewing files that changed from the base of the PR and between d90fb4a and 1e4053c.

📒 Files selected for processing: 6
  • .github/workflows/packaging-pr-check.yml
  • docs/index.mdx
  • docs/reference/api-v1.mdx
  • package.json
  • server/server.js
  • test/api-capabilities.test.js
 ______________________________________________________________________________________________________________________________________
< DRY - Don't Repeat Yourself. Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. >
 --------------------------------------------------------------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@erikraft
erikraft temporarily deployed to feat/public-api-v1-contract - ErikrafT Drop – Frontend/Backend PR #602 October 14, 2026 16:20 — with Render Destroyed
@erikraft erikraft changed the title feat(api): add public v1 capabilities endpoint Feat(API): add public v1 capabilities endpoint Oct 14, 2026
@erikraft
erikraft marked this pull request as ready for review October 14, 2026 16:25
@erikraft
erikraft merged commit 991f677 into master Oct 14, 2026
11 of 12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1e4053c3 Deployed Oct 14, 2026 by vercel[bot]
feat/public-api-v1-contract - ErikrafT Drop – Frontend/Backend PR #602 — 1e4053c3 Deployed Oct 14, 2026 by erikraft
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