zethon How would I go about getting a list of discussions per tag? For example, how would I get a list of discussions equivalent to this URL: https://discuss.flarum.org/t/dev ? Thanks!
Toby zethon An easy way to find out is to open up your browser inspect > Network tab, and then click a tag and see what request is made! In this case, it's: https://discuss.flarum.org/api/discussions?filter[q]=tag:dev
zethon A follow up question (instead of creating a new thread), is there any way to specify the number of discussions I want returned by /api/discussions? The "default" seems to be 20, but is there anyway to specify a different number?
zhongjiekang Toby I saw in API instructions filter[q] could be username . How to write the syntax to get the discussions start by the specific user?
ariel zhongjiekang Hi, for example to search for all the discussions that were created by the username admin: /api/discussions?filter[q]=author:admin
Kvothe zethon If anyone still needs a way to limit the number of discussions returned by the api it works like this: /api/discussions?page[limit]=4 (returns the 4 latest posts)