Skip to main content
POST
Create or update a spell

Authorizations

Authorization
string
header
required

API key created in your Wanderer's Guide account settings. Send as Authorization: Bearer <key>. Used for direct API access from external tools and scripts.

Body

application/json
name
string
required
rank
integer
required
Required range: 0 <= x <= 10
traditions
string[]
required
rarity
enum<string>
required
Available options:
COMMON,
UNCOMMON,
RARE,
UNIQUE
description
string
required
content_source_id
integer
required
version
string
required
id
integer
created_at
string<date-time>
updated_at
string<date-time>

Server-maintained change timestamp, bumped by a database trigger on every real edit. Lets clients detect content changes.

availability
enum<string>
Available options:
STANDARD,
LIMITED,
RESTRICTED
cast
string
traits
integer[]
defense
string
cost
string
trigger
string
requirements
string
range
string
area
string
targets
string
duration
string
heightened
object
meta_data
object

Response

200 - application/json

JSend success. Inserted row on create, true on update.

status
enum<string>
Available options:
success
data