Basic CRUD Operations
The RESTful primitives.
Retrieving Resources with GET
Appending Resources with POST
Request
Resources can be created with HTTP POST
against the collection IRI (therefore appended):
POST {collection IRI}
@id
A provided @id
is ignored, the server generates a UUID as last path segment and forms an IRI following the format:
{collection IRI}/{generated UUID}
Creating or Replacing Resources with PUT
Request
Resources can be updated with replace semantics (idempotent) with HTTP PUT
against its IRI:
PUT {resource IRI}
If the resource does not exists, a new resource is created, otherwise the existing resource is entirely replaced.