Post #1909099
2026-05-03 09:05 UTC
@hongminhee@hollo.social like I mentioned in a thread where Evan and Reiver were talking about this, I think having a mediaUpload that has a very similar behaviour to an inbox/outbox, but with one **small** details is a bad API.
I would prefer there's either a two step process: upload media first, use resulting token in an object create, or use the outbox with for the binary data upload directly... The first one seems saner to me.
Replies (3)
-
@hongminhee@hollo.social 2026-05-03 09:08
@mariusor@metalhead.club I agree. We probably need a FEP for this?
-
@evan@cosocial.ca 2026-05-07 03:45
@mariusor@metalhead.club @hongminhee@hollo.social I hope you write that out! But people should implement the API we have now.
-
@kopper@not-brain.d.on-t.work 2026-05-03 09:11
@mariusor@metalhead.club @hongminhee@hollo.social you don't even need a "token" concept specifically, the media upload could internally as:Create an as:Document (but not broadcast it) you can then refer to or inline as needed