API to get a list of all the restricted pages of a user

I am developing a confluence plugin for the confluence instance 7.13.7. I am using Atlassian SDK 8.2.7. I want to get a list of all the pages or their content id to which a user is restricted. Is there a REST API that can give the list of all the pages in any space or a particular space that a user cannot access?