Accept

By Fediverse Developer Network

https://fedidevs.org/projects/server-apps/funkwhale/activities/accept/

The Accept activity sends a positive response, such as confirming a Follow activity.

Reference
ActivityAccept
ObjectAn ActivityPub Actor (IRI or inline)
IDThe initial Follow activity request ID

Internal logic

When Funkwhale receives an Accept activity related to a Follow activity, it marks the Follow as accepted in the database. If the Follow activity relates to a Library object, the requester receives future activities associated with the library. This includes Create and Delete activities as well as Audio objects. They can also browse and download the library’s audio files.

Example

In this example, Bob accepts a follow request from Alice.

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {}
  ],
  "type": "Accept",
  "id": "https://music.rocks/federation/actors/Alice#follows/99fc40d7-9bc8-4c4a-add1-f637339e1ded/accept",
  "to": ["https://music.rocks/federation/actors/Alice"],
  "actor": "https://awesome.music/federation/actors/Bob",
  "object": {
    "id": "https://music.rocks/federation/actors/Alice#follows/99fc40d7-9bc8-4c4a-add1-f637339e1ded",
    "type": "Follow",
    "actor": "https://music.rocks/federation/actors/Alice",
    "object": "https://awesome.music/federation/music/libraries/dc702491-f6ce-441b-9da0-cecbed08bcc6"
  }
}