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

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


On Sat, May 15, 2010 at 4:05 PM, Ben Cooksley <sourtooth at gmail.com> wrote:
> 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

This is supposed to be "message"

> 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.

Same here.

>
> 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