- From: Tomasz Pluskiewicz via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Feb 2019 19:28:52 +0000
- To: public-hydra-logs@w3.org
AFAICT, the current recommendation is to use `search` property to allow the client to narrow down/navigate through a collection.
In te use cases we have:
```
{
"search": {
"@type": "IriTemplate",
"template": "http://example.com/api/events{?search}",
"variableRepresentation": "BasicRepresentation",
"mapping": [
{
"@type": "IriTemplateMapping",
"variable": "search",
"property": "freetextQuery",
"required": true
}
]
}
}
```
I think we can simply provide some well-known properties like `freetextQuery` to support common scenario while not being too invasive.
--
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/102#issuecomment-462900141 using your GitHub account
Received on Tuesday, 12 February 2019 19:28:58 UTC