-
Notifications
You must be signed in to change notification settings - Fork 0
[$350] Notification preferences API #520
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
Comments
Challenge https://www.topcoder.com/challenges/85e41859-3cfa-4772-8f37-4b3bf4b09475 has been created for this ticket. |
Challenge https://www.topcoder.com/challenges/85e41859-3cfa-4772-8f37-4b3bf4b09475 has been assigned to obog. |
@jmgasper What about advanced notification preferences? When user turns on the icon, we subscribe the user to both new discussions and new comments, If user is watching a category, these keys are stored in DB. So the endpoints can set/get the keys. Let me know if advanced notification preferences is in the scope.
|
@atelomycterus - Ideally, we'd give the user the same control that they would have in the Vanilla UI, so if the API can handle the same level of control, that would be good, thanks. |
@jmgasper The current status:
Implemented for general notification preferences + advanced notification preferences.
Implemented for general notification preferences.
Done. Use the Vanilla SettingsDefault preferences in Vanilla. Setting these to 'false' disables them globally.
|
@jmgasper I pushed code in the branches. Need to test it before deploying it on PROD because there are some changes in Topcoder plugin to support JWT token. I'll create PRs after deploying the current shapeup release on PROD. https://github.com/topcoder-platform/forums/tree/issues-520 New endpoints
Use the Authorization: Bearer $TOKEN header to access the endpoints.
Category Preferences: Patch Category Preferences: Vanilla REST APISome methods have already been implemented in Vanilla. Topcoder JWT token can be used for the endpoints: Watch a discussion
Other REST API methodsA few more Vanilla notifications' endpoints that might be useful for users. In this context notifications are email/popup messages sent to the current user. Let me know if the endpoints should support JWT token: |
@atelomycterus - Sounds good, thanks. The next prod push is happening in around 7 hours. |
@atelomycterus - Deployed to dev, thanks! Gonna close this now so that we don't have issues with billing. |
Payment task has been updated: https://www.topcoder.com/challenges/85e41859-3cfa-4772-8f37-4b3bf4b09475 |
@atelomycterus - We'd like to start planning to integrate forum preferences into the main Topcoder community app at some point in the future.
We'd like to have endpoint(s) to:
Ideally we wouldn't need the token for these API endpoints - we would use the user's Topcoder JWT instead. That way the community app can just pass along the token that it already has for the logged in user.
The text was updated successfully, but these errors were encountered: