Skip to content

Url Parameter

Here we analyze varying url parameters.

The usage examples are inspired by Peertube's usage, see their documentation.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/TOwt42RstwY",
  "published": "2025-06-03T09:00:30Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/gExyhJ7Hfa4",
    "published": "2025-06-03T09:00:30Z",
    "content": "text",
    "url": "http://remote.example/objects/123"
  }
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/71JmLp1610k",
  "published": "2025-06-03T09:00:41Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/El0AwmlFghI",
    "published": "2025-06-03T09:00:41Z",
    "content": "text",
    "url": [
      "http://remote.example/objects/123"
    ]
  }
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/qU1hiIpCRBU",
  "published": "2025-06-03T09:00:52Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/yoiQv1ATm3M",
    "published": "2025-06-03T09:00:52Z",
    "content": "text",
    "url": [
      "http://remote.example/objects/123",
      "http://other.example/objects/123"
    ]
  }
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/B0cIdymjUuQ",
  "published": "2025-06-03T09:01:03Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/0dXY-JLpLlk",
    "published": "2025-06-03T09:01:03Z",
    "content": "text",
    "url": [
      "http://other.example/objects/123",
      "http://remote.example/objects/123"
    ]
  }
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/abhTtj7x6Hg",
  "published": "2025-06-03T09:01:14Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/8NnRzQTM7Ng",
    "published": "2025-06-03T09:01:14Z",
    "content": "text",
    "url": {
      "type": "Link",
      "mediaType": "text/html",
      "href": "http://html.example/objects/123"
    }
  }
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/evVTY2YpwnE",
  "published": "2025-06-03T09:01:24Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/V7Dx-hkyRpc",
    "published": "2025-06-03T09:01:24Z",
    "content": "text",
    "url": {
      "type": "Link",
      "mediaType": "video/mp4",
      "href": "http://video.example/objects/123"
    }
  }
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/UcFA2xd0U-Y",
  "published": "2025-06-03T09:01:35Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/xs9q7X8UCSU",
    "published": "2025-06-03T09:01:35Z",
    "content": "text",
    "url": [
      "http://remote.example/objects/123",
      {
        "type": "Link",
        "mediaType": "text/html",
        "href": "http://html.example/objects/123"
      }
    ]
  }
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/jLw_wAliQOk",
  "published": "2025-06-03T09:01:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/0Px_F3diIpU",
    "published": "2025-06-03T09:01:46Z",
    "content": "text",
    "url": [
      {
        "type": "Link",
        "mediaType": "text/html",
        "href": "http://html.example/objects/123"
      },
      "http://remote.example/objects/123"
    ]
  }
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YRh527ubeDg",
  "published": "2025-06-03T09:01:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/ltqA_zMl5Dw",
    "published": "2025-06-03T09:01:57Z",
    "content": "text",
    "url": [
      {
        "type": "Link",
        "mediaType": "text/html",
        "href": "http://html.example/objects/123"
      },
      {
        "type": "Link",
        "mediaType": "video/mp4",
        "href": "http://video.example/objects/123"
      }
    ]
  }
}

Example 10

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/JCG8KwmWvsw",
  "published": "2025-06-03T09:02:07Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/eNDynWjo0Vc",
    "published": "2025-06-03T09:02:07Z",
    "content": "text",
    "url": [
      {
        "type": "Link",
        "mediaType": "video/mp4",
        "href": "http://video.example/objects/123"
      },
      {
        "type": "Link",
        "mediaType": "text/html",
        "href": "http://html.example/objects/123"
      }
    ]
  }
}

Example 11

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/U05UWSfREeY",
  "published": "2025-06-03T09:02:18Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/ue6maI_d2zE",
    "published": "2025-06-03T09:02:18Z",
    "content": "text",
    "url": [
      {
        "type": "Link",
        "mediaType": "video/mp4",
        "href": "http://video.example/objects/123"
      },
      {
        "type": "Link",
        "mediaType": "text/html",
        "href": "http://html.example/objects/123",
        "rel": "canonical"
      }
    ]
  }
}

Example 12

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/QtTroXQFD24",
  "published": "2025-06-03T09:02:29Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/CE0yJhyj6rQ",
    "published": "2025-06-03T09:02:29Z",
    "content": "text",
    "url": {
      "href": "https://notype.example/"
    }
  }
}