Re: [Specifications] Extend PartialCollectionView with template variables' values (#148)

I'm not sure which existing vocabulary terms are you referring to @asbjornu, but let's try to bent our minds and mint some example:

```json
{
  "@id": "/markus/friends",
  "@type": "Collection",
  "totalItems": 578,
  "member": [...],
  "view": [
    {
      "@id": "/markus/friends?first=Ruben",
      "@type": "PartialCollectionView",
      "totalItems": 15,
      "template": "/markus/friends{?first}",
      "mapping": [{
        "variable": "first",
        "object": "Ruben"
      }]
    }
  ]
}
```

I did not make any analysis on possible range/domain violations in the example above. I aimed not to introduce any new terms. While I'm not convinced it is a server's concern to describe what client had in mind, let's imagine we can have a cheap yet working solution. Any ideas? @asbjornu - do you have any specific approach we could take into account?

-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/148#issuecomment-740152608 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 7 December 2020 20:11:15 UTC