+
+ // Get Root Request
+ .uponReceiving("get root")
+ .withRequest({
+ method: "GET",
+ path: "/"
+ })
+ .willRespondWith({
+ status: 200,
+ headers: {
+ 'Content-Type': 'application/vnd.siren+json'
+ },
+ body: {
+ class: [ "representation"],
+ links: [{"rel":["orders"], "href": url(["orders"]) }]
+ }
+ })
+
+ // Get Orders Request