[PR #2401] [CLOSED] docs: mark all v1 API endpoints as deprecated #2275

Closed
opened 2026-02-26 20:33:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2401
Author: @ephraimduncan
Created: 1/20/2026
Status: Closed

Base: mainHead: duncan/legacy-api-endpoints


📝 Commits (2)

  • fd94a40 docs: mark all v1 API endpoints as deprecated
  • 1bc090c chore: add v1 API deprecation callouts and clean up imports

📊 Changes

9 files changed (+151 additions, -10 deletions)

View changed files

.agents/scratches/v1-api-legacy-deprecation-spec.md (+103 -0)
📝 apps/documentation/pages/developers/public-api/index.mdx (+4 -0)
📝 apps/documentation/pages/developers/public-api/versioning.mdx (+2 -0)
📝 packages/api/v1/contract.ts (+37 -4)
📝 packages/api/v1/openapi.ts (+2 -1)
📝 packages/lib/client-only/hooks/use-element-scale-size.ts (+1 -1)
📝 packages/trpc/server/webhook-router/find-webhook-calls.ts (+1 -1)
📝 packages/trpc/server/webhook-router/resend-webhook-call.ts (+1 -2)
📝 packages/trpc/server/webhook-router/resend-webhook-call.types.ts (+0 -1)

📄 Description

Add deprecated flag and migration message to all 19 v1 API endpoints to signal users should migrate to the v2 API.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2401 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 1/20/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `duncan/legacy-api-endpoints` --- ### 📝 Commits (2) - [`fd94a40`](https://github.com/documenso/documenso/commit/fd94a403afe3afa87c2d7e942ac8b768883d39c3) docs: mark all v1 API endpoints as deprecated - [`1bc090c`](https://github.com/documenso/documenso/commit/1bc090cb839dd6a25e2f46cb5364312a730b60d8) chore: add v1 API deprecation callouts and clean up imports ### 📊 Changes **9 files changed** (+151 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `.agents/scratches/v1-api-legacy-deprecation-spec.md` (+103 -0) 📝 `apps/documentation/pages/developers/public-api/index.mdx` (+4 -0) 📝 `apps/documentation/pages/developers/public-api/versioning.mdx` (+2 -0) 📝 `packages/api/v1/contract.ts` (+37 -4) 📝 `packages/api/v1/openapi.ts` (+2 -1) 📝 `packages/lib/client-only/hooks/use-element-scale-size.ts` (+1 -1) 📝 `packages/trpc/server/webhook-router/find-webhook-calls.ts` (+1 -1) 📝 `packages/trpc/server/webhook-router/resend-webhook-call.ts` (+1 -2) 📝 `packages/trpc/server/webhook-router/resend-webhook-call.types.ts` (+0 -1) </details> ### 📄 Description Add deprecated flag and migration message to all 19 v1 API endpoints to signal users should migrate to the v2 API. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2275
No description provided.