gutmet
1dfacac66a
oop
2022-11-20 21:31:59 +01:00
gutmet
7274b5e624
simplify unduly by requiring client state to be initialized once
2022-11-20 20:36:27 +01:00
gutmet
ac39fb12dd
remove context.Context
2022-11-20 18:03:36 +01:00
Darren O'Connor
309dce6ff3
minor spelling fixes
2022-11-14 09:04:46 +09:00
Rasmus Lindroth
b2204e0d6a
add support for pinned posts
2022-06-04 22:56:14 +09:00
Rasmus Lindroth
c6a292132e
add Discoverable and Source on Account
2022-06-04 22:56:14 +09:00
Christian Muehlhaeuser
1ccf66b8b4
Fix code formatting
...
Used goimports to fix code formatting.
2019-09-30 17:13:43 +09:00
buckket
e71411ef96
All parameters are now of pointer type and thus can be nil
2019-05-14 14:53:54 +09:00
buckket
636b33ad1c
Renamed Source to AccountSource
2019-05-14 14:53:54 +09:00
buckket
68ca31fccd
Add support for Field, Source and Locked parameters to AccountUpdate()
2019-05-14 14:53:54 +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
Ben Lubar
61705d1f2b
Add missing fields in Account.
...
See https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#account
Also fixes a spurious pagination-related error.
2018-10-21 21:37:19 +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
Yasuhiro Matsumoto
fe02b9e6af
Merge branch 'next'
2017-04-18 17:18:39 +09:00
Yasuhiro Matsumoto
20174d5b4a
Merge branch 'master' of github.com:mattn/go-mastodon
2017-04-18 17:18:17 +09:00
Yasuhiro Matsumoto
aa8d2b1225
remove debug message
2017-04-18 17:16:37 +09:00
Yasuhiro Matsumoto
60e6eba67c
add "next" variable
2017-04-18 17:14:39 +09:00
Yasuhiro Matsumoto
2debac3055
read all elements
2017-04-18 17:11:49 +09:00
Yasuhiro Matsumoto
9ccb5101ec
take pointer for "next" variable
2017-04-18 17:08:48 +09:00
178inaba
6f244235d4
Fix to be able to specify multiple id for GetAccountRelationships
2017-04-18 02:45:40 +09:00
178inaba
b0b43a8d7d
Add GetMutes
2017-04-17 12:49:55 +09:00
Yasuhiro Matsumoto
5e84b57bf3
breaking compatibility changes. take context for first arguments.
2017-04-17 11:10:29 +09:00
mattn
c17c887064
Merge pull request #16 from 178inaba/follow_requests
...
Add FollowRequestAuthorize and FollowRequestReject
2017-04-17 01:34:21 +09:00
178inaba
f5194b9ebb
Add FollowRequestAuthorize and FollowRequestReject
2017-04-17 00:04:25 +09:00
Yasuhiro Matsumoto
70b6261e34
golint & go vet
2017-04-16 23:38:53 +09:00
Yasuhiro Matsumoto
8a1347fad6
add GetAccountStatuses
2017-04-16 21:42:54 +09:00
178inaba
77ce929290
Add AccountUpdate
2017-04-16 00:47:44 +09:00
178inaba
280982f034
Remove uri to GetFollowRequests
2017-04-15 04:04:34 +09:00
178inaba
70efe09ff4
Add GetBlocks
2017-04-15 02:23:17 +09:00
mattn
5d72d54344
Merge pull request #8 from 178inaba/follow
...
Add ID to Relationship, add follow unfollow test
2017-04-15 00:40:13 +09:00
Yasuhiro Matsumoto
b42014511b
rename Follow to FollowRemoteUser
2017-04-15 00:31:21 +09:00
178inaba
13dd483b47
Add ID to Relationship, add follow unfollow test
2017-04-15 00:26:13 +09:00
178inaba
9dee3fc07f
Fix POST to http.MethodPost
2017-04-14 23:59:11 +09:00
178inaba
b4e56b6ff8
Fix GET to http.MethodGet
2017-04-14 23:56:07 +09:00
Yasuhiro Matsumoto
2af857818d
add some APIs for Accounts
...
* AccountFollow
* AccountUnfollow
* AccountBlock
* AccountUnblock
* AccountMute
* AccountUnmute
* GetAccountRelationship
* AccountsSearch
2017-04-14 23:37:29 +09:00