topcoder-platform / tc-notifications

4 stars 15 forks source link

V5 standards issue #199

Open sachin-maheshwari opened 4 years ago

sachin-maheshwari commented 4 years ago

https://api.topcoder.com/v5/notifications/?platform=community&limit=20 if token expired, giving v3 standards error - { "version": "v3", "result": { "success": false, "status": 403, "content": { "message": "No token provided." } } } Should we corrected as mentioned standards here - https://topcoder.atlassian.net/wiki/spaces/CORE/pages/385974273/v5+API+Standards

sachin-maheshwari commented 4 years ago

Need to change in core lib - https://github.com/appirio-tech/tc-core-library-js/blob/4827b29784f4ac872789a0cbe8b9b07f641bbb7d/lib/util.js#L17 And also need to make sure regarding error handling at Frontend-APP whose calling this api i.e. connect-app and community-app (as error object will be changed)