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

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

{
    "url": "https://api-beta.open5e.com/v2/spells/srd_detect-magic/?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_detect-magic",
    "casting_options": [
        {
            "type": "default",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null,
            "concentration": null,
            "shape_size": null,
            "desc": null
        },
        {
            "type": "ritual",
            "damage_roll": null,
            "target_count": null,
            "duration": null,
            "range": null,
            "concentration": null,
            "shape_size": null,
            "desc": null
        }
    ],
    "school": {
        "name": "Divination",
        "key": "divination",
        "url": "https://api-beta.open5e.com/v2/spellschools/divination/?format=api"
    },
    "classes": [
        {
            "name": "Bard",
            "key": "srd_bard",
            "url": "https://api-beta.open5e.com/v2/classes/srd_bard/?format=api"
        },
        {
            "name": "Cleric",
            "key": "srd_cleric",
            "url": "https://api-beta.open5e.com/v2/classes/srd_cleric/?format=api"
        },
        {
            "name": "Druid",
            "key": "srd_druid",
            "url": "https://api-beta.open5e.com/v2/classes/srd_druid/?format=api"
        },
        {
            "name": "Ranger",
            "key": "srd_ranger",
            "url": "https://api-beta.open5e.com/v2/classes/srd_ranger/?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": "Detect Magic",
    "desc": "For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any. The spell can penetrate most barriers, but it is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.",
    "level": 1,
    "higher_level": "",
    "target_type": "creature",
    "range_text": "Self",
    "range": 0.0,
    "ritual": true,
    "casting_time": "action",
    "reaction_condition": null,
    "verbal": true,
    "somatic": true,
    "material": false,
    "material_specified": "",
    "material_cost": null,
    "material_consumed": false,
    "target_count": 1,
    "saving_throw_ability": "",
    "attack_roll": false,
    "damage_roll": "",
    "damage_types": [],
    "duration": "10 minutes",
    "shape_type": null,
    "shape_size": null,
    "concentration": true
}