I am new to Sharepoint. I discovered that Sharepoint 2013 and later supports the REST interface. I was trying to query the REST API to find all the document libraries under a given site.
GET /_api/web/lists/ HTTP/1.1
But in the results how do I find which one is a document library? I suspected that the
BaseTemplate property could be used to see which one is document library but unfortunately, I see there are folders like Form Templates, Site Assets, Style Library also have the same
BaseTemplate value (101) as the actual document libraries (e.g. Shared Documents).