There is a browser demo called Hydra Console.
The entity itself:
{
"@context": "/hydra/api-demo/contexts/EntryPoint.jsonld",
"@id": "/hydra/api-demo/",
"@type": "EntryPoint",
"issues": "/hydra/api-demo/issues/",
"register_user": "/hydra/api-demo/users/",
"users": "/hydra/api-demo/users/"
}
The part of the referenced document, which describes the register_user
link:
{
"@context": {
"vocab": "http://www.markus-lanthaler.com/hydra/api-demo/vocab#",
"hydra": "http://www.w3.org/ns/hydra/core#",
"ApiDocumentation": "hydra:ApiDocumentation",
"property": {
"@id": "hydra:property",
"@type": "@id"
},
"readonly": "hydra:readonly",
"writeonly": "hydra:writeonly",
"expects": {
"@id": "hydra:expects",
"@type": "@id"
},
"returns": {
"@id": "hydra:returns",
"@type": "@id"
},
"statusCodes": "hydra:statusCodes",
"code": "hydra:statusCode",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"label": "rdfs:label",
"description": "rdfs:comment",
"domain": {
"@id": "rdfs:domain",
"@type": "@id"
},
"range": {
"@id": "rdfs:range",
"@type": "@id"
},
"subClassOf": {
"@id": "rdfs:subClassOf",
"@type": "@id"
}
},
"@id": "http://www.markus-lanthaler.com/hydra/api-demo/vocab",
"@type": "ApiDocumentation",
"hydra:supportedClass": [
{
"@id": "vocab:EntryPoint",
"@type": "hydra:Class",
"subClassOf": null,
"label": "EntryPoint",
"description": "The main entry point or homepage of the API.",
"hydra:supportedOperation": [
{
"@id": "_:entry_point",
"@type": "hydra:Operation",
"hydra:method": "GET",
"label": "The APIs main entry point.",
"description": null,
"expects": null,
"returns": "vocab:EntryPoint",
"statusCodes": []
}
],
"hydra:supportedProperty": [
{
"property": {
"@id": "vocab:EntryPoint/registerUser",
"@type": "hydra:Link",
"label": "register_user",
"description": "IRI to register a new user",
"domain": "vocab:EntryPoint",
"range": "http://www.w3.org/ns/hydra/core#Resource",
"hydra:supportedOperation": [
{
"@id": "_:user_create",
"@type": "hydra:Operation",
"method": "POST",
"label": "Creates a new User entity",
"description": null,
"expects": "vocab:User",
"returns": "vocab:User",
"statusCodes": [
{
"code": 201,
"description": "If the User entity was created successfully."
}
]
}
]
},
"hydra:title": "register_user",
"hydra:description": "IRI to register a new user",
"required": null,
"readonly": true,
"writeonly": false
}
]
}
]
}