Skip to content

Skills for challenge not returning full data #2

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

Open
jmgasper opened this issue Jun 10, 2025 · 0 comments
Open

Skills for challenge not returning full data #2

jmgasper opened this issue Jun 10, 2025 · 0 comments

Comments

@jmgasper
Copy link
Contributor

jmgasper commented Jun 10, 2025

The challenge API v6 isn't returning full linked skills.

Challenge ID: 31b4b510-0b0a-42a8-a1b2-dec8e026ccc2

Skills are associated with that challenge in the database, but they don't contain the full information that the v5 API does, which it retrieves from the standardized skills API:

https://github.com/topcoder-platform/challenge-api/blob/940ef7b4699062aaf22ca9a82fd1b4e9895a1ebf/src/common/helper.js#L1141-L1142

Image

Current:

    "skills": [
        {
            "id": "7f26d1d1-7bf8-48f4-8a26-2bd1cd02c82d"
        }
    ],

Expected:

    "skills": [
        {
            "name": "Behavior-Driven Development (BDD)",
            "id": "7f26d1d1-7bf8-48f4-8a26-2bd1cd02c82d",
            "category": {
                "name": "Programming and Development",
                "id": "481b5ebc-2fe6-45ed-a90c-736936d458d7"
            }
        }
    ],
@jmgasper jmgasper changed the title Skills for challenge not returning Skills for challenge not returning full data Jun 10, 2025
@jmgasper jmgasper reopened this Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant