Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

[GET] /community/achievement/getAvailableAchievements

Example request

Retrieves the full list of available achievement definitions for the specified title.

Request

parametertypevaluecomments
titlestr/enumage1, age2, age3, age4

Response

AoE2:DE

The response contains an achievementDefs array with every achievement definition registered for the title.

{
    "result": {
        "code": 0,
        "message": "SUCCESS"
    },
    "achievementDefs": [
        {
            "id": 1,
            "name": "ACHIEVEMENT_ETERNAL_GRATITUDE",
            "name_locstringid": -1,
            "description_locstringid": -1,
            "icon": "",
            "timemodified": 1665011141,
            "deleted": 0,
            "itembundle_id": -1
        },
        {
            "id": 2,
            "name": "AZTEC_VICTORY",
            "name_locstringid": -1,
            "description_locstringid": -1,
            "icon": "",
            "timemodified": 1665011141,
            "deleted": 0,
            "itembundle_id": -1
        },
        {
            "id": 3,
            "name": "BERBERS_VICTORY",
            "name_locstringid": -1,
            "description_locstringid": -1,
            "icon": "",
            "timemodified": 1665011141,
            "deleted": 0,
            "itembundle_id": -1
        }
        // ... more achievement definitions
    ]
}
fieldtypedescription
idintAchievement definition ID
namestringInternal achievement name
name_locstringidintLocalization string ID for name (-1 = none)
description_locstringidintLocalization string ID for description
iconstringIcon asset reference
timemodifiedintUnix timestamp of last modification
deletedintDeletion flag (0 = active)
itembundle_idintAssociated item bundle (-1 = none)