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

GET /v2/classes/srd-2024_draconic-sorcery/?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_draconic-sorcery/?format=api",
    "key": "srd-2024_draconic-sorcery",
    "features": [
        {
            "key": "srd-2024_sorcerer_draconic-sorcery_draconic-resilience",
            "name": "Draconic Resilience",
            "desc": "The magic in your body manifests physical traits of your draconic gift. Your Hit Point maximum increases by 3, and it increases by 1 whenever you gain another Sorcerer level.\n\nParts of you are also covered by dragon-like scales. While you aren't wearing armor, your base Armor Class equals 10 plus your Dexterity and Charisma modifiers.",
            "feature_type": "CLASS_LEVEL_FEATURE",
            "gained_at": [
                {
                    "level": 3,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd-2024_sorcerer_draconic-sorcery_draconic-spells",
            "name": "Draconic Spells",
            "desc": "When you reach a Sorcerer level specified in the Draconic Spells table, you thereafter always have the listed spells prepared.\n\nTable: Draconic Spells\n\n|Sorcerer Level|Spells|\n|---|---|\n|3|Alter Self, Chromatic Orb, Command, Dragon's Breath|\n|5|Fear, Fly|\n|7|Arcane Eye, Charm Monster|\n|9|Legend Lore, Summon Dragon|",
            "feature_type": "CLASS_LEVEL_FEATURE",
            "gained_at": [
                {
                    "level": 3,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd-2024_sorcerer_draconic-sorcery_dragon-companion",
            "name": "Dragon Companion",
            "desc": "You can cast *Summon Dragon* without a Material component. You can also cast it once without a spell slot, and you regain the ability to cast it in this way when you finish a Long Rest.\n\nWhenever you start casting the spell, you can modify it so that it doesn't require Concentration. If you do so, the spell's duration becomes 1 minute for that casting.",
            "feature_type": "CLASS_LEVEL_FEATURE",
            "gained_at": [
                {
                    "level": 19,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd-2024_sorcerer_draconic-sorcery_dragon-wings",
            "name": "Dragon Wings",
            "desc": "As a Bonus Action, you can cause draconic wings to appear on your back. The wings last for 1 hour or until you dismiss them (no action required). For the duration, you have a Fly Speed of 60 feet.\n\nOnce you use this feature, you can't use it again until you finish a Long Rest unless you spend 3 Sorcery Points (no action required) to restore your use of it.",
            "feature_type": "CLASS_LEVEL_FEATURE",
            "gained_at": [
                {
                    "level": 14,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd-2024_sorcerer_draconic-sorcery_elemental-affinity",
            "name": "Elemental Affinity",
            "desc": "Your draconic magic has an affinity with a damage type associated with dragons. Choose one of those types: Acid, Cold, Fire, Lightning, or Poison.\n\nYou have Resistance to that damage type, and when you cast a spell that deals damage of that type, you can add your Charisma modifier to one damage roll of that spell.",
            "feature_type": "CLASS_LEVEL_FEATURE",
            "gained_at": [
                {
                    "level": 6,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        }
    ],
    "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": [],
    "subclass_of": {
        "name": "Sorcerer",
        "key": "srd-2024_sorcerer",
        "url": "https://api-beta.open5e.com/v2/classes/srd-2024_sorcerer/?format=api"
    },
    "name": "Draconic Sorcery",
    "desc": "*Breathe the Magic of Dragons*\n\nYour innate magic comes from the gift of a dragon. Perhaps an ancient dragon facing death bequeathed some of its magical power to you or your ancestor. You might have absorbed magic from a site infused with dragons' power. Or perhaps you handled a treasure taken from a dragon's hoard that was steeped in draconic power. Or you might have a dragon for an ancestor.",
    "hit_dice": null,
    "caster_type": "NONE",
    "primary_abilities": []
}