Used Assets¶
This page showcases the assets that are used in the examples.
ActivityPub assets¶
base.jsonap¶
base.jsonap
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"id": "http://pasture_one_actor/assets/base.jsonap",
"to": ["as:Public"],
"attributedTo": "http://pasture_one_actor/actor",
"content": "This is post 1/2",
"replies": {
"type": "Collection",
"first": {
"type": "CollectionPage",
"items": ["http://pasture_one_actor/assets/reply.jsonap"]
}
}
}
note1.jsonap¶
note1.jsonap
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"id": "http://pasture-one-actor/assets/note1.jsonap",
"to": ["as:Public"],
"attributedTo": "http://pasture-one-actor/actor",
"content": "One",
"published": "2024-01-06T13:11:45Z"
}
note2.jsonap¶
note2.jsonap
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"id": "http://pasture-one-actor/assets/note2.jsonap",
"to": ["as:Public"],
"attributedTo": "http://pasture-one-actor/actor",
"content": "One"
}
reply.jsonap¶
reply.jsonap
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"id": "http://pasture_one_actor/assets/reply.jsonap",
"to": ["as:Public"],
"attributedTo": "http://pasture_one_actor/actor",
"content": "This is post 2/2",
"inReplyTo": "http://pasture_one_actor/assets/base.jsonap"
}
cow_emoji.jsonap¶
cow_emoji.jsonap
{
"@context": "https://www.w3.org/ns/activitystreams",
"id": "http://pasture_one_actor/assets/cow_emoji.jsonap",
"type": "Emoji",
"name": ":cow:",
"updated": "2025-01-22T12:57:33Z",
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "http://pasture_one_actor/assets/cow_emoji.png"
}
}