Save Template
POST /api/creative/mechanics/ability-workshop/templates
POST
/api/creative/mechanics/ability-workshop/templates
Request Body required
Section titled “Request Body required ” AbilityTemplateSpec
A bundled or user-authored .ability.json template.
object
templateId
required
Templateid
string
name
required
Name
string
rulesetRef
required
Rulesetref
string
components
AbilityComponents
Full component tree for one ability.
object
target
TargetComponent
object
kind
Kind
string
range
RangeComponent
object
value
Value
integer
unit
Unit
string
scalesWithLevel
Scaleswithlevel
boolean
special
Special
string
cost
CostComponent
object
resource
Resource
string
amount
Amount
integer
alternate
Alternate
string
effect
EffectComponent
object
kind
Kind
string
magnitude
Magnitude
string
scalingFormulaRef
Scalingformularef
string
elementalTag
Elementaltag
string
secondary
Secondary
Array<string>
duration
DurationComponent
object
kind
Kind
string
rounds
Rounds
integer
repeatTrigger
Repeattrigger
string
save
SaveComponent
object
stat
Stat
string
dcFormula
Dcformula
string
partialEffect
Partialeffect
string
specifiedReduction
Specifiedreduction
string
tags
TagsComponent
Boolean flags for ability metadata tags.
object
stealth
Stealth
boolean
loud
Loud
boolean
visible
Visible
boolean
ritual
Ritual
boolean
materialComponent
Materialcomponent
boolean
verbal
Verbal
boolean
somatic
Somatic
boolean
reactionTrigger
Reactiontrigger
boolean
concentration
Concentration
boolean
areaSelectable
Areaselectable
boolean
lineOfSightRequired
Lineofsightrequired
boolean
metadata
AbilityMetadata
object
name
Name
string
flavorDescription
Flavordescription
string
sourceArchetype
Sourcearchetype
string
schoolOrTradition
Schoolortradition
string
rarity
Rarity
string
tier
Tier
integer
flavorVocabulary
Flavorvocabulary
Array<string>
Responses
Section titled “ Responses ”Successful Response
AbilityTemplateDetailResponse
object
success
Success
boolean
template
Any of:
AbilityTemplateSpec
A bundled or user-authored .ability.json template.
object
templateId
required
Templateid
string
name
required
Name
string
rulesetRef
required
Rulesetref
string
components
AbilityComponents
Full component tree for one ability.
object
target
TargetComponent
object
kind
Kind
string
range
RangeComponent
object
value
Value
integer
unit
Unit
string
scalesWithLevel
Scaleswithlevel
boolean
special
Special
string
cost
CostComponent
object
resource
Resource
string
amount
Amount
integer
alternate
Alternate
string
effect
EffectComponent
object
kind
Kind
string
magnitude
Magnitude
string
scalingFormulaRef
Scalingformularef
string
elementalTag
Elementaltag
string
secondary
Secondary
Array<string>
duration
DurationComponent
object
kind
Kind
string
rounds
Rounds
integer
repeatTrigger
Repeattrigger
string
save
SaveComponent
object
stat
Stat
string
dcFormula
Dcformula
string
partialEffect
Partialeffect
string
specifiedReduction
Specifiedreduction
string
tags
TagsComponent
Boolean flags for ability metadata tags.
object
stealth
Stealth
boolean
loud
Loud
boolean
visible
Visible
boolean
ritual
Ritual
boolean
materialComponent
Materialcomponent
boolean
verbal
Verbal
boolean
somatic
Somatic
boolean
reactionTrigger
Reactiontrigger
boolean
concentration
Concentration
boolean
areaSelectable
Areaselectable
boolean
lineOfSightRequired
Lineofsightrequired
boolean
metadata
AbilityMetadata
object
name
Name
string
flavorDescription
Flavordescription
string
sourceArchetype
Sourcearchetype
string
schoolOrTradition
Schoolortradition
string
rarity
Rarity
string
tier
Tier
integer
flavorVocabulary
Flavorvocabulary
Array<string>
null
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context