I would like to add a new hydra entry (hydra:facet) on my api result. Do you have an example to implement this ?
{
"@context": "/contexts/Book",
"@id": "/books",
"@type": "hydra:Collection",
"hydra:facet": [
{
"Facets on ma collection"
}
],
"hydra:member": [
{
"@id": "/books/1",
"@type": "http://schema.org/Book",
"name": "My awesome book"
},
...
],
"hydra:totalItems": 50,
...
}
Hi,
I would like to add a new hydra entry (hydra:facet) on my api result. Do you have an example to implement this ?
Example:
Thank's
Bertrand