Skip to content

Url Parameter

Here we analyze varying url parameters. The usage examples are inspired by Peertube’s usage, see their documentation.

The support table just compares the number of links at the momment. ❌ means failed to parse. ✅ means all links present.

Support Table Preview

Number of links Object Activity
string Object Activity
List with 1 elements Object Activity
List with 2 elements Object Activity
List with 2 elements Object Activity
dict Object Activity
dict Object Activity
List with 2 elements Object Activity
List with 2 elements Object Activity
List with 2 elements Object Activity
List with 2 elements Object Activity
List with 2 elements Object Activity
dict Object Activity
string Object Activity

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/object/3IbYlTVIPMw",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/RoZl27iMUDg",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/aAY9YiiWqWg",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/Q3FC-uX0Yaw",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/KYZ351nSzao",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/PEeavxYiECc",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/m0Af9uVZBXU",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/PQnmKWuhpjo",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/-VozcktpUxc",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/yIoD4qqZ15Y",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/SKyjWOZ51cs",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/wLWU1IB7FlA",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/object/FAeQ2T_RghI",
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "https://www.w3.org/ns/activitystreams#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/activity/CI0ik0bWY8U",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/EvBHIpQeyVU",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://remote.example/objects/123"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/Ruf9Gkd3-f0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/yv_usvyOb0Q",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/e3Br_9TYKOY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/gi0xc6hpor8",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://remote.example/objects/123",
      "http://other.example/objects/123"
    ]
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/Fy-07XSGcRg",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/pnTpnIY7NyE",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": [
      "http://other.example/objects/123",
      "http://remote.example/objects/123"
    ]
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/SRdTkyQokX0",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/pxg9z74a7eA",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://html.example/objects/123",
      "mediaType": "text/html",
      "type": "Link"
    }
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/ZhRlfyGqsHw",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/ioz7x83ItN8",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "http://video.example/objects/123",
      "mediaType": "video/mp4",
      "type": "Link"
    }
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/yffRb7MsvKY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/RSiDEio1b1Q",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#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-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/ayVU4vFnZ6o",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/4dT91ClxhwU",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#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-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/K8ETk5YFaaI",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/0EJd90_eycg",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#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-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/rVyV1d5Opmk",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/mVabkwY79ls",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#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-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/EJC-xV3FxxA",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/GgtLHN1Tji4",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#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-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/KTCVzbFmmoY",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "text",
    "id": "http://actor.example/object/mAccwBOwClQ",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": {
      "href": "https://notype.example/"
    }
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "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/activity/0t0CW4S9Mi4",
  "object": {
    "attributedTo": "http://actor.example",
    "content": "See https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/66",
    "id": "http://actor.example/object/lr_ad5Llaew",
    "published": "2025-10-12T08:53:00Z",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://remote.example/"
    ],
    "type": "Note",
    "url": "http://pasture-one-actor/objects/123"
  },
  "published": "2025-10-12T08:53:00Z",
  "to": [
    "http://remote.example/",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "type": "Create"
}