Merge pull request #28 from LemmyNet/update-comment-to

In apub protocol docs, update comment to, fix post to
This commit is contained in:
Dessalines 2021-02-24 11:13:40 -05:00 committed by GitHub
commit f311f109ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",