Skip to content

Add Legend Ref To Node

POST
/api/writing/outline/nodes/{node_id}/legend-refs

Add a Legend entry reference to an outline node.

node_id
required
Node Id
string
>= 1 characters
OutlineNodeLegendRefAddRequest

Add a Legend entry reference to an outline node.

object
legendEntryId
required
Legendentryid
string
source
Source
string
default: manual
Allowed values: manual auto

Successful Response

OutlineNodeLegendRef

Legend entry reference attached to an outline node (scene/chapter).

object
id
required
Id
string
nodeId
required
Nodeid
string
legendEntryId
required
Legendentryid
string
title
required
Title
string
entryType
required
Entrytype
string
source
required
Source
string
Allowed values: manual auto
loreEntryId
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object