Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRUD acties #6

Open
pietercolpaert opened this issue May 28, 2018 · 5 comments
Open

CRUD acties #6

pietercolpaert opened this issue May 28, 2018 · 5 comments

Comments

@pietercolpaert
Copy link
Collaborator

Beschrijven van CRUD acties kan ook via verschillende specificaties:

  1. Linked Data Platform (en Linked Data Notifications)
  2. Hydra CG: https://github.com/HydraCG/Specifications/tree/master/drafts/use-cases
@rubensworks
Copy link
Collaborator

Verwant hiermee is ook de optie op meerdere acties te beschrijven binnen één interface, en manieren waarop deze acties kunnen onderscheiden worden.

Een mogelijke manier om deze te onderscheiden is door bijvoorbeeld hun response-structuur declaratief te beschrijven.

@pietercolpaert
Copy link
Collaborator Author

Mogelijks interessant voor semantische niveau: paper of LDP + Hydra samen: http://ceur-ws.org/Vol-1359/paper5.pdf

@pietercolpaert
Copy link
Collaborator Author

pietercolpaert commented Jun 21, 2018

Voor niet semantische data (maar ook semantische data), ondersteuning voor JSON API (http://jsonapi.org/format/#crud)?

@jensscheerlinck
Copy link
Contributor

Hoe adverteert JSON API welke operaties mogelijk zijn op een bepaalde resource?

@brechtvdv
Copy link
Collaborator

brechtvdv commented Oct 11, 2018

Ik zou hydra:returns bij operaties ook toevoegen, bijvoorbeeld:

{
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
  "@id": "/api/resource/1",
  "title": "Een voorbeeld resource",
  "description": "Deze resource kan opgehaald worden met een HTTP GET request",
  "operation": [
    {
      "@type": "Operation",
      "method": "GET"
      "returns": "http://example.org#exampleShape"
    }

Is er een reden waarom dit niet toegevoegd is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants