Open NfNitLoop opened 2 years ago
One question, tangentially related to this: If I embed an Item, and it has attachments, do we let attachments get posted to it? Or do I need to explicitly make those part of my top-level item? Perhaps the Embed
Protobuf type will need to list attachments so that they're all available at the top level?
Thus items can be replied to and discussed in context without necessarily making them broadly available on servers that do not wish to host them.
Hmm, except it is available, just via the "embedding" user's uid/sig. I'd like servers to be able to ban users/content as necessary in the future.
So, maybe a compromise:
u/:userID/i/:signature/proto3
. Only when content is sync'd via that method does it appear there. (And that endpoint can continue to deny PUTs as it does now.)
Unlike file attachments, these allow embedding other FeoBlog
Item
s "into" an item that needs to reference them.Item
is not stored inside of the protobuf in whole, but is referenced by its (userID, signature) pair (similar to aReplyRef
)./u/:userID/i/:signature/proto3
endpoint. Thus items can be replied to and discussed in context without necessarily making them broadly available on servers that do not wish to host them.Implementations should store embedded Items in a content-addressable store so that commenting/sharing doesn't end up creating duplicates of items.
This unblocks #6
[^1]: TBD: better term? We already have a
ReplyRef
type.