New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trending/underground non-full endpoint #3944
Conversation
}, | ||
) | ||
@ns.route( | ||
"/trending/underground/<string:version>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we also want this non-full route for /trending/underground/<string:version>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably ok not too. the story of why we have this is when we update the trending algo, we want to make sure that while services waterfall updates the client sees a consistent view of trending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you already did it though, so no need to undo!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Approving contingent on us running gen:sdk :)
}, | ||
) | ||
@ns.route( | ||
"/trending/underground/<string:version>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you already did it though, so no need to undo!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 flawless - you'll need to go into the audius-protocol/libs
folder and run npm run gen:dev
though to generate the API client for the SDK (which also requires the discovery node to be running)
## Changelog - 2022-09-29 [13bd5ff] Gating entity manager replica set updates with identity service (#3965) [Isaac Solo] - 2022-09-28 [b7230e2] Add a getter for userBankTransactionMetadata (#3962) [Marcus Pasell] - 2022-09-28 [d99a1f8] Add trending/underground non-full endpoint (#3944) [Michelle Brier] - 2022-09-28 [f88869d] Bump sdk to v1.0.7 [audius-infra]
## Changelog - 2022-09-29 [13bd5ff] Gating entity manager replica set updates with identity service (#3965) [Isaac Solo] - 2022-09-28 [b7230e2] Add a getter for userBankTransactionMetadata (#3962) [Marcus Pasell] - 2022-09-28 [d99a1f8] Add trending/underground non-full endpoint (#3944) [Michelle Brier] - 2022-09-28 [f88869d] Bump sdk to v1.0.7 [audius-infra]
* Add trending/underground non-full API endpoint * Generate libs types
Description
Add non-full API endpoint for
tracks/trending/underground
Tests
Make sure existing tests pass. Deploy and test endpoint on stage
Monitoring - How will this change be monitored? Are there sufficient logs / alerts?