Skip to content

[$70]Implement backward compatibility for legacy challenge urls(v4) #4435

Closed
@sushilshinde

Description

@sushilshinde

Resolve legacy challenge ID(v4) to new Challenge ID (v5)

  1. Whenever there is a route request with legacy challenge ID https://<domain>/challenges/<legacyId>
    eg. https://www.topcoder.com/challenges/30108180

  2. Intercept route request and call https://<apidomain>/v5/challenges?legacyId=<legacy id>
    eg. https://api.topcoder.com/v5/challenges?legacyId=30108180

  3. Read id

id: "55cff8bd-c622-412d-9683-ed85398044f7",
legacyId: 30108180
  1. Change URL to https://<domain>/challenges/<id>
    eg. https://www.topcoder.com/challenges/55cff8bd-c622-412d-9683-ed85398044f7

  2. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions