Update Draft Entry
PATCH /api/creative/council/drafts/{draft_id}
PATCH
/api/creative/council/drafts/{draft_id}
Update a draft entry’s status (accept/reject/modify).
On accept, mints a real lore entry from the draft and returns its ID so the frontend can wire an undo that removes the minted entry.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” draft_id
required
Draft Id
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
UpdateDraftEntryResponse
Response from a draft entry status update.
On accept, created_lore_entry_id holds the ID of the lore entry that
was minted from the draft so the frontend can wire an undo that deletes
the created entry. Null for reject/pending transitions.
object
draft
required
DraftLoreEntry
The updated draft
object
id
required
Id
Unique draft ID
string
sessionId
required
Sessionid
Council session ID
string
title
required
Title
Proposed entry title
string
content
required
Content
Proposed content (markdown)
string
entryType
required
Entrytype
Lore entry type
string
tags
Tags
Array<string>
rationale
required
Rationale
Why the council proposed this
string
status
DraftEntryStatus
Status of a draft lore entry proposed by the council.
string
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