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

To jump to a specific page, the server could instead advertise a template like `http://example.com/api/events{?search,page}`.

A simple start would be to add a mapping. 

```diff
{
  "mapping": [
+    "@type": "IriTemplateMapping",
+    "variable": "page"
+    "property": "page"
+    "required": false
  ]
}
```

Not too happy about `page` but any other name I can think of suggests a data type. Typically the pages are numbers, but we cannot enforce that on APIs. 

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

Received on Tuesday, 12 February 2019 19:33:21 UTC