Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
silverpill
@silverpill@mitra.social  ·  activity timestamp last week

@helge ActivityPub requires application/ld+json; profile="https://www.w3.org/ns/activitystreams"

https://www.w3.org/TR/activitypub/#retrieving-objects

The shorter form application/activity+json is nicer, but media type is one of the things about which specification is not ambiguous, so I always use the required one.

application/activity+json is (or was) used by Mastodon, so of course everyone copy-pasted it into their projects.

ActivityPub

The ActivityPub protocol is a decentralized social networking protocol based upon the [ActivityStreams] 2.0 data format. It provides a client to server API for creating, updating and deleting content, as well as a federated server to server API for delivering notifications and content.
  • Copy link
  • Flag this post
  • Block
Helge
@helge@mymath.rocks replied  ·  activity timestamp last week

Reading the word salad of the W3C ActivityPub specification, I'm convinced again that using Mastodon ActivityPub is the only logical choice. If people need convincing. I recommend to read the first sentence

The HTTP GET method may be dereferenced against an object's id property to retrieve the activity.

So if I use a HTTP GET to retrieve an object, W3C ActivityPub says I should get an activity back? And it's "the activity" so there is a canonical activity for the object. I believe calling W3C ActivityPub a document with Kafkaesque qualities is well deserved.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login