Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 19:17:12 +0200] rev 243
Change the way parameter lists are handled internally
Instead of trying to guess if a query key is a list (to strip the index
number, since Rails expects list IDs without index number), we prefix
the key name with the index when dealing with lists.
E.g.:
[0]ids: "one"
[1]ids: "two"
will be sent as
ids[]=one&ids[]=two
It makes it more reliable and let us differenciate between arrays and
objects (objects are untouched and sent as-is).
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 19:17:12 +0200] rev 242
UpdateAccount: Change source data update parameters
The server accepts queries like "source[0]=privacy%3Dprivate".
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 12:43:40 +0200] rev 241
Fix endpoint for update_credentials (broken by 9dcadf72)
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 11:43:44 +0200] rev 240
Support search v2 API
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 11:28:42 +0200] rev 239
Introduce new type: MastodonDate
This type replaces the previous 'ActivityTime' since this weird
timestamp format is now used by several Mastodon API endpoints...
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 01:07:40 +0200] rev 238
Do not use a global API version
Mastodon uses an API version per endpoint (cf. search v2) so
we need to be able to specify the version for any API call.
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 00:34:44 +0200] rev 237
Bump API version number
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 00:23:40 +0200] rev 236
Update search result type (us rich tag structure)
This change will let us use the same 'Results' object for both
versions of the search API endpoint (v1 & v2).
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 22:55:20 +0200] rev 235
Add endorsement commands (GetEndorsements, {Pin,Unpin}Account)
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 13:11:54 +0200] rev 234
Move GetFavourites() to status.go