Skip to content

Skills for challenge not returning full data #2

Open
@jmgasper

Description

@jmgasper

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"
            }
        }
    ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions