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.