[Social-Desktop] Proposed extension to the OCS API - Adding KnowledgeBase items

Ben Cooksley sourtooth at gmail.com
Sat May 15 06:05:16 CEST 2010


Hi all,

the following is a proposed extension to the OCS API, it adds support
for adding items to the knowledgebase component.

It adds a "add" call to the knowledge base component which will
add an item to the category / content item specified.

Arguments:
subject - Subject of the new knowledgebase item
content - Content of the new knowledgebase item
content - Id of the content entry to be added to if available
category - Id of the category to be added to if available.

Either content or category must be present for the request to be
valid. Both content and subject must both be present also.

Example XML:
<?xml version="1.0"?>
<ocs>
 <meta>
  <status>ok</status>
  <statuscode>100</statuscode>
  <message></message>
 </meta>
</ocs>

Thoughts?

Regards,
Ben


More information about the Social-Desktop mailing list