https://github.com/maxenglander/jersey-versioning-example
Examples of how to do header-based versioning in Jersey
https://github.com/maxenglander/jersey-versioning-example
Last synced: over 1 year ago
JSON representation
Examples of how to do header-based versioning in Jersey
- Host: GitHub
- URL: https://github.com/maxenglander/jersey-versioning-example
- Owner: maxenglander
- Created: 2013-04-23T02:40:37.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-26T17:39:40.000Z (about 13 years ago)
- Last Synced: 2025-01-23T20:54:09.598Z (over 1 year ago)
- Language: Java
- Size: 121 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jersey Versioning Example
Example of how to version resources in Jersey.
## Request resources
### V1
curl -H "Accept: application/vnd.musicstore-v1+json" http://localhost:8080/track/1
### V2
curl -H "Accept: application/vnd.musicstore-v2+json" http://localhost:8080/track/1