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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/NYaSlkS7he0",
  "published": "2024-11-22T15:41:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/92oGs3OlRjE",
    "published": "2024-11-22T15:41:46Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/vRZ-gXWGr-o",
  "published": "2024-11-22T15:41:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/lhtoOCZehzE",
    "published": "2024-11-22T15:41:57Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/VFS0rjq4A0E",
  "published": "2024-11-22T15:42:09Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/dvXr2FwHYSM",
    "published": "2024-11-22T15:42:09Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/iwyZ1NLaB9A",
  "published": "2024-11-22T15:42:20Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/hybxudC5Ie0",
    "published": "2024-11-22T15:42:20Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/y_KT3igB2Mc",
  "published": "2024-11-22T15:42:31Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/f6-jbOKXAGI",
    "published": "2024-11-22T15:42:31Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/XRpkkuTDf3k",
  "published": "2024-11-22T15:42:43Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/6xLitluqfUo",
    "published": "2024-11-22T15:42:43Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/vpIj8rz8ztI",
  "published": "2024-11-22T15:42:54Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/tXpNy0F8zsU",
    "published": "2024-11-22T15:42:54Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/OtqER-1JxdY",
  "published": "2024-11-22T15:43:06Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/a03x49IDi5w",
    "published": "2024-11-22T15:43:06Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/TbwTkMbUJQA",
  "published": "2024-11-22T15:43:17Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/XO_fDDv3M0I",
    "published": "2024-11-22T15:43:17Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/-5ktDI2lalA",
  "published": "2024-11-22T15:43:29Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/A4BI4ErYRhg",
    "published": "2024-11-22T15:43:29Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/NidqdvIZ63M",
  "published": "2024-11-22T15:43:40Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/DFn27TgBEXA",
    "published": "2024-11-22T15:43:40Z",
    "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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/ez6eFyhzgQ8",
  "published": "2024-11-22T15:43:51Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/lv9GzePcnyM",
    "published": "2024-11-22T15:43:51Z",
    "content": "text",
    "url": {
      "href": "https://notype.example/"
    }
  }
}