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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/Twef5BQCuGg",
"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/irRpxkjyLtY",
"published": "2024-03-31T14:52:27Z",
"content": "text",
"url": "http://remote.example/objects/123"
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/irRpxkjyLtY",
"conversation_id": 2009284537,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/irRpxkjyLtY",
"bookmarked": false,
"language": null,
"content": "text",
"quote": null,
"id": "AgPjqCgePUrhDBpUzA",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "http://remote.example/objects/123",
"created_at": "2024-03-31T14:52:27.000Z",
"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-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/r5yP2k38fq4",
"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/-OT9stdRhUM",
"published": "2024-03-31T14:52:28Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/GDNxcTsFMtg",
"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/NvbnE1FVxVI",
"published": "2024-03-31T14:52:39Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/Uad7uceo7EI",
"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/DCALHuI8QyA",
"published": "2024-03-31T14:52:50Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/HqsYM1DSXcE",
"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/BrkWhMdZM7A",
"published": "2024-03-31T14:53:01Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/BrkWhMdZM7A",
"conversation_id": 1362690079,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/BrkWhMdZM7A",
"bookmarked": false,
"language": null,
"content": "text",
"quote": null,
"id": "AgPjtJ555sURuYjiim",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "http://html.example/objects/123",
"created_at": "2024-03-31T14:53:01.000Z",
"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-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/RAaEVkG21k0",
"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/ukn4MLt-H9E",
"published": "2024-03-31T14:53:02Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/ukn4MLt-H9E",
"conversation_id": 1087698928,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/ukn4MLt-H9E",
"bookmarked": false,
"language": null,
"content": "text",
"quote": null,
"id": "AgPjtMzCZgAE1U1572",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "http://video.example/objects/123",
"created_at": "2024-03-31T14:53:02.000Z",
"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-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```
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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/ksJUcSQdSG8",
"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/xbwgJ7pXgf0",
"published": "2024-03-31T14:53:03Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/drQpEKz69d8",
"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/9WQ2pk_cq9U",
"published": "2024-03-31T14:53:14Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/sq4dQ4b3DFw",
"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/wcWMhsORU_k",
"published": "2024-03-31T14:53:24Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/Umem4pfeVrw",
"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/gzHWr5nU15o",
"published": "2024-03-31T14:53:35Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/vlNKO7Qz0z8",
"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/DbNfB0i-HJ8",
"published": "2024-03-31T14:53:47Z",
"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://akkoma/users/witch"
],
"id": "http://pasture-one-actor/actor/ARMuW4uCGZc",
"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/bB7BNmAIpTM",
"published": "2024-03-31T14:53:58Z",
"content": "text",
"url": {
"href": "https://notype.example/"
}
}
}
```
```json title="akkoma"
{
"replies_count": 0,
"pleroma": {
"content": {
"text/plain": "text"
},
"context": "http://pasture-one-actor/actor/bB7BNmAIpTM",
"conversation_id": 351458244,
"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
},
"visibility": "public",
"muted": false,
"uri": "http://pasture-one-actor/actor/bB7BNmAIpTM",
"bookmarked": false,
"language": null,
"content": "text",
"quote": null,
"id": "AgPjyVQUcawbeDEMng",
"reblogged": false,
"akkoma": {
"source": null
},
"url": "https://notype.example/",
"created_at": "2024-03-31T14:53:58.000Z",
"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-31T14:52:27.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": "AgPjqBIVZlxWu1WhiS",
"last_status_at": "2024-03-31",
"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"
},
"edited_at": null,
"spoiler_text": "",
"poll": null,
"reblogs_count": 0,
"emoji_reactions": [],
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"mentions": [
{
"acct": "witch",
"id": "AgPji6ZwwMZYkrScmO",
"url": "http://akkoma/users/witch",
"username": "witch"
}
],
"application": null,
"sensitive": false,
"pinned": false,
"favourited": false,
"text": null,
"emojis": [],
"media_attachments": [],
"card": null,
"tags": [],
"reblog": null,
"quote_id": null,
"favourites_count": 0
}
```