---++ODS Wiki Controllers
|*No*|*ODS Wiki Controller*|*Syntax*|*Demo Links*|*Notes*|
|1|Create New Topic|
wiki.topic.new (
cluster varchar,
name varchar,
content varchar
)
|[[VirtuosoOdsControllersWikiEx1][Example]]| |
|2|Get Topic Content|
wiki.topic.get (
cluster varchar,
name varchar
)|[[VirtuosoOdsControllersWikiEx2][Example]]| |
|3|Update Topic Content|
wiki.topic.edit (
cluster varchar,
name varchar
content varchar
)
|[[VirtuosoOdsControllersWikiEx3][Example]]| |
|4|Delete Topic|
wiki.topic.delete (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx4][Example]]| |
|5|Synchronize Topic|
wiki.topic.sync (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx5][Example]]| |
|6|Get Topic Versions|
wiki.topic.versions (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx6][Example]]| |
|7|Get Topic Version Content|
wiki.topic.versions.get (
cluster varchar,
name varchar,
version varchar
)
|[[VirtuosoOdsControllersWikiEx7][Example]]| |
|8|Create New Upstream |
wiki.upstream.new (
cluster varchar,
name varchar,
url varchar,
user varchar,
password varchar
)
|[[VirtuosoOdsControllersWikiEx8][Example]]| |
|9|Upstream Update|
wiki.upstream.edit (
cluster varchar,
name varchar,
url varchar,
user varchar,
password varchar
)
|[[VirtuosoOdsControllersWikiEx9][Example]]|Can be updated the following values of: url, user and password. |
|10|Upstream Delete|
wiki.upstream.delete (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx10][Example]]| |
|11|Upstream Synchronize|
wiki.upstream.sync (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx11][Example]]| |
|12|Create Topic Comment|
wiki.comment.new (
cluster varchar,
topic varchar,
parent_id integer := null,
title varchar,
text varchar,
name varchar,
email varchar,
url varchar := null
)
|[[VirtuosoOdsControllersWikiEx12][Example]]| |
|13|Get Comment|
wiki.comment.get (
comment_id integer
)
|[[VirtuosoOdsControllersWikiEx13][Example]]|The output is RDF data. |
|14|Delete Comment|
wiki.comment.delete (
comment_id integer
)
|[[VirtuosoOdsControllersWikiEx14][Example]]| |
|15|Set Cluster Options |
wiki.options.set (
cluster varchar,
name varchar,
value varchar
)
|[[VirtuosoOdsControllersWikiEx15][Example]]|The supported option names are:
* indexPage
* primarySkin
* secondarySkin
* wikiPlugin
* newTopicTemplate
* newCategoryTempate
* vhostRegularExpression
* deliciousEnabled
* webmailEnabled
* antiSpam
* technoratiApiKey
* conversationEnabled
* inlineMacros
* interClusterAutolinks
|
|16|Get Cluster Options|
wiki.options.get (
cluster varchar,
name varchar
)
|[[VirtuosoOdsControllersWikiEx16][Example]]| |
---+++References
* [[VirtuosoOdsControllers][ODS Controllers]]