Skip to main content

Get spells available for a class.

Get spells available for a class.

Path Parameters
index string REQUIRED

Possible values: [barbarian, bard, cleric, druid, fighter, monk, paladin, ranger, rogue, sorcerer, warlock, wizard]

The index of the class to get.

Responses
200

OK

Schema OPTIONAL
count number OPTIONAL

Total number of resources available.

results object[] OPTIONAL
index string OPTIONAL

Resource index for shorthand searching.

name string OPTIONAL

Name of the referenced resource.

url string OPTIONAL

URL of the referenced resource.

level number OPTIONAL

The level of the spell slot used to cast the spell.