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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/bt5SPT71FFw",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/4CGChK_kZH0",
"published": "2024-03-01T16:22:16Z",
"content": "text",
"url": "http://remote.example/objects/123"
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/4CGChK_kZH0",
"published": "2024-03-01T16:22:16Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": "http://remote.example/objects/123"
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/wIr5q4WZf7w",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/4t50maP-nj4",
"published": "2024-03-01T16:22:20Z",
"content": "text",
"url": [
"http://remote.example/objects/123"
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/4t50maP-nj4",
"published": "2024-03-01T16:22:20Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": "http://remote.example/objects/123"
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/HG7Z1NYi9Lo",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/I77vtopLK_s",
"published": "2024-03-01T16:22:22Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
"http://other.example/objects/123"
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/I77vtopLK_s",
"published": "2024-03-01T16:22:22Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": [
"http://remote.example/objects/123",
"http://other.example/objects/123"
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/V361lbG4J38",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/cRX4wp5JAOA",
"published": "2024-03-01T16:22:25Z",
"content": "text",
"url": [
"http://other.example/objects/123",
"http://remote.example/objects/123"
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/cRX4wp5JAOA",
"published": "2024-03-01T16:22:25Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": [
"http://other.example/objects/123",
"http://remote.example/objects/123"
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/t1JoRiKPGOk",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/gaarOcQbxiI",
"published": "2024-03-01T16:22:27Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/gaarOcQbxiI",
"published": "2024-03-01T16:22:27Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": {
"href": "http://html.example/objects/123",
"mediaType": "text/html",
"type": "Link"
}
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/EN0RX3BwMm8",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/WnxmE2AicGg",
"published": "2024-03-01T16:22:29Z",
"content": "text",
"url": {
"type": "Link",
"mediaType": "video/mp4",
"href": "http://video.example/objects/123"
}
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/WnxmE2AicGg",
"published": "2024-03-01T16:22:29Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": {
"href": "http://video.example/objects/123",
"mediaType": "video/mp4",
"type": "Link"
}
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/3ogt7uji3Q8",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/0XcW9EZagHk",
"published": "2024-03-01T16:22:32Z",
"content": "text",
"url": [
"http://remote.example/objects/123",
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
}
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/0XcW9EZagHk",
"published": "2024-03-01T16:22:32Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": [
"http://remote.example/objects/123",
{
"href": "http://html.example/objects/123",
"mediaType": "text/html",
"type": "Link"
}
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/N-qMaPuCg2A",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/J7fpSb5dyfI",
"published": "2024-03-01T16:22:34Z",
"content": "text",
"url": [
{
"type": "Link",
"mediaType": "text/html",
"href": "http://html.example/objects/123"
},
"http://remote.example/objects/123"
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/J7fpSb5dyfI",
"published": "2024-03-01T16:22:34Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": [
{
"href": "http://html.example/objects/123",
"mediaType": "text/html",
"type": "Link"
},
"http://remote.example/objects/123"
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/BUww8qEpdSI",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/EJG0fMPZ8pA",
"published": "2024-03-01T16:22:36Z",
"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"
}
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/EJG0fMPZ8pA",
"published": "2024-03-01T16:22:36Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"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"
}
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/f02huVRrUkg",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/PzvOn5OGMuo",
"published": "2024-03-01T16:22:38Z",
"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"
}
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/PzvOn5OGMuo",
"published": "2024-03-01T16:22:38Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"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"
}
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/jrX3DW0rU1w",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/Y1V9bhYvrtM",
"published": "2024-03-01T16:22:41Z",
"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"
}
]
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/Y1V9bhYvrtM",
"published": "2024-03-01T16:22:41Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"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"
}
]
}
```
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://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture_one_actor/actor/vIpNT5wAeL0",
"object": {
"type": "Note",
"attributedTo": "http://pasture_one_actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"id": "http://pasture_one_actor/actor/Tm5jjYid_Ls",
"published": "2024-03-01T16:22:43Z",
"content": "text",
"url": {
"href": "https://notype.example/"
}
}
}
```
```json title="bovine"
{
"attributedTo": "http://pasture_one_actor/actor",
"content": "text",
"id": "http://pasture_one_actor/actor/Tm5jjYid_Ls",
"published": "2024-03-01T16:22:43Z",
"to": [
"as:Public",
"http://bovine/endpoints/cCymvw_8wcviEwAgrvkkb23N6OGZlQ6wMW9bWKqWBYM"
],
"type": "Note",
"url": {
"href": "https://notype.example/"
}
}
```