Wire up stub routes for client calls of activitypub inbox/outbox
Code style: remove wrapping function of outbox
This commit is contained in:
parent
f5d7b0003e
commit
aa082ca7b6
4 changed files with 87 additions and 6 deletions
9
test/fixtures/activitypub-client-post-activity.json
vendored
Normal file
9
test/fixtures/activitypub-client-post-activity.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"@context": ["https://www.w3.org/ns/activitystreams", {"@language": "en-GB"}],
|
||||
"type": "Create",
|
||||
"object": {
|
||||
"type": "Note",
|
||||
"content": "It's a note"
|
||||
},
|
||||
"to": ["https://www.w3.org/ns/activitystreams#Public"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue