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/OSbmnQtB2uc",
  "published": "2025-07-31T07:23:46Z",
  "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/REnWTSOXLRc",
  "published": "2025-07-31T07:23:46Z",
  "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/1DkMSAMjMrw",
  "published": "2025-07-31T07:23:46Z",
  "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/VCHaQ7i_YDg",
  "published": "2025-07-31T07:23:46Z",
  "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/zjr04xyfpHg",
  "published": "2025-07-31T07:23:46Z",
  "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/kEJoKpRm6VE",
  "published": "2025-07-31T07:23:46Z",
  "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/F1XpNOc6AH0",
  "published": "2025-07-31T07:23:46Z",
  "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/44oFoGCGKoA",
  "published": "2025-07-31T07:23:46Z",
  "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/yic0kTc4Js8",
  "published": "2025-07-31T07:23:46Z",
  "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/L6oDUEc3aw4",
  "published": "2025-07-31T07:23:46Z",
  "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/ZV4EaTg9yUs",
  "published": "2025-07-31T07:23:46Z",
  "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/26Z88XgPqaw",
  "published": "2025-07-31T07:23:46Z",
  "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/v8ll8K9rpCQ",
  "published": "2025-07-31T07:23:46Z",
  "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/CETwEdRgY68",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/r9Tn5F3JVFk",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://remote.example/objects/123"
  },
  "published": "2025-07-31T07:23:46Z",
  "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/NBkCWtqMZ7M",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/8rgpar9lC4o",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-07-31T07:23:46Z",
  "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/ivLalQdhUlg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/HRouQ3v5xlA",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123",
      "http://other.example/objects/123"
    ]
  },
  "published": "2025-07-31T07:23:46Z",
  "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/XyBs7pIIdqo",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/fQ7XQbICdbg",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://other.example/objects/123",
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-07-31T07:23:46Z",
  "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/Q5R9GhPyloM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/o8F1zlTyW7s",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  },
  "published": "2025-07-31T07:23:46Z",
  "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/7ezGxw2Jnzc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/W5qCUEMY15g",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    }
  },
  "published": "2025-07-31T07:23:46Z",
  "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/xDgpenu77k0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/rYmZ3beNgfw",
    "published": "2025-07-31T07:23:46Z",
    "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-31T07:23:46Z",
  "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/W4ckiO42Aj0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/PftQWKyyOQI",
    "published": "2025-07-31T07:23:46Z",
    "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-31T07:23:46Z",
  "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/l04i0GVRdpM",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/hxpsVVaFSUc",
    "published": "2025-07-31T07:23:46Z",
    "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-31T07:23:46Z",
  "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/W7OdUo9hVFQ",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/LVOYKqxUcAo",
    "published": "2025-07-31T07:23:46Z",
    "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-31T07:23:46Z",
  "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/eEpEOZY_cyw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/B7RbfjsAByo",
    "published": "2025-07-31T07:23:46Z",
    "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-31T07:23:46Z",
  "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/xCt-MNWhpBg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/25T6XNwsiSc",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "https://notype.example/"
    }
  },
  "published": "2025-07-31T07:23:46Z",
  "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/IoeF_TWRGhg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "See https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/66",
    "id": "http://actor.example/-m8YawQtWSM",
    "published": "2025-07-31T07:23:46Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://pasture-one-actor/objects/123"
  },
  "published": "2025-07-31T07:23:46Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}