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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/rxYl-G18IDI",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/KVOCgRuLphA",
"published": "2024-03-06T17:40:46Z",
"content": "text",
"url": "http://remote.example/objects/123"
}
}
```
```json title="akkoma"
{
"card": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/KVOCgRuLphA",
"conversation_id": 1261062199,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"content": "text",
"replies_count": 0,
"uri": "http://pasture_one_actor/actor/KVOCgRuLphA",
"in_reply_to_account_id": null,
"quote": null,
"spoiler_text": "",
"quote_id": null,
"id": "AfaA11YDdEuLLoA02K",
"poll": null,
"favourited": false,
"visibility": "public",
"url": "http://remote.example/objects/123",
"in_reply_to_id": null,
"emoji_reactions": [],
"favourites_count": 0,
"edited_at": null,
"akkoma": {
"source": null
},
"bookmarked": false,
"reblogs_count": 0,
"text": null,
"reblogged": false,
"application": null,
"sensitive": false,
"pinned": false,
"muted": false,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:40:42.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfaA0fT9jNmmrjce5g",
"last_status_at": "2024-03-06",
"locked": false,
"note": "",
"pleroma": {
"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,
"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"
},
"mentions": [
{
"acct": "witch",
"id": "Afa9srfZMHPS3qow9Q",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"created_at": "2024-03-06T17:40:46.000Z",
"emojis": [],
"media_attachments": [],
"tags": [],
"reblog": null,
"language": null
}
```
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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/eu04i9AWreM",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/1xxSOLV7gq8",
"published": "2024-03-06T17:40:48Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/LCtaeVbsNdw",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/czIsf458ABA",
"published": "2024-03-06T17:40:50Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/Qsw7jghLiFM",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/p6zZeB1mMXs",
"published": "2024-03-06T17:40:52Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/58bGjwWRzMY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/hzJrEFJELkA",
"published": "2024-03-06T17:40:54Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
}
}
```
```json title="akkoma"
{
"card": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/hzJrEFJELkA",
"conversation_id": 444928961,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"content": "text",
"replies_count": 0,
"uri": "http://pasture_one_actor/actor/hzJrEFJELkA",
"in_reply_to_account_id": null,
"quote": null,
"spoiler_text": "",
"quote_id": null,
"id": "AfaA1nCEUHqF7WF7Qm",
"poll": null,
"favourited": false,
"visibility": "public",
"url": "http://html.example/objects/123",
"in_reply_to_id": null,
"emoji_reactions": [],
"favourites_count": 0,
"edited_at": null,
"akkoma": {
"source": null
},
"bookmarked": false,
"reblogs_count": 0,
"text": null,
"reblogged": false,
"application": null,
"sensitive": false,
"pinned": false,
"muted": false,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:40:42.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfaA0fT9jNmmrjce5g",
"last_status_at": "2024-03-06",
"locked": false,
"note": "",
"pleroma": {
"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,
"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"
},
"mentions": [
{
"acct": "witch",
"id": "Afa9srfZMHPS3qow9Q",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"created_at": "2024-03-06T17:40:54.000Z",
"emojis": [],
"media_attachments": [],
"tags": [],
"reblog": null,
"language": null
}
```
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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/74fcjmUdBaY",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/eEp1JKo4FzQ",
"published": "2024-03-06T17:40:56Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
}
}
```
```json title="akkoma"
{
"card": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/eEp1JKo4FzQ",
"conversation_id": 124369449,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"content": "text",
"replies_count": 0,
"uri": "http://pasture_one_actor/actor/eEp1JKo4FzQ",
"in_reply_to_account_id": null,
"quote": null,
"spoiler_text": "",
"quote_id": null,
"id": "AfaA1zFrebsQWG2Bl2",
"poll": null,
"favourited": false,
"visibility": "public",
"url": "http://video.example/objects/123",
"in_reply_to_id": null,
"emoji_reactions": [],
"favourites_count": 0,
"edited_at": null,
"akkoma": {
"source": null
},
"bookmarked": false,
"reblogs_count": 0,
"text": null,
"reblogged": false,
"application": null,
"sensitive": false,
"pinned": false,
"muted": false,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:40:42.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfaA0fT9jNmmrjce5g",
"last_status_at": "2024-03-06",
"locked": false,
"note": "",
"pleroma": {
"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,
"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"
},
"mentions": [
{
"acct": "witch",
"id": "Afa9srfZMHPS3qow9Q",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"created_at": "2024-03-06T17:40:56.000Z",
"emojis": [],
"media_attachments": [],
"tags": [],
"reblog": null,
"language": null
}
```
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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/2bf_8CvIqWs",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/fYJYkV9rekY",
"published": "2024-03-06T17:40:58Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/7ljBiLoquy4",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/pBM6a4gyX9Q",
"published": "2024-03-06T17:41:00Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/oU4vwbJKJZI",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/_Z7Vwj6bFx4",
"published": "2024-03-06T17:41:02Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/wbYdHQF63g4",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/-0oJ7OlWkls",
"published": "2024-03-06T17:41: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"
}
]
}
}
```
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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/L-QRVVitUjw",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/fVLtbHf_MnE",
"published": "2024-03-06T17:41:06Z",
"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": [
"http://akkoma/users/witch",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/2QWIMUFizRo",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://akkoma/users/witch"
],
"id": "http://pasture_one_actor/actor/U3MsnysHvdA",
"published": "2024-03-06T17:41:08Z",
"content": "text",
"url": {
"href": "https://notype.example/"
}
}
}
```
```json title="akkoma"
{
"card": null,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture_one_actor/actor/U3MsnysHvdA",
"conversation_id": 2075587162,
"direct_conversation_id": null,
"emoji_reactions": [],
"expires_at": null,
"in_reply_to_account_acct": null,
"local": false,
"parent_visible": false,
"pinned_at": null,
"spoiler_text": {
"text/plain": ""
},
"thread_muted": false
},
"content": "text",
"replies_count": 0,
"uri": "http://pasture_one_actor/actor/U3MsnysHvdA",
"in_reply_to_account_id": null,
"quote": null,
"spoiler_text": "",
"quote_id": null,
"id": "AfaA38BNwjTsUvU78K",
"poll": null,
"favourited": false,
"visibility": "public",
"url": "https://notype.example/",
"in_reply_to_id": null,
"emoji_reactions": [],
"favourites_count": 0,
"edited_at": null,
"akkoma": {
"source": null
},
"bookmarked": false,
"reblogs_count": 0,
"text": null,
"reblogged": false,
"application": null,
"sensitive": false,
"pinned": false,
"muted": false,
"account": {
"acct": "actor@pasture_one_actor",
"akkoma": {
"instance": {
"favicon": null,
"name": "pasture_one_actor",
"nodeinfo": {}
},
"permit_followback": false,
"status_ttl_days": null
},
"avatar": "http://akkoma/images/avi.png",
"avatar_static": "http://akkoma/images/avi.png",
"bot": false,
"created_at": "2024-03-06T17:40:42.000Z",
"display_name": "Test Actor",
"emojis": [],
"fields": [],
"followers_count": 0,
"following_count": 0,
"fqn": "actor@pasture_one_actor",
"header": "http://akkoma/images/banner.png",
"header_static": "http://akkoma/images/banner.png",
"id": "AfaA0fT9jNmmrjce5g",
"last_status_at": "2024-03-06",
"locked": false,
"note": "",
"pleroma": {
"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,
"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"
},
"mentions": [
{
"acct": "witch",
"id": "Afa9srfZMHPS3qow9Q",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"created_at": "2024-03-06T17:41:08.000Z",
"emojis": [],
"media_attachments": [],
"tags": [],
"reblog": null,
"language": null
}
```