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
Daeus TangDaeus Tang 

[REST API] How can I fetch a whole list of Data Category for specific type of articles

Hi all, I'm working on handling article objects(FAQ__kav) with REST API. I want to grab the whole list of item in specific data category with hierarchies where the article object is already using. So far I couldn't find any related method in the REST API document. Do anyone knows how can I achieve that? 

Daniel BallingerDaniel Ballinger
You might find something helpful in Managing Articles using Apex and REST APIs (https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/knowledge_API_intro.htm) and the ERD for Knowledge Objects (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_knowledge.htm).

Can you make a SOQL query based on the FAQ__kav ParentId relationship to the FAQ__DataCategorySelection?