Closed
Description
Resolve legacy challenge ID(v4) to new Challenge ID (v5)
-
Whenever there is a route request with legacy challenge ID
https://<domain>/challenges/<legacyId>
eg.https://www.topcoder.com/challenges/30108180
-
Intercept route request and call
https://<apidomain>/v5/challenges?legacyId=<legacy id>
eg.https://api.topcoder.com/v5/challenges?legacyId=30108180
-
Read
id
id: "55cff8bd-c622-412d-9683-ed85398044f7",
legacyId: 30108180
-
Change URL to
https://<domain>/challenges/<id>
eg.https://www.topcoder.com/challenges/55cff8bd-c622-412d-9683-ed85398044f7
-
So any legacy URL will be served after v5 challenge API integration
PR to
https://github.com/topcoder-platform/community-app/tree/integration-v5-challenge-api
https://github.com/topcoder-platform/topcoder-react-lib/tree/integration-v5-challenge-api