Client addressing for example activities

This commit is contained in:
Anthony Wang 2023-01-18 14:47:10 -05:00
parent 6900034f2e
commit b181dd36f7
No known key found for this signature in database
GPG key ID: 42A5B952E6DD8D38
3 changed files with 11 additions and 9 deletions

View file

@ -4,9 +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/b363f127-6422-4566-b8f1-878aa33b0e1c", "id": "https://social.exozy.me/3dee8471-202d-438f-be51-8870fd797f9a",
"type": "Follow", "type": "Follow",
"actor": "https://social.exozy.me/users/a", "actor": "https://social.exozy.me/users/guest",
"object": "https://0.exozy.me/users/test.jsonld" "object": "https://0.exozy.me/users/test.jsonld"
} },
"to": "https://social.exozy.me/users/guest"
} }

View file

@ -1,14 +1,14 @@
{ {
"@context": "https://www.w3.org/ns/activitystreams", "@context": "https://www.w3.org/ns/activitystreams",
"id": "https://0.exozy.me/users/test.outbox/hello-world2", "id": "https://0.exozy.me/users/test.outbox#helloworld",
"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/hello-world2", "id": "https://0.exozy.me/users/test.statuses/helloworld",
"type": "Note", "type": "Note",
"attributedTo": "https://0.exozy.me/users/test.jsonld", "attributedTo": "https://0.exozy.me/users/test.jsonld",
"inReplyTo": "https://social.exozy.me/@a/109707513227348721", "content": "Hello from fuwuqi!!! 🙃",
"content": "Hello from fuwuqi! 2",
"to": "https://www.w3.org/ns/activitystreams#Public" "to": "https://www.w3.org/ns/activitystreams#Public"
} },
"to": "https://0.exozy.me/users/test.followers"
} }

View file

@ -3,5 +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/a" "object": "https://social.exozy.me/users/guest",
"to": "https://social.exozy.me/users/guest"
} }