Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Api Versioning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-api-versioning)
---
description: Evolve HTTP APIs safely without breaking clients using additive changes, versioning policies, and Sunset deprecation headers
profile: standard
tags: api, architecture, backend, contracts
---
# API versioning
Use when changing existing REST/JSON endpoints, deprecating fields, or introducing breaking API revisions.
## Non-breaking evolution
- Favor additive backwards-compatible changes: add optional fields, keep existing field types/enum semantics, and avoid reusing deprecated field names.
- Never silently change response status codes, date formats, pagination envelopes, or error shapes in place.
## Versioning and deprecation
- Choose one explicit version boundary (URI prefix `/v1/...` or versioned media/date header) and keep internal domain services shared via thin version adapters rather than duplicating business logic.
- Emit RFC 8594 `Deprecation` and `Sunset` response headers plus migration docs long before removing old versions, and instrument per-version caller telemetry to confirm traffic reaches zero before retirement.
## Verify
Run contract tests across all supported API versions simultaneously and assert old client payloads continue passing unchanged.