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

GET /v2/classes/srd-2024_ranger/?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_ranger/?format=api",
    "key": "srd-2024_ranger",
    "features": [],
    "hit_points": {
        "hit_dice": "D10",
        "hit_dice_name": "1D10 per Ranger level",
        "hit_points_at_1st_level": "10 + your Constitution modifier",
        "hit_points_at_higher_levels": "1D10 (or 6) + your Constitution modifier per ranger 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": "Dexterity",
            "url": "https://api-beta.open5e.com/v2/abilities/dex/?format=api"
        },
        {
            "name": "Strength",
            "url": "https://api-beta.open5e.com/v2/abilities/str/?format=api"
        }
    ],
    "subclass_of": null,
    "name": "Ranger",
    "hit_dice": "D10",
    "caster_type": "HALF",
    "primary_abilities": []
}