python flask implementation of activity pub actor
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"@context": "https://www.w3.org/ns/activitystreams",
|
|
|
|
|
|
|
|
"id": "{{domain}}/create-hello-world",
|
|
|
|
"type": "Create",
|
|
|
|
"actor": "{{domain}}/users/{{actor}}",
|
|
|
|
|
|
|
|
"object": {
|
|
|
|
"id": "{{domain}}/hello-world",
|
|
|
|
"type": "Note",
|
|
|
|
"published": "{{date}}",
|
|
|
|
"attributedTo": "{{domain}}/users/{{actor}}",
|
|
|
|
"inReplyTo": "https://post.lurk.org/@rra/101224791711855553",
|
|
|
|
"content": "<p>This is a test from a <a href='https://git.vvvvvvaria.org/rra/basic_ap'>flask based implementation</a> of the mastodon tutorial</p>",
|
|
|
|
"to": "https://www.w3.org/ns/activitystreams#Public"
|
|
|
|
}
|
|
|
|
}
|