Skip to content

Url Parameter

Here we analyze varying url parameters.

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

Objects

Object 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/XOIRG8zsfrM",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": "http://remote.example/objects/123"
}

Object 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/fMKfd09Xo7o",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    "http://remote.example/objects/123"
  ]
}

Object 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/DMH5RPkBTI4",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    "http://remote.example/objects/123",
    "http://other.example/objects/123"
  ]
}

Object 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/_jkXCixZwoI",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    "http://other.example/objects/123",
    "http://remote.example/objects/123"
  ]
}

Object 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/x2YVpowL42Y",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": {
    "href": "http://html.example/objects/123",
    "mediaType": "text/html",
    "type": "Link"
  }
}

Object 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/LHKf6ozlt50",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": {
    "href": "http://video.example/objects/123",
    "mediaType": "video/mp4",
    "type": "Link"
  }
}

Object 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/jNC8cFXVo1Q",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    "http://remote.example/objects/123",
    {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  ]
}

Object 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/mDFUxB0q3yU",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    },
    "http://remote.example/objects/123"
  ]
}

Object 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/lEgpc9fUxqY",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    },
    {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    }
  ]
}

Object 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/XTlfliLDUKs",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    },
    {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  ]
}

Object 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/XaNlW4tQlww",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": [
    {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    },
    {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "rel": "canonical",
      "type": "Link"
    }
  ]
}

Object 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "text",
  "id": "http://actor.example/uQKNfH4Wk6s",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": {
    "href": "https://notype.example/"
  }
}

Object 13

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "attributedTo": "http://actor.example",
  "content": "See https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/66",
  "id": "http://actor.example/cJsVXv-1C7k",
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": "http://pasture-one-actor/objects/123"
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/EdwP1wM9270",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/j9yy9ejS7z8",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://remote.example/objects/123"
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 2

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/iQcCbBsZfcQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/CwDuN015gho",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 3

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/kw8c3VyjluM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/9baHd_UVGVU",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123",
      "http://other.example/objects/123"
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 4

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/Jv5DL4neBOo",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/tuV0aPr1OVM",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://other.example/objects/123",
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 5

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/cxxVRg6bBkA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/xHT8yGxkTXA",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 6

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/ORLuTOG8-ZQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/79DHXBvF8to",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    }
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 7

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/Oa3INiMRKlk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/QfcJD7us76w",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123",
      {
        "href": "http://html.example/objects/123",
        "mediaType": "text/html",
        "type": "Link"
      }
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 8

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/zekmit1v1sQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/FUB_49yr29Y",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      {
        "href": "http://html.example/objects/123",
        "mediaType": "text/html",
        "type": "Link"
      },
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 9

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/391bNbnipYI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/MJf0525VpvE",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      {
        "href": "http://html.example/objects/123",
        "mediaType": "text/html",
        "type": "Link"
      },
      {
        "href": "http://video.example/objects/123",
        "mediaType": "video/mp4",
        "type": "Link"
      }
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 10

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/N3MJvEfvgAE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/lBaWKJXcC8o",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      {
        "href": "http://video.example/objects/123",
        "mediaType": "video/mp4",
        "type": "Link"
      },
      {
        "href": "http://html.example/objects/123",
        "mediaType": "text/html",
        "type": "Link"
      }
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 11

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/wUB_Os2hwtE",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/SF9OGkpUFok",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      {
        "href": "http://video.example/objects/123",
        "mediaType": "video/mp4",
        "type": "Link"
      },
      {
        "href": "http://html.example/objects/123",
        "mediaType": "text/html",
        "rel": "canonical",
        "type": "Link"
      }
    ]
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 12

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/EUHsXDPXVnQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/GgOL9UbiloQ",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "https://notype.example/"
    }
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}

Activity 13

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/J6wYbysARJw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "See https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/66",
    "id": "http://actor.example/Mjqqcg7bhQg",
    "published": "2025-07-15T09:07:23Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://pasture-one-actor/objects/123"
  },
  "published": "2025-07-15T09:07:23Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}