mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 11:21:32 +00:00
Updating api.md.
This commit is contained in:
parent
d3a99261a7
commit
9283501f23
1 changed files with 5 additions and 1 deletions
|
@ -545,7 +545,7 @@ Mods and admins can remove and lock a community, creators can delete it.
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Get Posts
|
#### Get Posts
|
||||||
Post listing types are `All, Subscribed, Community`.
|
Post listing types are `All, Subscribed, Community`
|
||||||
|
|
||||||
##### Request
|
##### Request
|
||||||
```rust
|
```rust
|
||||||
|
@ -570,6 +570,8 @@ Post listing types are `All, Subscribed, Community`.
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Create Post Like
|
#### Create Post Like
|
||||||
|
`score` can be 0, -1, or 1
|
||||||
|
|
||||||
##### Request
|
##### Request
|
||||||
```rust
|
```rust
|
||||||
{
|
{
|
||||||
|
@ -712,6 +714,8 @@ Mods and admins can remove a comment, creators can delete it.
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Create Comment Like
|
#### Create Comment Like
|
||||||
|
`score` can be 0, -1, or 1
|
||||||
|
|
||||||
##### Request
|
##### Request
|
||||||
```rust
|
```rust
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue