Skip to content

Add project routes API - #219

Draft
ricardo-agz wants to merge 2 commits into
mainfrom
ricardo/project-routes-api
Draft

Add project routes API#219
ricardo-agz wants to merge 2 commits into
mainfrom
ricardo/project-routes-api

Conversation

@ricardo-agz

@ricardo-agz ricardo-agz commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add sync and async clients for all eight project-routes API operations
  • expose the clients through Vercel.project_routes and AsyncVercel.project_routes
  • add RewriteRoute for typed, Python-native route authoring while preserving a typed mapping escape hatch
  • expose semantic operation arguments instead of raw REST request bodies
  • add structured errors, package documentation, release metadata, and sync/async coverage

Why

Python users currently need raw HTTP requests to manage project-level routing
rules. This adds the equivalent of the JavaScript SDK's projectRoutes surface
while providing a Python-native authoring experience. Routing rules can be
staged, inspected, generated, edited, deleted, published, restored, or
discarded from Python.

Validation

  • uv run poe qa vercel
  • 862 tests passed, 27 skipped

Expose routing-rule and version operations through sync and async clients so Python users can manage project routes without raw requests.
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
vercel-py Ready Ready Preview Jul 31, 2026 8:53pm

Request Review

Expose RewriteRoute and semantic operation arguments so Python users can author routing rules without constructing REST request bodies.
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