Commit Graph

44 Commits (18f084c01233cdfd34f4db329b315fe952c7557d)

Author SHA1 Message Date
Rasmus Lindroth 5f0c9a21c2 add support for language 2022-11-17 07:16:38 +09:00
Darren O'Connor e5c082de35 Add UploadMediaFromBytes function 2022-11-15 13:44:33 +09:00
Darren O'Connor 309dce6ff3 minor spelling fixes 2022-11-14 09:04:46 +09:00
Rasmus Lindroth ae6cc11820 Add support for creating polls 2021-11-06 11:00:42 +09:00
Rasmus Lindroth d39c10ba5e Add bookmark support 2021-06-30 00:13:05 +09:00
Ollivier Robert 932595ebec Fix allocation. 2021-04-17 21:32:10 +09:00
Ollivier Robert 2f161cfa50 Allocate space to prevent SIGSEGV. 2021-04-17 21:32:10 +09:00
Ollivier Robert adff0e83b9 Use Conversations. 2021-04-17 21:32:10 +09:00
Masahiro Furudate 315df7d916 Add Media struct and UploadMediaFromMedia method 2020-07-27 10:41:06 +09:00
Christian Muehlhaeuser 3e91c76504 Added polls entity, available since API 2.8.0 2020-03-02 11:39:13 +09:00
Christian Muehlhaeuser 75578dd249 Update search to use v2 API endpoint
v1 has been disabled on most instances by now.
The change is minor: hash-tags are now reported as proper structs
instead of a simple string-array.
2020-03-02 11:37:25 +09:00
hiromi-mi fd6533a508 Support conversations API
Support these APIs added in Mastodon 2.6.0.
- GET /api/v1/conversations
- DELETE /api/v1/conversations/:id
- POST /api/v1/conversations/:id/read
2020-02-25 22:09:24 +09:00
Yasuhiro Matsumoto 559ed99cdf Add direct
Closes #102
2019-06-22 01:52:45 +09:00
Ben Lubar 9427a55316 Add list timeline support. 2019-05-12 23:58:10 +09:00
Brian C. Lindner e804ee7eb2 Added UploadMediaFromReader 2019-03-11 14:18:07 +09:00
Christian Muehlhaeuser 4def10a243 Updated entities and json structs for API v2.6.0
Added missing fields to various structs and sorted them in the same order as
the original mastodon API documentation does. This should make it easier to
compare go-mastodon's structs with the original documentation.
2018-11-25 23:15:20 +09:00
Spotlight 48920165ef Correct the spelling of sensitive 2018-10-21 21:36:53 +09:00
utam0k 1d165763fa Add Emojis to Status 2017-10-26 14:53:27 +09:00
Yasuhiro Matsumoto aef736e991 fix IDs 2017-10-25 15:22:17 +09:00
Yasuhiro Matsumoto 730317321a also convert to string in attachments, pagenation 2017-10-25 10:22:39 +09:00
Yasuhiro Matsumoto 3274f13917 Fix type of IDs.
In Mastodon 2.0 API specification, IDs are typed as string.
2017-10-23 23:48:48 +09:00
178inaba 134128cb56 Fix to not return *Pagination 2017-05-06 23:03:19 +09:00
178inaba d32c4d4ed1 Add Pagination 2017-05-04 21:56:54 +09:00
178inaba 8bb0a0f85f Add GetTimelineMedia 2017-04-29 00:36:13 +09:00
178inaba a4904109e4 Fix GetTimelineHashtag 2017-04-28 02:29:11 +09:00
178inaba 315f7bbd29 Add GetTimelinePublic 2017-04-26 03:16:32 +09:00
Yeechan Lu c9a6022f50 Implement MediaIDs, Visibility, Sensitive and SpoilerText in PostStatus 2017-04-23 23:54:27 +08:00
178inaba 68843f4dd0 Fix for golint ./... 2017-04-20 21:20:40 +09:00
Yasuhiro Matsumoto 9ccb5101ec take pointer for "next" variable 2017-04-18 17:08:48 +09:00
Yasuhiro Matsumoto af67397430 add UploadMedia 2017-04-17 13:54:36 +09:00
Yasuhiro Matsumoto 5e84b57bf3 breaking compatibility changes. take context for first arguments. 2017-04-17 11:10:29 +09:00
Yasuhiro Matsumoto 70b6261e34 golint & go vet 2017-04-16 23:38:53 +09:00
178inaba 39fd91e59f Fix status id type from string to int64 2017-04-16 17:11:23 +09:00
178inaba bbb4df76ca Add Favourite and Unfavourite 2017-04-16 15:32:48 +09:00
178inaba 7719f511aa Fix godoc to Reblog and Unreblog 2017-04-16 15:04:59 +09:00
178inaba 6891f221bc Add Reblog and Unreblog 2017-04-16 14:53:15 +09:00
178inaba 74901c994c Add GetFavouritedBy 2017-04-16 13:45:59 +09:00
178inaba 3cb20b5925 Add GetRebloggedBy 2017-04-16 13:11:56 +09:00
Yasuhiro Matsumoto 6e7ed9d9d9 add Search 2017-04-15 23:21:16 +09:00
Yasuhiro Matsumoto 82f7536210 add DeleteToot 2017-04-15 21:08:05 +09:00
Yasuhiro Matsumoto 564554c1c9 add GetTimelineHashtag 2017-04-15 21:02:55 +09:00
178inaba 4eb784dd81 Add GetFavourites 2017-04-15 03:28:50 +09:00
Yasuhiro Matsumoto 52add89d1d add GetStatusCard 2017-04-15 00:25:35 +09:00
Yasuhiro Matsumoto acb5a81b87 add GetStatus, GetStatusContext 2017-04-15 00:22:44 +09:00