Skip to content

Challenge phases returned by api do not match V4 phases #146

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

Closed
SathyaJayabal opened this issue Jun 1, 2020 · 7 comments
Closed

Challenge phases returned by api do not match V4 phases #146

SathyaJayabal opened this issue Jun 1, 2020 · 7 comments

Comments

@SathyaJayabal
Copy link
Collaborator

topcoder-platform/community-app#4447

@rootelement
Copy link
Contributor

@SathyaJayabal
Copy link
Collaborator Author

SathyaJayabal commented Jun 2, 2020

@rootelement , the phases are good in the api response, but http://api.topcoder-dev.com/v5/challenges?legacyId=30048648 does not return new V5 id for the challenge, so not able to verify the phases on the challenge details page.

For example for this challenge we can see the new id returned.
https://api.topcoder.com/v5/challenges?legacyId=30108180
Which we use to create the V5 challenge detail url
https://beta-community-app.topcoder.com/challenges/55cff8bd-c622-412d-9683-ed85398044f7

@ThomasKranitsas
Copy link
Contributor

@SathyaJayabal I see the ID of the challenge just fine in the sample call you sent

@SathyaJayabal
Copy link
Collaborator Author

@ThomasKranitsas , I see the ID is under metadata now.

@SathyaJayabal
Copy link
Collaborator Author

@sushilshinde @ThomasKranitsas @rootelement , phases look good in dev.
Screenshot 2020-06-02 at 3 49 45 PM

@ThomasKranitsas
Copy link
Contributor

@SathyaJayabal can you please paste the API response you're getting here? I see the ID of the challenge just fine and not under metadata as you're saying.

@SathyaJayabal
Copy link
Collaborator Author

SathyaJayabal commented Jun 2, 2020

@ThomasKranitsas , I am sorry, it is not under metadata, but below it. Initially the id was displayed on top like in
https://api.topcoder.com/v5/challenges?legacyId=30108180
But now (in dev) it is displayed below the meta data(near the bottom) and so I missed it. Example:
http://api.topcoder-dev.com/v5/challenges?legacyId=30048648

Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants