Skip to content

API search queries should return results for Spinster URLs

See: spinster-xyz/spinster-android#9 (closed)

A search query like:

https://spinster.xyz/api/v1/search?q=https://spinster.xyz/...

should return a result.

Currently we return no results for such queries. For instance open this in a browser to see the returned JSON (Firefox nicely parses it):

https://spinster.xyz/api/v1/search?q=https://spinster.xyz/@socjuswiz

Interestingly it works for (some) non-Spinster URLs:

https://spinster.xyz/api/v1/search?q=https://mastodon.social/@a

It doesn't work for Gab.com URLs though:

https://spinster.xyz/api/v1/search?q=https://gab.com/@a