mastodon_api 0.6.1
mastodon_api: ^0.6.1 copied to clipboard
The easiest and powerful Dart/Flutter library for Mastodon API.
Release Note #
0.6.1 #
RetryConfigallows users to configureJitter. Any Jitter can be set by setting theJitterobject tojitterinRetryConfig. (#144)- Added links in
README.
0.6.0 #
- Supported
directory API methods. (#37)GET /api/v1/directory
- Supported
scheduled_statuses API methods. (#26)POST /api/v1/statusesGET /api/v1/scheduled_statusesGET /api/v1/scheduled_statuses/:idPUT /api/v1/scheduled_statuses/:idDELETE /api/v1/scheduled_statuses/:id
- Supported
media API methods. (#24)POST /api/v2/mediaPOST /api/v1/mediaGET /api/v1/media/:idPUT /api/v1/media/:id
0.5.1 #
0.5.0 #
- The return type of
MastodonResponse<bool>has been modified to assign an object corresponding to each endpoint. Basically, if there is no return value for a successful POST or DELETE method, anEmptyobject is returned asdata. It means that the request was successful ifEmptyis returned; if the request failed, an exception is thrown. (#125) - Added
domain_blocks API methods. (#12)GET /api/v1/domain_blocksPOST /api/v1/domain_blocksDELETE /api/v1/domain_blocks
- Added response headers in
MastodonResponse. (#128) - Added HTTP status in
MastodonResponse. (#126) - Added HTTP request in
MastodonResponse. (#127)
0.4.0 #
- Added endpoints in
StatusesV1Service. (#23)POST /api/v1/statusesGET /api/v1/statuses/:idDELETE /api/v1/statuses/:idGET /api/v1/statuses/:id/contextGET /api/v1/statuses/:id/reblogged_byGET /api/v1/statuses/:id/favourited_byPOST /api/v1/statuses/:id/favouritePOST /api/v1/statuses/:id/unfavouritePOST /api/v1/statuses/:id/reblogPOST /api/v1/statuses/:id/unreblogPOST /api/v1/statuses/:id/bookmarkPOST /api/v1/statuses/:id/unbookmarkPOST /api/v1/statuses/:id/mutePOST /api/v1/statuses/:id/unmutePOST /api/v1/statuses/:id/pinPOST /api/v1/statuses/:id/unpinPUT /api/v1/statuses/:idGET /api/v1/statuses/:id/historyGET /api/v1/statuses/:id/source
- Split the
PreviewCardobject into aTrendsLinkobject. NowList<TrendsLink>is returned fromInstanceV1Service.lookupTrendingLinks. The fields are the same as in PreviewCard before the modification, so there is no effect if the type is not explicitly specified. If you have explicitly specified thePreviewCardas type, rewrite it toTrendsLinkif necessary. (#91) - Add
NotificationsV1Service. (#32)GET /api/v1/notificationsGET /api/v1/notification/:idPOST /api/v1/notifications/clearPOST /api/v1/notifications/:id/dismiss
0.3.2 #
- Added links in
README.
0.3.1 #
0.3.0 #
- Supported
suggestions API methods. (#21)GET /api/v2/suggestionsDELETE /api/v1/suggestions/:account_id
- Supported
conversations API methods. (#28)GET /api/v1/conversationsDELETE /api/v1/conversations/:idPOST /api/v1/conversations/:id/read
- Supported
markers API methods. (#30)GET /api/v1/markersPOST /api/v1/markers
- Exposed objects. (#94)
package:mastodon_api/src/service/entities/rule.dartpackage:mastodon_api/src/service/v1/instance/instance_v1_service.dartpackage:mastodon_api/src/service/v2/instance/instance_v2_service.dart
- Supported
tags API methods. (#22)GET /api/v1/tags/:idPOST /api/v1/tags/:id/followPOST /api/v1/tags/:id/unfollow
- Supported
reports API methods. (#15)POST /api/v1/reports
- Supported retry algorithm have been changed to only
Exponential BackOff and Jitter. All of the following factory constructors provided until now are deprecated and should be modified byv0.5.0to use the default constructor ofRetryConfig. The following deprecated factory constructors will be removed inv0.5.0, and theExponential BackOff and Jitteralgorithm will always be used regardless of constructor. (#101)ofRegularIntervalsofExponentialBackOffofExponentialBackOffAndJitter
- Supported
endorsements API methods. (#17)GET /api/v1/endorsements
0.2.2 #
- Supported
preferences API methods. (#19)GET /api/v1/preferences
- Fixed (#78).
- Supported
featured_tags API methods. (#18)GET /api/v1/featured_tagsPOST /api/v1/featured_tagsDELETE /api/v1/featured_tags/:idGET /api/v1/featured_tags/suggestions
- Supported
followed_tags API methods. (#20)GET /api/v1/followed_tags
0.2.1 #
- Added links of
Accounts ServiceinREADME.
0.2.0 #
- Supported
polls API methods. (#25)GET /api/v1/polls/:idPOST /api/v1/polls/:id/votes
- Supported
trends API methods. (#36)GET /api/v1/trends/tagsGET /api/v1/trends/statusesGET /api/v1/trends/links
- Supported
announcements API methods. (#39)GET /api/v1/announcementsPOST /api/v1/announcements/:id/dismissPUT /api/v1/announcements/:id/reactions/:nameDELETE /api/v1/announcements/:id/reactions/:name
- Supported
accounts API methods. (#7)POST /api/v1/accountsGET /api/v1/accounts/verify_credentialsPATCH /api/v1/accounts/update_credentialsGET /api/v1/accounts/:idGET /api/v1/accounts/:id/statusesGET /api/v1/accounts/:id/followersGET /api/v1/accounts/:id/followingGET /api/v1/accounts/:id/featured_tagsGET /api/v1/accounts/:id/listsPOST /api/v1/accounts/:id/followPOST /api/v1/accounts/:id/unfollowPOST /api/v1/accounts/:id/remove_from_followersPOST /api/v1/accounts/:id/blockPOST /api/v1/accounts/:id/unblockPOST /api/v1/accounts/:id/mutePOST /api/v1/accounts/:id/unmutePOST /api/v1/accounts/:id/pinPOST /api/v1/accounts/:id/unpinPOST /api/v1/accounts/:id/noteGET /api/v1/accounts/relationshipsGET /api/v1/accounts/familiar_followersGET /api/v1/accounts/searchGET /api/v1/accounts/lookup
0.1.0 #
- Supported
search API methods. (#34)GET /api/v2/search
- Supported
timelines API methods. (#27)GET /api/v1/timelines/publicGET /api/v1/timelines/tag/:hashtagGET /api/v1/timelines/homeGET /api/v1/timelines/list/:list_id
- Supported
apps API methods. (#4)POST /api/v1/appsGET /api/v1/apps/verify_credentials
- Supported
instance API methods. (#35)GET /api/v2/instanceGET /api/v1/instanceGET /api/v1/instance/peersGET /api/v1/instance/activityGET /api/v1/instance/rulesGET /api/v1/instance/domain_blockGET /api/v1/example
- Supported
emails API methods. (#6)POST /api/v1/emails/confirmation
0.0.1 #
- Supported
POST /api/v1/statuses.
0.0.0 #
- Let's start.