Hi. In my app, I want to create a similar search experience as the Live Search component:
I see that this calls an endpoint like this (which seems to be private because I can't find any information on it in the documentation):
/rest/searchv3/1.0/search?queryString=test&user={user_id}&pageSize=5&highlight=false&sessionUuid=0-0-0-0&where=CS
However, when I call this endpoint using OAuth 2.0 (3LO) and the search:confluence scope, I get back an Unauthorized error:
{
"code": 401,
"message": "Unauthorized; scope does not match"
}
What scope should I use to call this endpoint? Or is there a similar public endpoint that I can use that will provide the same functionality (with the bodyTextHighlights returned)?
Hi @Queenie Ma and welcome,
here the documentation for Confluence Cloud rest api https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.