In apub protocol docs, update comment to, fix post to

This commit is contained in:
Felix Ableitner 2021-02-24 14:04:43 +01:00
parent 550cf93459
commit 7485a63c57

View file

@ -181,7 +181,10 @@ A page with title, and optional URL and text content. The URL often leads to an
"id": "https://voyager.lemmy.ml/post/29", "id": "https://voyager.lemmy.ml/post/29",
"type": "Page", "type": "Page",
"attributedTo": "https://voyager.lemmy.ml/u/picard", "attributedTo": "https://voyager.lemmy.ml/u/picard",
"to": "https://voyager.lemmy.ml/c/main", "to": [
"https://voyager.lemmy.ml/c/main",
"https://www.w3.org/ns/activitystreams#Public"
],
"name": "Test thumbnail 2", "name": "Test thumbnail 2",
"content": "blub blub", "content": "blub blub",
"source": { "source": {
@ -225,7 +228,7 @@ A reply to a post, or reply to another comment. Contains only text (including re
"id": "https://enterprise.lemmy.ml/comment/95", "id": "https://enterprise.lemmy.ml/comment/95",
"type": "Note", "type": "Note",
"attributedTo": "https://enterprise.lemmy.ml/u/picard", "attributedTo": "https://enterprise.lemmy.ml/u/picard",
"to": "https://enterprise.lemmy.ml/c/main", "to": "https://www.w3.org/ns/activitystreams#Public",
"content": "mmmk", "content": "mmmk",
"source": { "source": {
"content": "mmmk", "content": "mmmk",