diff options
author | Anthony Wang | 2023-01-18 14:47:10 -0500 |
---|---|---|
committer | Anthony Wang | 2023-01-18 14:47:10 -0500 |
commit | b181dd36f7ce3d78db61e4d84d456c364cb234fa (patch) | |
tree | 7be26a9511a8c5e3658b65307ba5793abdace1c2 | |
parent | 6900034f2e81831a07bd7ff1928067de4ebd4814 (diff) |
Client addressing for example activities
-rw-r--r-- | accept.jsonld | 7 | ||||
-rw-r--r-- | create.jsonld | 10 | ||||
-rw-r--r-- | follow.jsonld | 3 |
3 files changed, 11 insertions, 9 deletions
diff --git a/accept.jsonld b/accept.jsonld index 6af9bbb..ecfa6f2 100644 --- a/accept.jsonld +++ b/accept.jsonld @@ -4,9 +4,10 @@ "actor": "https://0.exozy.me/users/test.jsonld", "object": { "@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", - "actor": "https://social.exozy.me/users/a", + "actor": "https://social.exozy.me/users/guest", "object": "https://0.exozy.me/users/test.jsonld" - } + }, + "to": "https://social.exozy.me/users/guest" } diff --git a/create.jsonld b/create.jsonld index a9c8893..9202fcb 100644 --- a/create.jsonld +++ b/create.jsonld @@ -1,14 +1,14 @@ { "@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", "actor": "https://0.exozy.me/users/test.jsonld", "object": { - "id": "https://0.exozy.me/users/test.statuses/hello-world2", + "id": "https://0.exozy.me/users/test.statuses/helloworld", "type": "Note", "attributedTo": "https://0.exozy.me/users/test.jsonld", - "inReplyTo": "https://social.exozy.me/@a/109707513227348721", - "content": "Hello from fuwuqi! 2", + "content": "Hello from fuwuqi!!! 🙃", "to": "https://www.w3.org/ns/activitystreams#Public" - } + }, + "to": "https://0.exozy.me/users/test.followers" } diff --git a/follow.jsonld b/follow.jsonld index 290ca70..73f5a1c 100644 --- a/follow.jsonld +++ b/follow.jsonld @@ -3,5 +3,6 @@ "id": "https://0.exozy.me/users/test.outbox/follow", "type": "Follow", "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" } |