Hi,
we built a documentation generator for our application that creates confluence cloud html pages and structure and upload these through REST API.
Now we have our space with a lot of pages that contains all specification of our application.
The problem now is that if we try to search a page by (exact) title (and also by content) in the search box or advanced search filtered by space, Confluence doesn't find anything always.
I read on community posts that there is a rebuilt search index on Confluence server version. There is this function also in Cloud version?
Thank in advance
Hi @Davide Martusciello ,
please could you share rest API used for that content creation? From my perspective, rest api will create pages as per manual creation so search should work or not work for both creation.
THerefore, could you verify that pages manually created are correctly viewed in a search?
Fabio
Hi @Fabio Racobaldo _Herzum_
we used https://theblueseed.atlassian.net/wiki/rest/api/content and upload our pages with json similar to this:
I've created a manual page and I can found It by title search.
Thanks
Davide
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Davide Martusciello ,
in my opinion there are missing parameters in your call (https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-post). SPace, for example, should contain "id" and not "key".
Please could you try to review parameters in order to figure out if that is causing your issue?
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabio Racobaldo _Herzum_ ,
I checked in REST API documentation:
In "space" object there is the "key" parameters that is required, meanwhile Id is not needed.
But I try with also id parameter If you suppose that is the problem.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabio Racobaldo _Herzum_ ,
we have regenerated all confluence docs by API, and now it works: we find all docs by title and by contents.
We haven't changed nothing in api post body, maybe a temporary error.
Thanks for your support
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.