You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Knowledge Advanced - query to restrict content by category

Received Response
3
Views
1
Comments
edited Mar 18, 2021 3:16PM in Integrations and APIs 1 comment

Summary

How to construct query in Knowledge Advanced REST API to restrict content by category

Content

Hi there,

Am using the Knowledge Advance REST API with Postman. I want to get:
1. content by one category
2. able to restrict the number of articles I get as a result.

I have used 2 kinds of queries to retrieve this result (variables between {{..}} are parsed):

Approach 1:
https://{{hostname}}-irs.{{server}}/km/api/{{apiversion}}/content?limit=20&mode=EXTENDED&contentState=PUBLISHED&categories.refKey+eq+'RN_PRODUCT_156';

Result 1: all provided parameters are working except categories.refKey+eq+'RN_PRODUCT_156' 

Approach 2 (according to this manual: REST API for Knowledge Advanced in B2C Service (oracle.com)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!