lemmy_api_client 0.9.0
lemmy_api_client: ^0.9.0 copied to clipboard
Future-based http client for the Lemmy API. Provides an easy interface and statically typed responses.
0.8.2 - 2020-12-31 #
Added #
- All models are now augmented with a
instanceHostproperty that shows where did the response come from. Very useful when dealing with multiple instances at once and not knowing what object belongs to what instance.
0.7.2 - 2020-10-08 #
0.7.0 - 2020-09-29 #
Breaking #
- Removed statically typed errors, now every error is forwarded by
LemmyApiExceptionwith a i18n message
0.6.0 - 2020-09-29 #
0.4.1 - 2020-09-06 #
0.4.0 - 2020-09-05 #
Added #
- Added rest of the user endpoints:
POST /user/ban
- Added rest of the site endpoints:
PUT /site/configPOST /sitePUT /sitePOST /site/transfer
- Added rest of the post endpoints:
POST /post/stickyPOST /post/locked
- Added rest of the community endpoints:
POST /communityPUT /communityPOST /community/ban_userPOST /community/modPOST /community/deletePOST /community/removePOST /community/transfer
- Added rest of the misc endpoints:
POST /admin/addGET /modlog
Breaking #
- Renamed FullPost to FullPostView
0.2.0 - 2020-08-29 #
Changed #
- Renamed
LemmyAPItoLemmyApi - Endpoints that return a jwt now return a parsed jwt instead of just a raw one
0.1.0 - 2020-08-23 #
Added #
POST /commentPUT /commentPOST /comment/deletePOST /comment/removePOST /comment/mark_as_read~~POST~~ PUT /comment/savePOST /comment/likeGET /communityGET /community/listPOST /community/followGET /user/followed_communitiesGET /categoriesPOST /postGET /postGET /post/listPOST /post/likePUT /postPOST /post/deletePOST /post/removePOST /post/saveGET /siteGET /site/config~~POST~~ GET /searchPUT ~~/save_user_settings~~ /user/save_user_settingsPOST /user/loginGET /userGET /user/repliesGET ~~/user/mentions~~ /user/mentionPOST /user/mention/mark_as_readGET /private_message/listPOST /private_messagePUT /private_messagePOST /private_message/deletePOST /private_message/mark_as_readPOST /user/mark_all_as_readPOST /user/delete_account
Changed #
- First release of
lemmy_api_client. Contains an http interface for the lemmy API for the "core" endpoints (mod/admin endpoints are coming soon)