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/zbFIsjpAav8",
"published": "2025-09-09T09:32:38Z",
"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/YTKkeMuPsis",
"published": "2025-09-09T09:32:38Z",
"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/HTkXklBFKCI",
"published": "2025-09-09T09:32:38Z",
"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/trooYfwmVDU",
"published": "2025-09-09T09:32:38Z",
"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/DtePxx_tBfs",
"published": "2025-09-09T09:32:38Z",
"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/RcHGMD0IG3E",
"published": "2025-09-09T09:32:38Z",
"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/vYhh90dqK2I",
"published": "2025-09-09T09:32:38Z",
"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/VcH1YLbDVdQ",
"published": "2025-09-09T09:32:38Z",
"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/frj5fcTm47Y",
"published": "2025-09-09T09:32:38Z",
"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/D9t8fBVCj98",
"published": "2025-09-09T09:32:38Z",
"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/KOkhcXY4YKk",
"published": "2025-09-09T09:32:38Z",
"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/aJLAThh4-bE",
"published": "2025-09-09T09:32:38Z",
"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/W20IItKoYU4",
"published": "2025-09-09T09:32:38Z",
"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/HRngw4W1fbY",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/5kTPv8CFc3E",
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note",
"url": "http://remote.example/objects/123"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/KE9H_Itay6o",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/hbthT3Z5FFA",
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note",
"url": [
"http://remote.example/objects/123"
]
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/JTnMd8Pfuuk",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/EsHd36ue8zo",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/IAbmNSfUeRA",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/RnS7obyzx8U",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/abRgBwK4AMw",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/9fn4Tr4zmaA",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/EOEclOZhmIw",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/RzuXJjbvJQA",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/75rdZ4k-Mlc",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/kN4UPaOeaTQ",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/FNTBobI2Hgo",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/I_Dj9BYOiQA",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/ot-DvWetjfk",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/axLRhZMgGNI",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/zfA-kcOy5B0",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/T7V1wf7Soik",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/vWQuxc-KkLQ",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/zUCAbA8EuY0",
"published": "2025-09-09T09:32:38Z",
"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-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/X1fM7wvxOgU",
"object": {
"attributedTo": "http://actor.example",
"content": "text",
"id": "http://actor.example/object/iUNX9DtRqZo",
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note",
"url": {
"href": "https://notype.example/"
}
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#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/activity/lo4cG7pC1oo",
"object": {
"attributedTo": "http://actor.example",
"content": "See https://codeberg.org/funfedidev/fediverse-pasture-inputs/issues/66",
"id": "http://actor.example/object/G5TVm8INN9M",
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note",
"url": "http://pasture-one-actor/objects/123"
},
"published": "2025-09-09T09:32:38Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Create"
}