Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Pod

The polyPod API, exposed to Features as window.pod.

It consists of multiple components that are concerned with different aspects.

To use the API, a Feature needs to load the pod.js file provided by the polyPod:

<script src="pod.js"></script>

This makes the window.pod object available, which holds all the components listed below. For example, to log the name of the polyPod runtime:

console.log(await window.pod.info.getRuntime());

Hierarchy

  • Pod

Index

Properties

dataFactory: DataFactory<Quad, Quad>

An implementation of RDF/JS' DataFactory used in conjunction with PolyIn.

see

DataFactory

endpoint: Endpoint

Allows Features to exchange data with external servers.

see

Endpoint

info: Info

Allows Features to read information about the polyPod instance they are being executed in.

see

Info

polyIn: PolyIn

Offers access to the polyPod's internal triplestore.

see

PolyIn

polyNav: PolyNav

Allows Features to interact with the user outside the confines of their container.

see

PolyNav

polyOut: PolyOut

Allows Features to store data on a virtual file system not accessible to other Features.

see

PolyOut

triplestore: Triplestore

An experimental replacement for PolyIn.

experimental
see

Triplestore

Generated using TypeDoc