This document outlines the planned changes to our v2 API, including breaking changes and migration paths.
Our v1 API has served us well, but several pain points have emerged:
All endpoints will follow REST naming conventions with snake_case:
GET /v2/deployments
GET /v2/deployments/:id
POST /v2/deployments
PATCH /v2/deployments/:id
DELETE /v2/deployments/:id
All list endpoints return paginated results:
{
"data": ["..."],
"cursor": "eyJpZCI6MTIzfQ",
"has_more": true
}
All requests require a Bearer token:
GET /v2/deployments/:id
Authorization: Bearer {token}
| Phase | Timeline | Action |
|---|---|---|
| Announce | Week 1 | Publish migration guide |
| Dual-run | Weeks 2-8 | Both v1 and v2 active |
| Deprecate | Week 9 | v1 returns deprecation headers |
| Sunset | Week 12 | v1 returns 410 Gone |