forked from nutomic/lemmy
Updating api.md.
This commit is contained in:
parent
707220b5e2
commit
8b56cd8426
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