Skip to content
Matt Towers edited this page Sep 8, 2015 · 2 revisions

An Activity annotated with the Objekts that follow each activity component. The document structure is identical to Activity with the exception each Objekt in the activity also contains a followers array.

Attributes

Property Value Required Description
actor.followers Array true Entities that follow the actor.
object.followers Array true Entities that follow object entity in the activity.
target.followers Array true Entities that follow the target.
extensions[XXX].followers Array true Entities that follow a given activity extension entity

Example

{
  "title": "dr(57433) author answer(1050916) about question(1048591)",
  "published": "2013-08-13T16:36:59Z",
  "actor": {
    "type": "dr",
    "id": "1234",
    "followers": [
      {
        "type": "user",
        "id": "2345"
      }
    ]
  },
  "verb": "author",
  "object": {
    "type": "answer",
    "id": "1050916",
    "followers": [
      {
        "type": "user",
        "id": "3456"
      },
      {
        "type": "user",
        "id": "4567"
      }
    ]
  },
  "target": {
    "type": "question",
    "id": "1048591",
    "followers": [
      {
        "type": "user",
        "id": "5678"
      },
      {
        "type": "user",
        "id": "6789"
      }
    ]
  },
  "uuid": "8f6c22e6-1922-4f90-b2c5-59a42c5ab3b3"
}

Clone this wiki locally