function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

SF Knowledge - Query public articles through API

Is it possible to query all knowledge articles through the rest API without needing an ID, versionid, FIND, or anything like that? I am setting up a site that needs to pull in all online public articles within a specific data category.

This SOSL query works, but it needs a "Find":
RETURNING Support_Article__kav(id, articlenumber, Title, Summary, Full_Description__c, FirstPublishedDate,LastPublishedDate, VersionNumber,IsDeleted, IsVisibleInPkb
 where PublishStatus='Online' and Language='en_US' )
WITH Data Category Savant_Knowledge__c below Savant_Consumers__c
I also got this working, but still, it needs a search term:

I need to be able to run an API call that just returns all articles that meet the specific criteria. Is it possible?
Unfortunately, there is no straightforward way you can get the list of articles via API. The attached link will provide all info about Knowledge and there is a section REST API which is wnat you might be looking at.

Thank you