mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-22 12:21:10 +00:00
Adding a link to the current API version.
This commit is contained in:
parent
48dc74d4e1
commit
9a949f6b5e
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ This contains extras not in the [API docs](/api).
|
||||||
|
|
||||||
**GET example**
|
**GET example**
|
||||||
|
|
||||||
|
The current api `{version}` is [here](https://github.com/LemmyNet/lemmy-js-client/blob/main/src/interfaces/others.ts#L1).
|
||||||
|
|
||||||
```
|
```
|
||||||
curl "http://localhost:8536/api/{version}/community/list?sort=Hot"`
|
curl "http://localhost:8536/api/{version}/community/list?sort=Hot"`
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue