Currently the /api/document route returns both public and owned documents. The only way to differentiate between these is the "owned" flag, which is inconvenient for consumers. One solution for this would be to split the route into personal documents (/api/myDocuments/) and public documents (/api/publicDocuments).
Currently the /api/document route returns both public and owned documents. The only way to differentiate between these is the "owned" flag, which is inconvenient for consumers. One solution for this would be to split the route into personal documents (/api/myDocuments/) and public documents (/api/publicDocuments).