lemmy_api_client 0.8.4 copy "lemmy_api_client: ^0.8.4" to clipboard
lemmy_api_client: ^0.8.4 copied to clipboard

outdated

Future-based http client for the Lemmy API. Provides an easy interface and statically typed responses.

0.8.4 - 2021-01-01 #

Fixed #

  • Fixed v0.8.3

0.8.3 - 2021-01-01 #

Fixed #

  • Fixed v0.8.2

0.8.2 - 2020-12-31 #

Added #

  • All models are now augmented with a instanceHost property 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.8.1 - 2020-12-19 #

Added #

  • Added local variant to PostListingType

0.8.0 - 2020-12-04 #

Fixed #

  • Pict-rs upload requires auth

0.7.3 - 2020-10-24 #

Fixed #

  • Pict-rs v0.2

0.7.2 - 2020-10-08 #

Fixed #

  • Exporting pictrs models

Changed #

  • Error handling in pictrs delete method

0.7.1 - 2020-10-07 #

Added #

  • Added upload and delete pictrs endpoints

0.7.0 - 2020-09-29 #

Breaking #

  • Removed statically typed errors, now every error is forwarded by LemmyApiException with a i18n message

0.6.0 - 2020-09-29 #

Added #

  • GET /comment/list

Fix #

  • Added missing auth field in getPost
  • Correctly decoding utf8 bodies

Breaking #

  • type on Search model is now an enum

0.5.0 - 2020-09-18 #

Breaking #

  • myVote is now an enum

0.4.2 - 2020-09-17 #

Changed #

  • savePost now uses PUT instead of POST

0.4.1 - 2020-09-06 #

Added #

  • Added RateLimitException

Changed #

  • Changed UnknownResponseException to UnknownResponseError and exposed it as a public member

0.4.0 - 2020-09-05 #

Added #

  • Added rest of the user endpoints:
    • POST /user/ban
  • Added rest of the site endpoints:
    • PUT /site/config
    • POST /site
    • PUT /site
    • POST /site/transfer
  • Added rest of the post endpoints:
    • POST /post/sticky
    • POST /post/locked
  • Added rest of the community endpoints:
    • POST /community
    • PUT /community
    • POST /community/ban_user
    • POST /community/mod
    • POST /community/delete
    • POST /community/remove
    • POST /community/transfer
  • Added rest of the misc endpoints:
    • POST /admin/add
    • GET /modlog

Breaking #

  • Renamed FullPost to FullPostView

0.3.0 - 2020-09-02 #

Breaking #

  • Moved toJson from UserView to User

0.2.2 - 2020-09-02 #

Added #

  • Jwt and User is serializable to json

0.2.1 - 2020-08-29 #

Fixed #

  • Changed examples to reflect changes

0.2.0 - 2020-08-29 #

Changed #

  • Renamed LemmyAPI to LemmyApi
  • Endpoints that return a jwt now return a parsed jwt instead of just a raw one

0.1.4 - 2020-08-28 #

Changed #

  • Exporting all models

0.1.3 - 2020-08-24 #

Added #

  • lowered meta semver range

0.1.2 - 2020-08-23 #

Added #

  • examples for pub.dev

Changed #

  • Works on the web

0.1.1 - 2020-08-23 #

Changed #

  • Logo now is displayed on pub.dev

0.1.0 - 2020-08-23 #

Added #

  • POST /comment
  • PUT /comment
  • POST /comment/delete
  • POST /comment/remove
  • POST /comment/mark_as_read
  • ~~POST~~ PUT /comment/save
  • POST /comment/like
  • GET /community
  • GET /community/list
  • POST /community/follow
  • GET /user/followed_communities
  • GET /categories
  • POST /post
  • GET /post
  • GET /post/list
  • POST /post/like
  • PUT /post
  • POST /post/delete
  • POST /post/remove
  • POST /post/save
  • GET /site
  • GET /site/config
  • ~~POST~~ GET /search
  • PUT ~~/save_user_settings~~ /user/save_user_settings
  • POST /user/login
  • GET /user
  • GET /user/replies
  • GET ~~/user/mentions~~ /user/mention
  • POST /user/mention/mark_as_read
  • GET /private_message/list
  • POST /private_message
  • PUT /private_message
  • POST /private_message/delete
  • POST /private_message/mark_as_read
  • POST /user/mark_all_as_read
  • POST /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)
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Future-based http client for the Lemmy API. Provides an easy interface and statically typed responses.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, json_annotation, meta

More

Packages that depend on lemmy_api_client