list: API endpoint for returning a list of races. retrieve: API endpoint for returning a particular race.

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

{
    "url": "https://api-beta.open5e.com/v2/races/tiefling-heritage/?format=api",
    "key": "tiefling-heritage",
    "is_subrace": true,
    "subraces": [],
    "traits": [
        {
            "name": "Ability Score Increase",
            "desc": "Your Charisma score increases by 1."
        },
        {
            "name": "Necrotic Rebuke",
            "desc": "When you are hit by a weapon attack, you can use a reaction to envelop the attacker in shadowy flames. The attacker takes necrotic damage equal to your Charisma modifier (minimum of 1), and it has disadvantage on attack rolls until the end of its next turn. You must finish a long rest before you can use this feature again."
        }
    ],
    "name": "Tiefling Heritage",
    "desc": "Your darakhul character was a tiefling before transforming into a darakhul. You are no stranger to the pull of powerful forces raging through your blood. You have traded one dark pull for another, and this one seems much stronger. Is that a good feeling, or do you miss your old one?",
    "document": "https://api-beta.open5e.com/v2/documents/toh/?format=api",
    "subrace_of": "https://api-beta.open5e.com/v2/races/darakhul/?format=api"
}