dolibarr
dolibarr copied to clipboard
API document : provide direct link when option is enabled
Feature Request
Options are available to enable secure download link, these links are viewable from dashboard. But these links are missing from any api call
Use case
Could be useful to provide a direct_link on response content on GET /documents and maybe from GET /documents/download with an call argument.
Suggested implementation
Check all *_ALLOW_EXTERNAL_DOWNLOAD and add direct_link element when option is enabled for the related modulepart
This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).