Repository navigation
docs(api): make templates and teams pages envelope-first - #3138
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
- lead templates page with POST /envelope/use and /envelope/distribute; label /template/* deprecated - legacy /template/use returns no signingUrl; document the real responses - teams page: /team/* REST endpoints are not exposed; reframe around team-scoped tokens - fix fabricated pagination wrappers; replace false Teams API card on the index page
GET /envelope without type returns templates as well as documents; add type=DOCUMENT to every document-list example so counts and results match the prose
a86b316 to
f353706
Compare
Description
The templates page was built entirely on deprecated
/template/*endpoints without mentioning the replacement, and the teams page advertised REST endpoints that are not exposed.Changes Made
POST /envelope/use(verified request/response, includingrecipients[].signingUrl) andPOST /envelope/distribute; every legacy/template/*section is labeled deprecated and points to the migration guide./template/useresponse: it returns a document object withoutsigningUrl(docs previously invented one)./team/*OpenAPI declarations are commented out in the router, so no REST endpoints exist; documented token-derived team context instead; added the envelope deprecation banner; migrated template examples to envelope equivalents.paginationwrappers on both pages to the real flat shape.Testing Performed
Docs-only change. Verified against
template-router/router.ts(deprecated flags),use-envelope.types.ts/use-envelope.ts,distribute-envelope.types.ts, andteam-router.