search is broken because it needs a different API version than everything else

The base_url hard-codes an API version number, which forces all API functions to use that version. The API search call does not work because most (all?) Mastodon servers refuse to honor the v1 search.

What I think needs to happen is the base_url should omit the "/v1", and each API call should independantly control the version.

Or perhaps the api command should exceptionally require a version argument, so a user can do something like:

"api v2 search ..."

Tags: Open


Totally. I think this was fixed last year, Release 1.4.3. What version are you running?

– Alex Schroeder 2020-05-09 21:35 UTC

I'm not sure how to tell the version. I recall I had a real hard time installing it. My notes show at one point that I took these steps:

$ sudo git clone
$ sudo aptitude install bitlbee-dev libglib2.0-dev
$ sudo ./
$ sudo ./configure
$ sudo make
$ sudo make install

Now I see that there is a debian official package "bitlbee-plugin-mastodon" versioned as 1.4.3-1.

So I guess I should switch to the debian packaged version. It could be dicey though. I should work out how to manually uninstall the current setup which took some hacking to make it work (and my notes are incomplete I'm sure).

– bojkotiMalbona 2020-05-10 02:26 UTC

I guess you can just git pull and make && sudo make install in that directory?

– Alex Schroeder 2020-05-10 19:34 UTC

This wiki uses a variant of Markdown.

To save this page you must answer this question:

Please write "new issue" into the field below.