ODS Wiki Controllers

NoODS Wiki ControllerSyntaxDemo LinksNotes
1Create New Topic
wiki.topic.new (
  cluster varchar,
  name varchar,
  content varchar
)
Example
2Get Topic Content
wiki.topic.get (
  cluster varchar,
  name varchar
)
Example
3Update Topic Content
wiki.topic.edit (
  cluster varchar,
  name varchar
  content varchar
)
Example
4Delete Topic
wiki.topic.delete (
  cluster varchar,
  name varchar
)
Example
5Synchronize Topic
wiki.topic.sync (
  cluster varchar,
  name varchar
)
Example
6Get Topic Versions
wiki.topic.versions (
  cluster varchar,
  name varchar
)
Example
7Get Topic Version Content
wiki.topic.versions.get (
  cluster varchar,
  name varchar,
  version varchar
)
Example
8Create New Upstream
wiki.upstream.new (
  cluster varchar,
  name varchar,
  url varchar,
  user varchar,
  password varchar
)
Example
9Upstream Update
wiki.upstream.edit (
  cluster varchar,
  name varchar,
  url varchar,
  user varchar,
  password varchar
)
ExampleCan be updated the following values of: url, user and password.
10Upstream Delete
wiki.upstream.delete (
  cluster varchar,
  name varchar
)
Example
11Upstream Synchronize
wiki.upstream.sync (
  cluster varchar,
  name varchar
)
Example
12Create Topic Comment
wiki.comment.new (
  cluster varchar,
  topic varchar,
  parent_id integer := null,
  title varchar,
  text varchar,
  name varchar,
  email varchar,
  url varchar := null
)
Example
13Get Comment
wiki.comment.get (
  comment_id integer
)
ExampleThe output is RDF data.
14Delete Comment
wiki.comment.delete (
  comment_id integer
)
Example
15Set Cluster Options
wiki.options.set (
  cluster varchar,
  name varchar,
  value varchar
)
ExampleThe supported option names are:
   * indexPage
   * primarySkin
   * secondarySkin
   * wikiPlugin
   * newTopicTemplate
   * newCategoryTempate
   * vhostRegularExpression
   * deliciousEnabled
   * webmailEnabled
   * antiSpam
   * technoratiApiKey
   * conversationEnabled
   * inlineMacros
   * interClusterAutolinks
16Get Cluster Options
wiki.options.get (
 cluster varchar,
 name varchar
)
Example

References