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

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

{
    "url": "https://api-beta.open5e.com/v2/spells/srd-2024_imprisonment/?format=api",
    "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"
    },
    "key": "srd-2024_imprisonment",
    "casting_options": [],
    "school": {
        "name": "Abjuration",
        "key": "abjuration",
        "url": "https://api-beta.open5e.com/v2/spellschools/abjuration/?format=api"
    },
    "classes": [
        {
            "name": "Warlock",
            "key": "srd-2024_warlock",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_warlock/?format=api"
        },
        {
            "name": "Wizard",
            "key": "srd-2024_wizard",
            "url": "https://api-beta.open5e.com/v2/classes/srd-2024_wizard/?format=api"
        }
    ],
    "range_unit": "feet",
    "shape_size_unit": "feet",
    "name": "Imprisonment",
    "desc": "You create a magical restraint to hold a creature that you can see within range. The target must make a Wisdom saving throw. On a successful save, the target is unaffected, and it is immune to this spell for the next 24 hours. On a failed save, the target is imprisoned. While imprisoned, the target doesn't need to breathe, eat, or drink, and it doesn't age. Divination spells can't locate or perceive the imprisoned target, and the target can't teleport. Until the spell ends, the target is also affected by one of the following effects of your choice: A Dispel Magic spell can end the spell only if it is cast with a level 9 spell slot, targeting either the prison or the component used to create it.",
    "level": 9,
    "higher_level": "",
    "target_type": "creature",
    "range_text": "30 feet",
    "range": 30.0,
    "ritual": false,
    "casting_time": "minute",
    "reaction_condition": null,
    "verbal": true,
    "somatic": true,
    "material": true,
    "material_specified": "a statuette of the target worth 5,000+ GP",
    "material_cost": null,
    "material_consumed": true,
    "target_count": 1,
    "saving_throw_ability": "wisdom",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "until dispelled",
    "shape_type": null,
    "shape_size": null,
    "concentration": false
}