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/0Kv6RqcC6Qc",
  "published": "2024-11-22T15:02:51Z",
  "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/zjuzlQQrkZQ",
  "published": "2024-11-22T15:02:51Z",
  "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/VZPl3b_Nthg",
  "published": "2024-11-22T15:02:51Z",
  "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/-V6n1y6ZuPg",
  "published": "2024-11-22T15:02:51Z",
  "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/TgLA2td8xHA",
  "published": "2024-11-22T15:02:51Z",
  "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/kE3bX-FjM3k",
  "published": "2024-11-22T15:02:51Z",
  "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/lAlv-f1lY8g",
  "published": "2024-11-22T15:02:51Z",
  "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/UwAxUNapxLI",
  "published": "2024-11-22T15:02:51Z",
  "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/hFCFDVWmznk",
  "published": "2024-11-22T15:02:51Z",
  "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/Phzexz8iNZM",
  "published": "2024-11-22T15:02:51Z",
  "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/z9mhLbZKx1c",
  "published": "2024-11-22T15:02:51Z",
  "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/RUXN5zgsrTw",
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public"
  ],
  "type": "Note",
  "url": {
    "href": "https://notype.example/"
  }
}

Activities

Activity 1

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "actor": "http://actor.example",
  "id": "http://actor.example/zM4mNxztZMU",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/Nvze0yFOp6Q",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://remote.example/objects/123"
  },
  "published": "2024-11-22T15:02:51Z",
  "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/EwwyUH08Qds",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/jTwkStgnVtw",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123"
    ]
  },
  "published": "2024-11-22T15:02:51Z",
  "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/KTIB_TFmFeA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/Imk1Ra5SSEw",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123",
      "http://other.example/objects/123"
    ]
  },
  "published": "2024-11-22T15:02:51Z",
  "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/qWTFq-QpM4k",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/kWwXJcAQVbo",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://other.example/objects/123",
      "http://remote.example/objects/123"
    ]
  },
  "published": "2024-11-22T15:02:51Z",
  "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/BN0wDmbfKt4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/U85gvX29Gew",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  },
  "published": "2024-11-22T15:02:51Z",
  "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/f8NPvlqwRdw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/qWoqSdxO0m0",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    }
  },
  "published": "2024-11-22T15:02:51Z",
  "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/br3T6SI3_gs",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/uMHl_MwtN-E",
    "published": "2024-11-22T15:02:51Z",
    "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": "2024-11-22T15:02:51Z",
  "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/9TXBSff1Gjk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/REC9rNONdcE",
    "published": "2024-11-22T15:02:51Z",
    "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": "2024-11-22T15:02:51Z",
  "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/3moY0L8iJhc",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/ElviFX3y0tk",
    "published": "2024-11-22T15:02:51Z",
    "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": "2024-11-22T15:02:51Z",
  "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/lYN327kAg0o",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/1n6dCySV8_U",
    "published": "2024-11-22T15:02:51Z",
    "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": "2024-11-22T15:02:51Z",
  "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/w-4aKZXcMCY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/xkJkZjlKAYM",
    "published": "2024-11-22T15:02:51Z",
    "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": "2024-11-22T15:02:51Z",
  "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/tk0f3YSmQlw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/83O3xouLY7k",
    "published": "2024-11-22T15:02:51Z",
    "to": [
      "as:Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "https://notype.example/"
    }
  },
  "published": "2024-11-22T15:02:51Z",
  "to": [
    "as:Public",
    "http://remote.example/"
  ],
  "type": "Create"
}