Url Parameter¶
Here we analyze varying url parameters.
The usage examples are inspired by Peertube's usage, see their documentation.
Examples¶
Example 1¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/P_wPSbeT2lY",
"published": "2025-01-08T14:05:10Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/l6POahnLv9M",
"published": "2025-01-08T14:05:10Z",
"content": "text",
"url": "http://remote.example/objects/123"
}
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/0prCISOH8yM",
"published": "2025-01-08T14:05:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/9KgbX4me3tI",
"published": "2025-01-08T14:05:22Z",
"content": "text",
"url": [
"http://remote.example/objects/123"
]
}
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/nKDmGr4zmwo",
"published": "2025-01-08T14:05:34Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/ByaEOQxMGWQ",
"published": "2025-01-08T14:05:34Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
"http://other.example/objects/123"
]
}
}
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/6Cf0EHcrndE",
"published": "2025-01-08T14:05:45Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/xQE31wf3q14",
"published": "2025-01-08T14:05:45Z",
"content": "text",
"url": [
"http://other.example/objects/123",
"http://remote.example/objects/123"
]
}
}
Example 5¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Z23v5pg4Pn0",
"published": "2025-01-08T14:05:57Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/0o3niwPjg20",
"published": "2025-01-08T14:05:57Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
}
}
Example 6¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/k7lOtFh3ULg",
"published": "2025-01-08T14:06:08Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/BBoG3Zv1LhA",
"published": "2025-01-08T14:06:08Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
}
}
Example 7¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/XiLmDhyrjdE",
"published": "2025-01-08T14:06:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/tkvG0uidhkc",
"published": "2025-01-08T14:06:19Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
]
}
}
Example 8¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/YZa_aoOjB_g",
"published": "2025-01-08T14:06:31Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/s6kGf2Ed_w4",
"published": "2025-01-08T14:06:31Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
},
"http://remote.example/objects/123"
]
}
}
Example 9¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/YmyKXC28W-s",
"published": "2025-01-08T14:06:42Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/zI8vDP4nWio",
"published": "2025-01-08T14:06:42Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
},
{
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
]
}
}
Example 10¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Gm41rsbDLbo",
"published": "2025-01-08T14:06:54Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/Nyti3_cwaNA",
"published": "2025-01-08T14:06:54Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
},
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
]
}
}
Example 11¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/yOtqH8XYxgo",
"published": "2025-01-08T14:07:05Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/40Vi9KCIhE8",
"published": "2025-01-08T14:07:05Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
},
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123",
"rel": "canonical"
}
]
}
}
Example 12¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://sharkey/users/a2rjb317blqu0001",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ms6sbxugkCo",
"published": "2025-01-08T14:07:17Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://sharkey/users/a2rjb317blqu0001"
],
"id": "http://pasture-one-actor/actor/cqe_AdIBJWQ",
"published": "2025-01-08T14:07:17Z",
"content": "text",
"url": {
"href": "https://notype.example/"
}
}
}