Skip to main content

We are happy to announce that you can now access knowledge base API endpoints through the Core API.

 

These endpoints allow you to read and update your internal and external Front knowledge bases. With the API, you now have the flexibility to process your knowledge base content for various purposes, including advanced display on different websites and additional means of importing content.

 

Read the docs on our Developer Portal to start using the knowledge base API endpoints.

Looking forward to seeing what can be done with this. 


@JohnW Let us know if you have any feedback!


Hi Javier, 

 

I’m trying to use the Knowledge bases APIs to update our community federated search with new article published on the knowledge base. Though I can’t find an easy way to get public ID, url, etc for all articles.

I’ve tried:

  • The public API: but the endpoint /en/articles.json does not exist, tbf only home.json return something for me, I don’t know where I can get the IDs of the categories or articles 
  • the CRUD API: it looks like it uses ID for articles that are internal only, not the public facing id that we have in the public URL → is there a way to get those somewhere ?

Best,


Hey ​@terpo 

 

It’s a bit buried, but if you list the articles for a knowledge base, you should see the links in the _results > _links > related > content field of the response. You can access this field in for any KB CRUD API endpoint that returns an article or a list of articles.

 

Let me know if that doesn’t work for you!


Hey ​@terpo 

 

It’s a bit buried, but if you list the articles for a knowledge base, you should see the links in the _results > _links > related > content field of the response. You can access this field in for any KB CRUD API endpoint that returns an article or a list of articles.

 

Let me know if that doesn’t work for you!

Thanks , 

Well, I’m not sure, when I do that I get an ID : 

Though when I try to use it on the URL : 

https://user-guide.opendatasoft.com/en/articles/kba_1bsn6 I get a 404, the URL that work is https://user-guide.opendatasoft.com/en/articles/2229954 for this article.

I don’t know where can I find the 2229954 via the API ?


Reply