Url parameter¶
Here we analyze varying url parameters.
The usage examples are inspired by Peertube's usage, see their documentation.
Examples¶
Example 1¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/1LcBO1OswDA",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/xElhUh2vLas",
"published": "2024-03-06T17:47:43Z",
"content": "text",
"url": "http://remote.example/objects/123"
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture_one_actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:47:40.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AfaAdDqISfo9zX3CgC",
"last_status_at": "2024-03-06T17:47:44",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 1,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-03-06T17:47:43.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AfaAdX4owtiPe4zZSK",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [],
"mentions": [
{
"acct": "full",
"id": "AfaATrrLaRx5LYIguO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/xElhUh2vLas",
"conversation_id": 1919378870,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture_one_actor/actor/xElhUh2vLas",
"url": "http://remote.example/objects/123",
"visibility": "public"
}
```
Example 2¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/vZijE0iNdHs",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/Qf9B7PN1Sj0",
"published": "2024-03-06T17:47:45Z",
"content": "text",
"url": [
"http://remote.example/objects/123"
]
}
}
```
no result
Example 3¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/gAT2PbgEehs",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/HxwVtPisCCk",
"published": "2024-03-06T17:47:47Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
"http://other.example/objects/123"
]
}
}
```
no result
Example 4¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/IZmAzeC_H6E",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/ycitZMGvWMM",
"published": "2024-03-06T17:47:49Z",
"content": "text",
"url": [
"http://other.example/objects/123",
"http://remote.example/objects/123"
]
}
}
```
no result
Example 5¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/WEu-jc2a86E",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/zvS8Abw4Y30",
"published": "2024-03-06T17:47:51Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture_one_actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:47:40.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AfaAdDqISfo9zX3CgC",
"last_status_at": "2024-03-06T17:47:52",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 2,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-03-06T17:47:51.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AfaAeIcoALpR76FsSO",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [],
"mentions": [
{
"acct": "full",
"id": "AfaATrrLaRx5LYIguO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/zvS8Abw4Y30",
"conversation_id": 1674611674,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture_one_actor/actor/zvS8Abw4Y30",
"url": "http://html.example/objects/123",
"visibility": "public"
}
```
Example 6¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/Sxgu0EwofmI",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/VHLoM20Jqaw",
"published": "2024-03-06T17:47:54Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture_one_actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:47:40.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AfaAdDqISfo9zX3CgC",
"last_status_at": "2024-03-06T17:47:54",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 3,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-03-06T17:47:54.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AfaAeUdbVDayN2igMa",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [],
"mentions": [
{
"acct": "full",
"id": "AfaATrrLaRx5LYIguO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/VHLoM20Jqaw",
"conversation_id": 1233166070,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture_one_actor/actor/VHLoM20Jqaw",
"url": "http://video.example/objects/123",
"visibility": "public"
}
```
Example 7¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/6TDcgi_LDcs",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/PHX-2MT9hOA",
"published": "2024-03-06T17:47:56Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
]
}
}
```
no result
Example 8¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/Wd3stHFpqiI",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/Qgh8FaOaZtI",
"published": "2024-03-06T17:47:58Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
},
"http://remote.example/objects/123"
]
}
}
```
no result
Example 9¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/pc-KqNxvXvQ",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/GxA1WfYsqKA",
"published": "2024-03-06T17:48:00Z",
"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"
}
]
}
}
```
no result
Example 10¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/QGyOTGsnrFY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/Ekgm1w7zw7A",
"published": "2024-03-06T17:48:02Z",
"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"
}
]
}
}
```
no result
Example 11¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/ZYfnrWh_m_I",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/FnKIdm4ygps",
"published": "2024-03-06T17:48:04Z",
"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"
}
]
}
}
```
no result
Example 12¶
```json title="activity"
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/edAEmbKu3Os",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://pleroma/users/full"
],
"id": "http://pasture_one_actor/actor/O1j9z2_t0zg",
"published": "2024-03-06T17:48:06Z",
"content": "text",
"url": {
"href": "https://notype.example/"
}
}
}
```
```json title="pleroma"
{
"account": {
"acct": "actor@pasture_one_actor",
"avatar": "http://pleroma/images/avi.png",
"avatar_static": "http://pleroma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:47:40.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://pleroma/images/banner.png",
"header_static": "http://pleroma/images/banner.png",
"id": "AfaAdDqISfo9zX3CgC",
"last_status_at": "2024-03-06T17:48:06",
"locked": false,
"note": "",
"pleroma": {
"accepts_chat_messages": null,
"also_known_as": [],
"ap_id": "http://pasture_one_actor/actor",
"background_image": null,
"favicon": null,
"hide_favorites": true,
"hide_followers": false,
"hide_followers_count": false,
"hide_follows": false,
"hide_follows_count": false,
"is_admin": false,
"is_confirmed": true,
"is_moderator": false,
"is_suggested": false,
"privileges": [],
"relationship": {},
"skip_thread_containment": false,
"tags": []
},
"source": {
"fields": [],
"note": "",
"pleroma": {
"actor_type": "Person",
"discoverable": false
},
"sensitive": false
},
"statuses_count": 4,
"url": "http://pasture_one_actor/actor",
"username": "actor"
},
"application": null,
"bookmarked": false,
"card": null,
"content": "text",
"created_at": "2024-03-06T17:48:06.000Z",
"edited_at": null,
"emojis": [],
"favourited": false,
"favourites_count": 0,
"id": "AfaAfdZTm1U0MoKtI8",
"in_reply_to_account_id": null,
"in_reply_to_id": null,
"language": null,
"media_attachments": [],
"mentions": [
{
"acct": "full",
"id": "AfaATrrLaRx5LYIguO",
"url": "http://pleroma/users/full",
"username": "full"
}
],
"muted": false,
"pinned": false,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/O1j9z2_t0zg",
"conversation_id": 1464730457,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"quote": null,
"quote_id": null,
"quote_url": null,
"quote_visible": false,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"poll": null,
"reblog": null,
"reblogged": false,
"reblogs_count": 0,
"replies_count": 0,
"sensitive": false,
"spoiler_text": "",
"tags": [],
"text": null,
"uri": "http://pasture_one_actor/actor/O1j9z2_t0zg",
"url": "https://notype.example/",
"visibility": "public"
}
```