Topic by John Stephen
Content
Hi everyone,
I'm building a web interface to my employer's FAQ content using the KF SOAP API (November 2012).
One of the features I've been tasked to build is list and paginate through popular FAQs. To retrieve the FAQs, I can use GetPopularContent. However, the max limit is 10 and there is no offset or start parameter. According to the documentation the limit should default to 100 but this does not seem to be correct - server raises error "Invalid Limit: Limit must be set between 1 and 10".
In a previous build I have found a workaround which uses the CWS API RunAnalyticsReport method to get back all content in a csv and then page through it. But I want to avoid that if at all possible.
So I have two questions:
1) Is there a better way to page through popular content?
2) If we shouldn't be building a pagination interface to popular content (which the lack of offset and limit params suggests) what is the correct reason to explain this to stakeholders?
Sorry for the wall of text and thanks in advance to any respondents!
John