Document API versioning strategies and version differences
Create API versioning documentation for:
**API Name:** {{API_NAME}}
**Versioning Strategy:** {{STRATEGY}} (URL path, header, query param)
**Current Versions:** {{VERSIONS}}
**Version Differences:**
{{DIFFERENCES}}
Generate comprehensive versioning documentation:
# {{API_NAME}} API Versioning
## Versioning Strategy
**Method:** {{STRATEGY}}
### How to Specify Version
#### URL Path (Recommended)
```
https://api.example.com/v2/resource
```
#### Header
```
Accept: application/vnd.api+json; version=2
```
#### Query Parameter
```
https://api.example.com/resource?api-version=2
```
## Current Versions
| Version | Status | Support Until |
|---------|--------|---------------|
| v3 | Current | - |
| v2 | Maintained | 2025-06-01 |
| v1 | Deprecated | 2024-12-01 |
## Version Comparison
### Feature Availability
| Feature | v1 | v2 | v3 |
|---------|----|----|-----|
| Feature A | ✓ | ✓ | ✓ |
| Feature B | ✗ | ✓ | ✓ |
| Feature C | ✗ | ✗ | ✓ |
## Version-Specific Documentation
### API v3 (Current)
#### What's New
- New feature 1
- New feature 2
#### Endpoints
| Endpoint | Changes from v2 |
|----------|-----------------|
### API v2
#### Differences from v1
| Change | v1 | v2 |
|--------|----|----|
### API v1 (Deprecated)
**Deprecation Notice:** This version will be removed on [date]
## Migration Guides
### v2 to v3
[Link or content]
### v1 to v2
[Link or content]
## Best Practices
- Always specify version
- Test against new versions
- Plan for migrations
## Version Lifecycle
- Alpha → Beta → GA → Deprecated → Removed
## Support Policy
Version support timelineOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{API_NAME][{STRATEGY][{VERSIONS][{DIFFERENCES]