Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jernst opened this issue Jan 7, 2024 · 2 comments
Labels
Needs Primer Page Needs a page in the ActivityPub primer

Comments

@jernst
Copy link

jernst commented Jan 7, 2024

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.

@nightpool
Copy link
Collaborator

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

@evanp
Copy link
Collaborator

evanp commented Mar 6, 2024

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 evanp added the Needs Primer Page Needs a page in the ActivityPub primer label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Primer Page Needs a page in the ActivityPub primer
Projects
None yet
Development

No branches or pull requests

3 participants