Search in Nextcloud by https link and search string

Hi,

this was already asked here [1] (thread closed) but is not what we looking for. We like to generate a link with a search string for Nextcloud like:
https ://example.com/search?t=STRING

The linked API example working, but useless for the end user.

Is there any solution or way to open the search per link?

[1] Direct link into nextcloud search box

Sorry i never have used it. But maye you find a hint here. Maybe you do not really need fulltextsearch but maybe the API is similar. Maybe somelink like this https://cloud.server.tld/ocs/v2.php/search/providers/files/search?term=test&from=%2Fapps%2Ffiles%2Ffiles (found with F12 in browser devs)

1 Like

Unfortunately the result is also a .xml view.

It look like there is no simply way for such function, unfortunately.

You could use “The Search page”-Plugin and a URL like https://yournextcloud/apps/thesearchpage/?terms=test&provider=All where the “terms” parameter is your searchterm.

1 Like

Yes that’s what I looking for, but here I can’t search for any AND combination like
invoice AND january

With the normal fulltext search I can use:
+invoice +january