По какой-то причине не указано в документации, и, пожалуйста, если есть, пожалуйста, предоставьте это мой JSON документ должен был быть:
{
"@context": {
"__value": "/hydra/api-demo/contexts/EntryPoint.jsonld",
"__activectx": {
"@base": {},
"hydra": {
"@id": "http://www.w3.org/ns/hydra/core#",
"@reverse": false
},
"vocab": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#",
"@reverse": false
},
"EntryPoint": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint",
"@reverse": false
},
"issues": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/issues",
"@reverse": false,
"@type": "@id"
},
"register_user": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/registerUser",
"@reverse": false,
"@type": "@id"
},
"my_account": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/myAccount",
"@reverse": false,
"@type": "@id"
},
"users": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/users",
"@reverse": false,
"@type": "@id"
}
}
},
"@id": {
"__iri": "@id",
"__value": {
"__orig_value": "/hydra/api-demo/",
"__value": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/"
}
}
},
"@type": {
"__iri": "@type",
"__value": {
"__orig_value": "EntryPoint",
"__value": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint"
}
}
},
"issues": {
"__iri": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/issues",
"__value": {
"__orig_value": "/hydra/api-demo/issues/",
"__value": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/issues/"
}
}
},
"register_user": {
"__iri": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/registerUser",
"__value": {
"__orig_value": "/hydra/api-demo/users/",
"__value": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/users/"
}
}
},
"users": {
"__iri": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#EntryPoint/users",
"__value": {
"__orig_value": "/hydra/api-demo/users/",
"__value": {
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/users/"
}
}
}
}
, а не то, что будет загружен если вы переходите на этот URL-адрес:
http://www.markus-lanthaler.com/hydra/event-api/