We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Can't get most popular content

Accepted answer
21
Views
3
Comments
edited Sep 11, 2021 9:57PM in Knowledge Management 3 comments

Content

Hi,

I'm trying to get most populars contents via REST API using the following method:

http://<MYURL>/km/api/content?orderBy=mostPopular

But this returns an error. I tried this method a lot of times weeks ago and there's no error.

{
    "error": {
        "title": "An application error has occurred. Root Cause: The following operation is not supported in this context: content",
        "errorPath": null,
        "errorCode": "OK-GEN0003",
        "type": "APPLICATION",
        "detail": null
    },
    "errorDetails": [
        {
            "title": "The following operation is not supported in this context: content",
            "errorPath": null,
            "errorCode": "OK-GEN0002",
            "type": "VALIDATION",
            "detail": null
        }
    ]
}

Version

REST API for Oracle Service Cloud Knowledge Advanced 18A

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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