You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
O código atual usa a API do Notion para poder subir a imagem que teve upload na S3.
Se essa imagem ficar indisponível ou se ela for sobrescrita, a imagem que está no relatório gerado pelo código será alterada também, já que a API faz referência a imagem pelo link original.
Hoje, pela a API do Notion, não é possível fazer o upload da imagem, como pode ser visto na documentação do próprio Notion.
Externally hosted files vs. Files hosted by Notion
For files and URLs hosted outside of Notion, we support retrieving the link as well as updating it to a different link. We don't currently support uploading files to Notion through the API, however, for files already uploaded to Notion, we support retrieving the file URL. The table below details what's supported for Embed, Image, Video, Audio, and File blocks, as well as page icon and page cover image properties. https://developers.notion.com/reference/file-object
A proposta é que se crie uma maneira automatizada, talvez pelo Selenium mesmo, que adicione a imagem capturada a nova página de relatório criada, de modo que ela fique hospedada no Notion e não corra risco de alterações.
The text was updated successfully, but these errors were encountered:
O código atual usa a API do Notion para poder subir a imagem que teve upload na S3.
Se essa imagem ficar indisponível ou se ela for sobrescrita, a imagem que está no relatório gerado pelo código será alterada também, já que a API faz referência a imagem pelo link original.
Hoje, pela a API do Notion, não é possível fazer o upload da imagem, como pode ser visto na documentação do próprio Notion.
A proposta é que se crie uma maneira automatizada, talvez pelo
Selenium
mesmo, que adicione a imagem capturada a nova página de relatório criada, de modo que ela fique hospedada no Notion e não corra risco de alterações.The text was updated successfully, but these errors were encountered: