mirror of
https://git.exozy.me/a/fuwuqi.git
synced 2024-11-21 22:01:01 +00:00
Add example like activity
This commit is contained in:
parent
4fbf68e700
commit
0dbfb50f15
4 changed files with 16 additions and 8 deletions
|
@ -4,10 +4,10 @@
|
||||||
"actor": "https://0.exozy.me/users/test.jsonld",
|
"actor": "https://0.exozy.me/users/test.jsonld",
|
||||||
"object": {
|
"object": {
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"id": "https://social.exozy.me/3dee8471-202d-438f-be51-8870fd797f9a",
|
"id": "https://social.exozy.me/9a9e4ad7-f86a-4190-8782-9df9951c5ff6",
|
||||||
"type": "Follow",
|
"type": "Follow",
|
||||||
"actor": "https://social.exozy.me/users/guest",
|
"actor": "https://social.exozy.me/users/a",
|
||||||
"object": "https://0.exozy.me/users/test.jsonld"
|
"object": "https://0.exozy.me/users/test.jsonld"
|
||||||
},
|
},
|
||||||
"to": "https://social.exozy.me/users/guest"
|
"to": "https://social.exozy.me/users/a"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
"id": "https://0.exozy.me/users/test.outbox#helloworld",
|
"id": "https://0.exozy.me/users/test.outbox#helloworld2",
|
||||||
"type": "Create",
|
"type": "Create",
|
||||||
"actor": "https://0.exozy.me/users/test.jsonld",
|
"actor": "https://0.exozy.me/users/test.jsonld",
|
||||||
"object": {
|
"object": {
|
||||||
"id": "https://0.exozy.me/users/test.statuses/helloworld",
|
"id": "https://0.exozy.me/users/test.statuses/helloworld2",
|
||||||
"type": "Note",
|
"type": "Note",
|
||||||
"attributedTo": "https://0.exozy.me/users/test.jsonld",
|
"attributedTo": "https://0.exozy.me/users/test.jsonld",
|
||||||
"content": "Hello from fuwuqi!!! 🙃",
|
"content": "Hello from fuwuqi 2.0!!! 🙃",
|
||||||
"to": "https://www.w3.org/ns/activitystreams#Public"
|
"to": "https://www.w3.org/ns/activitystreams#Public"
|
||||||
},
|
},
|
||||||
"to": "https://0.exozy.me/users/test.followers"
|
"to": "https://0.exozy.me/users/test.followers"
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
"id": "https://0.exozy.me/users/test.outbox#follow",
|
"id": "https://0.exozy.me/users/test.outbox#follow",
|
||||||
"type": "Follow",
|
"type": "Follow",
|
||||||
"actor": "https://0.exozy.me/users/test.jsonld",
|
"actor": "https://0.exozy.me/users/test.jsonld",
|
||||||
"object": "https://social.exozy.me/users/guest",
|
"object": "https://social.exozy.me/users/a",
|
||||||
"to": "https://social.exozy.me/users/guest"
|
"to": "https://social.exozy.me/users/a"
|
||||||
}
|
}
|
||||||
|
|
8
like.jsonld
Normal file
8
like.jsonld
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
|
"id": "https://0.exozy.me/users/test.outbox#like",
|
||||||
|
"type": "Like",
|
||||||
|
"actor": "https://0.exozy.me/users/test.jsonld",
|
||||||
|
"object": "https://social.exozy.me/@a/109707513227348721",
|
||||||
|
"to": "https://social.exozy.me/users/a"
|
||||||
|
}
|
Loading…
Reference in a new issue