Below api is not returning lists/document libraries/folders/files for any site(root/created by me) and subsites.
{{url}}/_api/web/lists
I need an api so that I can fetch all content of a site just like there are api's for MS Graph.
"#{MS_GRAPH_SITE}/sites/#{site_id}/lists"
And then items:
"#{MS_GRAPH_SITE}/sites/#{site_id}/lists/#{list['id']}/items"
I am able to fetch sites lists through below API:
{{url}}/_api/search/query?querytext='contentclass:STS_Site contentclass:STS_Web'