I have upload PDF to confluence, does Confluence provide search capability to search PDF? Is so does it have REST API for this search
Yes the Confluence search will index certain attachments, this is mentioned here: https://confluence.atlassian.com/doc/search-139528.html
I’m not sure if the REST Api search will also return pdf attachments.
I checked with our Confluence Server team and the Rest API search should also include relevant attachments, just as the in product search.