Adding readergroups to api search query
under review
Frans Vermunt
When the question it typed, before we want to create ticket, we like to pass the question to our doc360 by apis. We know based on the logged user, which reader groups he has access to. At the moment we already use jwt to have a single sign on and we are passing the reader groups assigned to the user.
so this query would be the best solution:
{{url}}/v2/ProjectVersions/{{project_id}}/:language?searchQuery=This query should be the search query for document 360&readerGroupIds=["----"]
With this solution, you can filter server side if the document is filtered based on authentication.
The second solution could be adding the reader groups to the searchquery result:
{
"data": {
"hits": [
{
"title": "Title ",
"content": " content",
"isHidden": false,
"tags": [],
"slug": "content",
"version": 4,
"articleId": -----",
"categoryId": "-----",
"readerGroupIds": ["------"],
When we have a list of solutions, we like to open the documentation portal (in a new tab) and just show the documentation item that is selected.
Log In
Shakeer Hussain S
under review
Shakeer Hussain S
Hi Frans Vermunt - Thank you for bringing this to our attention. We genuinely appreciate your feedback and recognize the importance of your concern. We will review the feasibility and update you as soon as possible.