list: API endpoint for returning a list of classes.
retrieve: API endpoint for returning a particular class.

GET /v2/classes/srd-2024_barbarian/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/classes/srd-2024_barbarian/?format=api",
    "key": "srd-2024_barbarian",
    "features": [],
    "hit_points": {
        "hit_dice": "D12",
        "hit_dice_name": "1D12 per Barbarian level",
        "hit_points_at_1st_level": "12 + your Constitution modifier",
        "hit_points_at_higher_levels": "1D12 (or 7) + your Constitution modifier per barbarian level after 1st"
    },
    "document": {
        "name": "System Reference Document 5.2",
        "key": "srd-2024",
        "display_name": "5e 2024 Rules",
        "publisher": {
            "name": "Wizards of the Coast",
            "key": "wizards-of-the-coast",
            "url": "https://api-beta.open5e.com/v2/publishers/wizards-of-the-coast/?format=api"
        },
        "gamesystem": {
            "name": "5th Edition 2024",
            "key": "5e-2024",
            "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2024/?format=api"
        },
        "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
    },
    "saving_throws": [
        {
            "name": "Constitution",
            "url": "https://api-beta.open5e.com/v2/abilities/con/?format=api"
        },
        {
            "name": "Strength",
            "url": "https://api-beta.open5e.com/v2/abilities/str/?format=api"
        }
    ],
    "subclass_of": null,
    "name": "Barbarian",
    "hit_dice": "D12",
    "caster_type": "NONE",
    "primary_abilities": []
}