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/DgbPoCcv4AHeesE7",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.722756+00:00Z",
    "id": "http://host.test/objects/7zDhfu-Ntqkend9L",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.722733+00:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://other.test/some/actor"
    ],
    "type": "Event"
  },
  "published": "2026-04-08T07:53:32Z",
  "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-12T10:53:32.722756+00:00Z",
  "id": "http://host.test/objects/7zDhfu-Ntqkend9L",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.722733+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/XLqqaJVk-2gSiZez",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.722909+00:00Z",
    "id": "http://host.test/objects/FHaL0xut5URWKEh8",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.722902+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-08T07:53:32Z",
  "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-12T10:53:32.722909+00:00Z",
  "id": "http://host.test/objects/FHaL0xut5URWKEh8",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.722902+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/NSETYUQ24QEoeqJ4",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723023+00:00Z",
    "id": "http://host.test/objects/ybXYo-Q7SlzgqiV-",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723018+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-08T07:53:32Z",
  "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-12T10:53:32.723023+00:00Z",
  "id": "http://host.test/objects/ybXYo-Q7SlzgqiV-",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723018+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/gAlPiEPZ1dT1Nfls",
  "object": {
    "@context": [
      "https://www.w3.org/ns/activitystreams"
    ],
    "attributedTo": "http://host.test/some/actor",
    "cc": [],
    "content": "event content",
    "endTime": "2026-04-12T10:53:32.723136+00:00Z",
    "id": "http://host.test/objects/3xPRFkyc375wyABB",
    "location": {
      "type": "VirtualLocation",
      "url": "http://localhost"
    },
    "name": "my event",
    "published": "2026-04-08T07:53:32Z",
    "startTime": "2026-04-12T07:53:32.723131+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-08T07:53:32Z",
  "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-12T10:53:32.723136+00:00Z",
  "id": "http://host.test/objects/3xPRFkyc375wyABB",
  "location": {
    "type": "VirtualLocation",
    "url": "http://localhost"
  },
  "name": "my event",
  "published": "2026-04-08T07:53:32Z",
  "startTime": "2026-04-12T07:53:32.723131+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"
}