Does Pega KM Rest API be able to get articles by roles?
For KM, we will call REST APIs to get KM articles, and then put the content into node level data page. But when I look at the URL/parameters of the KM REST APIs, I don’t see any parameter regarding access role. So how can we associate access role to the REST API so that different articles are returned based on different access roles?
Specify Pega access roles to restrict content visibility to certain user groups (organizations, managers, etc.). Roles are defined by category level with child categories honoring inherited roles from parent levels. Authors have a configuration option to enable content security on specific Pega Knowledge help sites. Only end users with the required Access Roles will have visibility to articles at or below the category where the Access Role(s) was defined.
In the above Pega Knowledge product overview, Page 18, "REST APIs", under "Knowledge articles", there is "List articles by category", it returns list of all published articles belonging to categories passed as parameter.
Thanks a lot for your reply! But if KM has contents for both application A with role A and application B with role B, now after calling the search REST web service, all the articles which contain the search key word will be returned regardless whether it is from application A or from application B, right?
In the search REST web service I don't see any parameter related to role. If I want to only search contents related to application A how to do that?
I opened the activities related to KMGetArticlesAndPosts Rest web service, I see activity description "Call activity to search in help site and/or community site". So does this Rest web service only search in help site/community site, but not in Knowledge-->Content?