PublicTypeIndex
A Solid public type index document (solid:TypeIndex + solid:ListedDocument).
Registrations in the public type index are world-readable — they advertise what types of data a pod contains so that other applications can discover and request access to them. Use this for resources you are willing to share or make known, such as a shared contacts address book.
The public type index URI is advertised in the owner's WebID profile via solid:publicTypeIndex. Use getPublicTypeIndex on WebId to retrieve it.
Spec: https://solid.github.io/webid-profile/ — Type Indexes
Functions
Registers a solid:instance entry for forClass pointing to instanceUri.
Registers a solid:instanceContainer entry for forClass pointing to containerUri.
Returns true if resourceUri is registered (as either instance or instanceContainer) for any class.
Returns the object values of every triple with the given predicate, across all subjects.
Returns the object value of the first triple with the given predicate, or null if none.
Returns a snapshot copy of all triples held by this resource.
The media type of the resource representation (the value of its Content-Type).
The creation time in epoch milliseconds, from this resource's own dcterms:created (then stat:ctime) triple, or null when neither is present.
Returns the resource representation as a byte stream.
The HTTP headers associated with this resource (empty when constructed locally).
The URI that identifies this resource on the pod.
Returns all solid:instanceContainer URIs registered for the given forClass IRI.
Returns all solid:instance URIs registered for the given forClass IRI.
The last-modified time in epoch milliseconds. Prefers this resource's own dcterms:modified (then stat:mtime) triple and falls back to the Last-Modified header. null when none is present.
Removes the registration entry that points to resourceUri (removes the entire registration node including forClass and type triples).