mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-01 10:09:54 +00:00
Merge pull request #27 from LemmyNet/post-rename-field
Use `name` field for post titles instead of `summary` (ref !173)
This commit is contained in:
commit
550cf93459
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ A page with title, and optional URL and text content. The URL often leads to an
|
||||||
"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",
|
||||||
"summary": "Test thumbnail 2",
|
"name": "Test thumbnail 2",
|
||||||
"content": "blub blub",
|
"content": "blub blub",
|
||||||
"source": {
|
"source": {
|
||||||
"content": "blub blub",
|
"content": "blub blub",
|
||||||
|
@ -205,7 +205,7 @@ A page with title, and optional URL and text content. The URL often leads to an
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `attributedTo` | yes | ID of the user which created this post |
|
| `attributedTo` | yes | ID of the user which created this post |
|
||||||
| `to` | yes | ID of the community where it was posted to |
|
| `to` | yes | ID of the community where it was posted to |
|
||||||
| `summary` | yes | Title of the post |
|
| `name` | yes | Title of the post |
|
||||||
| `content` | no | Body of the post |
|
| `content` | no | Body of the post |
|
||||||
| `url` | no | An arbitrary link to be shared |
|
| `url` | no | An arbitrary link to be shared |
|
||||||
| `image` | no | Thumbnail for `url`, only present if it is an image link |
|
| `image` | no | Thumbnail for `url`, only present if it is an image link |
|
||||||
|
|
Loading…
Reference in a new issue