Sage-Bionetworks / rocc-schemas

OpenAPI specification of the Registry of Open Community Challenges
Apache License 2.0
0 stars 0 forks source link

Query N random challenges #212

Open tschaffter opened 2 years ago

tschaffter commented 2 years ago

Motivation

Display 1 or more random challenges (similar to Wikipedia random page). It would be nice if this could be as a sorting strategy.

Proposed solution

Use $sample provided by MongoDB.

Limitation: