Skip to content

Some events

Example 1: default

Activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "cc": [],
  "id": "http://host.test/activities/Czql1UuLLI2uHtqO",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-18T10:48:43.257016+00:00Z",
    "id": "http://host.test/objects/9vWnkV49TTwQWuNx",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-14T07:48:43Z",
    "startTime": "2026-04-18T07:48:43.256966+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-14T07:48:43Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "cc": [],
  "content": "event content",
  "endTime": "2026-04-18T10:48:43.257016+00:00Z",
  "id": "http://host.test/objects/9vWnkV49TTwQWuNx",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-14T07:48:43Z",
  "startTime": "2026-04-18T07:48:43.256966+00:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Event"
}

Example 2: with hashtag

Activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "cc": [],
  "id": "http://host.test/activities/RqTxt-yx2h4fEs0f",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-18T10:48:43.257186+00:00Z",
    "id": "http://host.test/objects/kXrhThYtLqpen3Nt",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-14T07:48:43Z",
    "startTime": "2026-04-18T07:48:43.257178+00:00Z",
    "tag": [
      {
        "name": "#tag",
        "type": "Hashtag"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-14T07:48:43Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "cc": [],
  "content": "event content",
  "endTime": "2026-04-18T10:48:43.257186+00:00Z",
  "id": "http://host.test/objects/kXrhThYtLqpen3Nt",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-14T07:48:43Z",
  "startTime": "2026-04-18T07:48:43.257178+00:00Z",
  "tag": [
    {
      "name": "#tag",
      "type": "Hashtag"
    }
  ],
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Event"
}

Example 3: with mention

Activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "cc": [],
  "id": "http://host.test/activities/nQzcJZtyK-PkiGo-",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-18T10:48:43.257340+00:00Z",
    "id": "http://host.test/objects/4A99U0_dN5aiq8tK",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-14T07:48:43Z",
    "startTime": "2026-04-18T07:48:43.257332+00:00Z",
    "tag": [
      {
        "href": "http://host.test/someone",
        "name": "@someone",
        "type": "Mention"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-14T07:48:43Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "cc": [],
  "content": "event content",
  "endTime": "2026-04-18T10:48:43.257340+00:00Z",
  "id": "http://host.test/objects/4A99U0_dN5aiq8tK",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-14T07:48:43Z",
  "startTime": "2026-04-18T07:48:43.257332+00:00Z",
  "tag": [
    {
      "href": "http://host.test/someone",
      "name": "@someone",
      "type": "Mention"
    }
  ],
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Event"
}

Example 4: with mention no name

Activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "actor": "http://host.test/some/actor",
  "cc": [],
  "id": "http://host.test/activities/X60AjD3KomjXGWtt",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-18T10:48:43.257497+00:00Z",
    "id": "http://host.test/objects/O182uwm5FLlaTaHH",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-14T07:48:43Z",
    "startTime": "2026-04-18T07:48:43.257488+00:00Z",
    "tag": [
      {
        "href": "http://host.test/someone",
        "type": "Mention"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-14T07:48:43Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Create"
}
Object
{
  "@context": [
    "https://www.w3.org/ns/activitystreams"
  ],
  "attributedTo": "http://host.test/some/actor",
  "cc": [],
  "content": "event content",
  "endTime": "2026-04-18T10:48:43.257497+00:00Z",
  "id": "http://host.test/objects/O182uwm5FLlaTaHH",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-14T07:48:43Z",
  "startTime": "2026-04-18T07:48:43.257488+00:00Z",
  "tag": [
    {
      "href": "http://host.test/someone",
      "type": "Mention"
    }
  ],
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://other.test/some/actor"
  ],
  "type": "Event"
}