mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Updating api.md.
This commit is contained in:
parent
d3a99261a7
commit
9283501f23
@ -545,7 +545,7 @@ Mods and admins can remove and lock a community, creators can delete it.
|
||||
```
|
||||
|
||||
#### Get Posts
|
||||
Post listing types are `All, Subscribed, Community`.
|
||||
Post listing types are `All, Subscribed, Community`
|
||||
|
||||
##### Request
|
||||
```rust
|
||||
@ -570,6 +570,8 @@ Post listing types are `All, Subscribed, Community`.
|
||||
```
|
||||
|
||||
#### Create Post Like
|
||||
`score` can be 0, -1, or 1
|
||||
|
||||
##### Request
|
||||
```rust
|
||||
{
|
||||
@ -712,6 +714,8 @@ Mods and admins can remove a comment, creators can delete it.
|
||||
```
|
||||
|
||||
#### Create Comment Like
|
||||
`score` can be 0, -1, or 1
|
||||
|
||||
##### Request
|
||||
```rust
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user