Adding a link to the current API version.

This commit is contained in:
Dessalines 2022-06-08 10:17:26 -04:00
parent 48dc74d4e1
commit 9a949f6b5e

View file

@ -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"`
``` ```