activitypub icon indicating copy to clipboard operation
activitypub copied to clipboard

Description of `endpoints` in 4.1 implies some places may be JSON-LD, unspecified others may not

Open jernst opened this issue 1 year ago • 2 comments

The description of endpoints says:

This mapping may be nested inside the actor document as the value or may be a link to a JSON-LD document

This indirectly appears to imply that in other places, links to JSON-LD documents are not permitted, otherwise why pointing it out? But there is nothing in the spec that identifies where links to JSON-LD documents may not be used.

jernst avatar Jan 07 '24 15:01 jernst

No, it does not imply that. You are reading too much into an informative note.

nightpool avatar Jan 07 '24 16:01 nightpool

why pointing it out?

The endpoints collection is much more like a name/value property set than other ActivityPub objects. I can only think of a few other elements, like streams that are more about having a complex property value than an independent Object. So, the reason this is called out is that it isn't an Object per se, probably?, but is possible to define in a separate document.

I'd like to add a Primer page that talks more about endpoints and possibly discourages this behaviour. Not a lot of client implementations seem to expect it.

evanp avatar Mar 06 '24 17:03 evanp