Steps
Adding your own routes to the REST API takes three steps:
- Step 1: understanding the REST URI pattern: how an address is split into prefix, provider, version and route.
- Step 2: understanding REST API versioning: how a route answers one version or several.
- Step 3: extending the REST API: a provider, a controller and the settings, in an extension.
The conclusion lists what to check before you ship it.
In this section
- Step 1: Understanding the REST URI pattern How a REST address of Exponential 6 is split into prefix, provider, version and route.
- Step 2: Understanding REST API versioning REST API versioning in Exponential 6: versioned routes and how ezprestapi uses v1 and v2.
- Step 3: Extending the REST API A complete example of a REST provider, view controller, controller and settings for Exponential 6.
- Conclusion What to check before shipping your own REST routes for Exponential 6.
Contributors
- Geir Arne Waaler
- Graham Brookins Updated Maintainer
Comments
Add a comment