Update link to current API version (#284)

This commit is contained in:
Kayn 2023-11-14 00:00:32 +01:00 committed by GitHub
parent b3584a450b
commit 0cd4bf29a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ More clearly arranged, unofficial API documentation is available at:
**GET example** **GET example**
The current api `{version}` is [here](https://github.com/LemmyNet/lemmy-js-client/blob/main/src/types/others.ts#L1). The current API `{version}` is [here](https://github.com/LemmyNet/lemmy-js-client/blob/main/src/other_types.ts#L1).
``` ```
curl "https://lemmy.ml/api/{version}/community/list?sort=Hot"` curl "https://lemmy.ml/api/{version}/community/list?sort=Hot"`