Skip to content

Image icon and title for site award badges missing via API_GetUserAwards endpoint #3135

Open
@DFelten

Description

@DFelten

Describe the bug

When getting a list of badges for a user the title and image icon for site awards are missing.

Endpoint: API_GetUserAwards.php?y={{key}}&u={{username}}

To Reproduce

Fetch badges of a user via API and check the response:

...
"VisibleUserAwards": [
        {
            "AwardedAt": "2025-01-25T21:08:30+00:00",
            "AwardType": "Patreon Supporter",
            "AwardData": 0,
            "AwardDataExtra": 0,
            "DisplayOrder": 0,
            "Title": null,
            "ConsoleID": null,
            "ConsoleName": null,
            "Flags": null,
            "ImageIcon": null
        }
    ]
...

Or an other example

        {
            "AwardedAt": "2024-12-22T21:43:11+00:00",
            "AwardType": "Certified Legend",
            "AwardData": 0,
            "AwardDataExtra": 0,
            "DisplayOrder": 786,
            "Title": null,
            "ConsoleID": null,
            "ConsoleName": null,
            "Flags": null,
            "ImageIcon": null
        },

Expected behavior

Title and image icon exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions