Skip to main content
PATCH
Update dialogue node

Path Parameters

project_id
string
required
node_id
string
required

Body

application/json

Body for PATCH /v1/projects/{pid}/game-narrative/dialogue-nodes/{id}.

An omitted field is left unchanged. An explicit null clears speaker_id, speaker_label, canvas_x or canvas_y; null for kind, text, branches, conditions or on_enter_effects is rejected (422).

kind
enum<string> | null
Available options:
line,
choice,
branch,
end
text
string | null
Maximum string length: 20000
speaker_id
string | null
Maximum string length: 200
speaker_label
string | null
Maximum string length: 200
branches
Branches · object[] | null
Maximum array length: 2000
conditions
Conditions · object[] | null
Maximum array length: 2000
on_enter_effects
On Enter Effects · object[] | null
Maximum array length: 2000
canvas_x
number | null
canvas_y
number | null

Response

Successful Response

The response is of type Response Patch Node V1 Projects Project Id Game Narrative Dialogue Nodes Node Id Patch · object.