@comunica/actor-rdf-update-hypermedia-put-ldp
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

Comunica Put LDP RDF Update Hypermedia Actor

npm version

An RDF Update Hypermedia actor that handles destinations over HTTP via HTTP Linked Data Platform PUT requests.

Optionally, if the destination exposes the Accept-Put header, the server's suggested media type will be used as PUT content type.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/actor-rdf-update-hypermedia-put-ldp

Configure

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-update-hypermedia-put-ldp/^3.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:rdf-update-hypermedia/actors#put-ldp",
      "@type": "ActorRdfUpdateHypermediaPutLdp",
      "mediatorHttp": { "@id": "urn:comunica:default:http/mediators#main" },
      "mediatorRdfSerializeMediatypes": { "@id": "urn:comunica:default:query-result-serialize/mediators#mainMediatypes" },
      "mediatorRdfSerialize": { "@id": "urn:comunica:default:query-result-serialize/mediators#main" }
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-rdf-update-hypermedia-put-ldp

Weekly Downloads

2,300

Version

3.0.3

License

MIT

Unpacked Size

42.1 kB

Total Files

16

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod