On the startpage, we would like to have only 10 polls. At this point, we call all polls and filter on frontend the amount of displayed polls.
Add an optional query parameter limit to set the maximum amount of polls. If the client does not append these query parameter, all polls should be returned.
On the startpage, we would like to have only 10 polls. At this point, we call all polls and filter on frontend the amount of displayed polls.
Add an optional query parameter
limit
to set the maximum amount of polls. If the client does not append these query parameter, all polls should be returned.