-
Notifications
You must be signed in to change notification settings - Fork 0
URLs structure
yibnl edited this page Feb 1, 2017
·
2 revisions
API resources describe both composition and aggregation relationships between a number of resources. The most appropriate URLs structure therefore could be alternating collection and resource path segments relative to the API entry point. However, such an approach would produce very long and unreadable URLs. This is particularly true when there are many relationships which take place. As a consequence, defining a single level route for every resource results to more readable URLs. This is the approach taken by the gamification platform.
Game Dock
Domain specific language
- Context variables
- Mutability and immutability
- Dependency injection
- Polymorphism
- The casting operator
- Comparison and equality
- Nashorn
- DSL Reference
RESTful API