Latest topics URL querystring syntax

I have been playing around with the latest topics URL and found out that you can do something like


The semantics of before=N puzzles me though. With different N I get different results, but N does not seem to mean days and also not a date in any format I can think of.

I tried things like




but I don’t get the logic.

Can somebody explain how this works?

1 Like

before means topics.created_at < ? which is PARAM.to_i.days.ago

You also have bumped_before which looks at bumped_at date.


Great, thanks! Is there generally an overview/documentation of such parameters?

Mostly in the source code, this is very very ninja, our recommendation is just to rely on search here.