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 */ }, ...]
}
}
Client. Both sides will need to share a common regex... 👍