Re: [Specifications] Define client-initiated pagination (#102)

Another common design choice could be `skip`/`take` approach:

```diff
{
-  "template": "http://example.com/api/events{?search}",
+  "template": "http://example.com/api/events{?search,limit,offset}",
  "mapping": [
+  {
+    "@type": "IriTemplateMapping",
+    "variable": "limit",
+    "property": "take",
+    "required": false
+  },
+  {
+    "@type": "IriTemplateMapping",
+    "variable": "offset",
+    "property": "skip",
+    "required": false
+  }
  ]
}
```

-- 
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/102#issuecomment-462904594 using your GitHub account

Received on Tuesday, 12 February 2019 19:40:45 UTC