© 2016 The original authors.
1. Routing
URLs should be consistent, short, canonical and easy to remember, while also being extensible. It can be common to have multiple views or operations for a single entity or a collection of entities.
As an example, here are some examples for routes relating to the entity 'Connection':
-
/connectionsview all connections and search using query parameters -
/connections/:idview connection given an id -
/connections/:id/editedit connection given an id -
/connections/newcreate new connection -
/connections/installcustom views for collections of connections such as installing new connections