Permalink
Browse files

Add routing section

  • Loading branch information...
edgarsilva committed Apr 7, 2015
1 parent a6e8b96 commit 65b01ada0e53c4b8c6e721f37c6680649005ea08
Showing with 5 additions and 0 deletions.
  1. +5 −0 specification.markdown
View
@@ -28,6 +28,11 @@ And when fetching an individual robot, an example response might look like this:
All API routes will be namespaced under the `/api` route prefix.
This is to make them distinct from other media types which may be served by the same router.
## Routing
Routing is the mechanism that allows an API client system to find the path to a Robot or any
Device belonging to a Robot. We use the same style of routing paths in Cylon.js regardless if you are using REST, Socket.io, or MQTT.
## Versioning
With no **Accept** header supplied, the API will default to the latest version, and JSON responses.

0 comments on commit 65b01ad

Please sign in to comment.