[Social-Desktop] Proposed extension to the OCS API - Adding KnowledgeBase items
Frank Karlitschek
karlitschek at kde.org
Fri May 21 12:40:22 CEST 2010
On 21.05.2010, at 11:36, Ben Cooksley wrote:
> On Sat, May 15, 2010 at 4:06 PM, Ben Cooksley <sourtooth at gmail.com> wrote:
>> On Sat, May 15, 2010 at 4:05 PM, Ben Cooksley <sourtooth at gmail.com> wrote:
>>> Hi all,
>
> ping?
>
>>>
>>> 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
>>>
>>
Looks perfect to me. :-)
I will add it.
Cheers
Frank
--
Frank Karlitschek
karlitschek at kde.org
More information about the Social-Desktop
mailing list