Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api-documentation
drafts
.gitignore
1.1.security-considerations.md
assumptions.md
book.json
package.json
readme.md
summary.md
yarn.lock

readme.md

Hydra Core examples

Uses cases for Hydra Core Vocabulary client

Here you can find some of the use cases to consider while developing a reference client implementation and improve the Hydra Core Vocabulary specification.

To create a context of the whole task, these use-cases are related to the EventAPI and a calendar-like UI web application.

Code snippets are using Heracles.ts reference client. Each code snipped assumes that the hydraClient variable is created via a hydra client factory:

const hydraClient = HydraClientFactory.configure().withDefaults().andCreate();

Each scenario is built using several sections:

  • Story - a short As a... I want... so... story introducing a general requirement
  • Usage - a pseudo-code (JavaScript/TypeScript like) of the imaginary client
  • Details - detailed description
  • Considerations - some additional considerations on several aspects
You can’t perform that action at this time.