Webserver API question: GET tiddlers based on filter

38 views
Skip to first unread message

vpl

unread,
Mar 3, 2020, 4:24:59 PM3/3/20
to TiddlyWiki
Hi,

I would like to use the WebServer API to search for specific tiddlers, for example the last updated ones with a specific tag

What would you recommend me to do ?
 i could get All tiddler and search for in the full set of tiddlers returned, but I would like to avoid downloading all tiddler each time ..

Thanks for your help

Regards

Jeremy Ruston

unread,
Mar 3, 2020, 5:36:32 PM3/3/20
to TiddlyWiki
Hi vpl

The upcoming v5.1.22 release will include a new “filter” parameter on the GET /recipes/default/tiddlers.json API. For the moment you’ll have to do the filtering on the client side. Alternatively, you could make a system tiddler that gives you the data you need when rendered via the get rendered tiddler API (https://tiddlywiki.com/#WebServer%20API%3A%20Get%20Rendered%20Tiddler).

Best wishes

Jeremy.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dfbb97bd-fe83-477c-9e83-7fda2c4c31f9%40googlegroups.com.

vpl

unread,
Mar 4, 2020, 3:39:20 AM3/4/20
to TiddlyWiki
Hi Jeremy
Thanks a lot for your answer.
Do you have an rought idea of the expected new release date ? Is it a matter or weeks or months ?
I think I'm going first to work on the filter itself to do what I want (retrieve the tiddlers that have been "touched" since a specific date) and if the 5.1.22 is coming soon will wait for the feature

Thanks a lot for your support

Regards


Le mardi 3 mars 2020 23:36:32 UTC+1, Jeremy Ruston a écrit :
Hi vpl

The upcoming v5.1.22 release will include a new “filter” parameter on the GET /recipes/default/tiddlers.json API. For the moment you’ll have to do the filtering on the client side. Alternatively, you could make a system tiddler that gives you the data you need when rendered via the get rendered tiddler API (https://tiddlywiki.com/#WebServer%20API%3A%20Get%20Rendered%20Tiddler).

Best wishes

Jeremy.
On 3 Mar 2020, at 21:24, vpl <vpl.p...@gmail.com> wrote:

Hi,

I would like to use the WebServer API to search for specific tiddlers, for example the last updated ones with a specific tag

What would you recommend me to do ?
 i could get All tiddler and search for in the full set of tiddlers returned, but I would like to avoid downloading all tiddler each time ..

Thanks for your help

Regards

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages