Issue
This Content is from Stack Overflow. Question asked by user1861028
We are trying to upload files to notion using notion api. As per the documentation, notion api doesn’t support file uploads. It does support adding files or media which are hosted on third-party services.
If we are uploading externally hosted media files using notion api, we need to secure them. A possible way to do this is to generate url’s which would expire after a certain time, which wouldn’t work here because the file will become inaccessible after a while.
And, we cannot add some kind of token auth because it needs to be a public url.
Is there any other way to generate secure urls in this instance ?
Thanks
Solution
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.