Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (25 loc) · 909 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 909 Bytes

Strata Endpoint

This dokuwiki plugin is no longer maintained. Due to time constraints and no longer using this plugin myself, I can no longer properly maintain it.

This plugin depends on bwanders/dokuwiki-strata.

The Strata Endpoint plugin is used to offer the structured data in the wiki to external tools.

It offers the following syntax:

<endpoint>
type: resources
allow-origin {
  *
}
query {
  fields {
    ?s
    ?p
    ?o
  }
  ?s ?p: ?o
}
</endpoint>

The type field should be either resources or relations.

The allow-origin group handles CORS, and each line should contain an allowed origin, or the only line should be *, to signify all origins are allowed.

The query group is optional, if left out, the POST data will be interpreted as a query.