Knowledge Base API tutorial (javascript)

todo: link to examples in different programming languages if they exist

Overview

This document aims to give the developer a quick overview of working with the Knowledge Base API.

In this tutorial we will create a category, and then add an article and a question to that category.

It should be possible to copy-paste the code samples in this tutorial and run them.

In this tutorial we will create a new category, add a couple of articles and questions to it, then look at managing and deleting.

Adding a category

To add a category we will make use of the category endpoint. To be able to add a category you will need to be an authenticated user with administration rights for knowledgebase.

Adding an article

Add article example

Adding a question

Add question example

Managing articles, articles and questions

Examples of getting lists of objects, updating and deleting them

Getting lists of articles

Updating articles

deleting articles