We can roll the new featured tag[s] into /discover
Pros: No extra HTTP requests on the client
Cons: Kind weird, especially with pagination. Larger payload sizes.
GET /disover
{
"projects": [{ /* Projects with the featured flag set to true */ }, ...],
"featuredTags": {
"mozfest2015": [{ /* projects tagged mozfest2015 */ }, ...],
"makerparty2016": [{ /* projects tagged mozfest2015 */ }, ...]
}
}
RE: interpolation, definitely possible, but perhaps with a toggle for enabling it in results?
GET /discover?interpolate=1
Option 2 felt like the least desirable to me.
Option 3 Sounds very nice if we forego the route based params and enable query param based fetching, for multiple tags. Results could be mashed together or organized by tag, whichever serves our needs better.