send messages to actor (server POSTs to inbox on other server)
actor reads incoming messages (client GETS from server)
actor sends messages (client POSTs to server)
outside world can read messages from actor (client/server GETs from other server)
ActivityStream object are posed to outbox:
1
2
3
4
5
{"@context":"https://www.w3.org/ns/activitystreams","type":"Note","to":["https://chatty.example/ben/"],"attributedTo":"https://social.example/alyssa/","content":"Say, did you finish reading that book I lent you?"}
Server wraps into an activity object:
1
2
3
4
5
6
7
8
9
10
{"@context":"https://www.w3.org/ns/activitystreams","type":"Create","id":"https://social.example/alyssa/posts/a29a6843-9feb-4c74-a7f7-081b9c9201d3","to":["https://chatty.example/ben/"],"actor":"https://social.example/alyssa/","object":{"type":"Note","id":"https://social.example/alyssa/posts/49e2d03d-b53a-4c4c-a95c-94a6abf45a19","attributedTo":"https://social.example/alyssa/","to":["https://chatty.example/ben/"],"content":"Say, did you finish reading that book I lent you?"}}