I’m starting using Cockpit and I’m very pleased with it. I’m trying to find a way to make an GET request to receive 1 single entry randomly.
I tried sort=random but I didn’t have much luck.
Is there any thing I might try ?
PS : I use the sqlite default database.
I needed a random sample in the past, too. Here is a solution for multiple items with the SQLite database: