list: API endpoint for returning a list of spells.
retrieve: API endpoint for returning a particular spell.

GET /v2/spells/srd_sunbeam/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/spells/srd_sunbeam/?format=api",
    "document": {
        "name": "System Reference Document 5.1",
        "key": "srd-2014",
        "display_name": "5e 2014 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 2014",
            "key": "5e-2014",
            "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
        },
        "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
    },
    "key": "srd_sunbeam",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null,
            "concentration": null,
            "shape_size": null,
            "desc": null
        }
    ],
    "school": {
        "name": "Evocation",
        "key": "evocation",
        "url": "https://api-beta.open5e.com/v2/spellschools/evocation/?format=api"
    },
    "classes": [
        {
            "name": "Druid",
            "key": "srd_druid",
            "url": "https://api-beta.open5e.com/v2/classes/srd_druid/?format=api"
        },
        {
            "name": "Sorcerer",
            "key": "srd_sorcerer",
            "url": "https://api-beta.open5e.com/v2/classes/srd_sorcerer/?format=api"
        },
        {
            "name": "Wizard",
            "key": "srd_wizard",
            "url": "https://api-beta.open5e.com/v2/classes/srd_wizard/?format=api"
        }
    ],
    "range_unit": "feet",
    "shape_size_unit": "feet",
    "name": "Sunbeam",
    "desc": "A beam of brilliant light flashes out from your hand in a 5-foot-wide, 60-foot-long line. Each creature in the line must make a constitution saving throw. On a failed save, a creature takes 6d8 radiant damage and is blinded until your next turn. On a successful save, it takes half as much damage and isn't blinded by this spell. Undead and oozes have disadvantage on this saving throw. You can create a new line of radiance as your action on any turn until the spell ends. For the duration, a mote of brilliant radiance shines in your hand. It sheds bright light in a 30-foot radius and dim light for an additional 30 feet. This light is sunlight.",
    "level": 6,
    "higher_level": "",
    "target_type": "creature",
    "range_text": "Self",
    "range": 0.0,
    "ritual": false,
    "casting_time": "action",
    "reaction_condition": null,
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "A magnifying glass.",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "constitution",
    "attack_roll": false,
    "damage_roll": "6d8",
    "damage_types": [
        "radiant"
    ],
    "duration": "1 minute",
    "shape_type": null,
    "shape_size": null,
    "concentration": true
}