Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change servlet mapping to match API version #55

Merged
merged 1 commit into from
Jan 24, 2017
Merged

Conversation

gibarsin
Copy link
Collaborator

@gibarsin gibarsin commented Jan 24, 2017

Summary

Instead of mapping to /, to access a resource one must provide /api/v{versionNumber}, being versionNumber the current version of the API. Currently, the version is 1.

Example

To access the students resource, type /api/v1/students

Trello Card

https://trello.com/c/ldqRiN1h/41-mappear-los-recursos-a-api-v-versionnumber

@codecov-io
Copy link

Current coverage is 9.79% (diff: 100%)

No coverage report found for development at 4449176.

Powered by Codecov. Last update 4449176...fbfc900

Copy link
Owner

@MatiasComercio MatiasComercio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR comment! 😄

@gibarsin gibarsin merged commit d36e200 into development Jan 24, 2017
@gibarsin gibarsin deleted the versionAPI branch January 24, 2017 20:58
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.

3 participants