@thisismissemEmelia πΈπ» Very interesting work, but I really thing this should not be done using webhooks in the long run. I think we could have a not too complex "media scanning" FASP that would have the proper hooks for such a system and work around some current limitations.
Obviously using webhooks for prototyping is good, but you should probably not move forward using those.
If you have a fediverse account, you can quote this note from your own instance. Search https://oisaur.com/users/renchap/statuses/114229847704981860 on your instance and quote it. (Note that quoting is not supported in Mastodon.)