Skip to content

Update Draft Entry

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.

draft_id
required
Draft Id
string
UpdateDraftEntryRequest

Accept, reject, or modify a draft lore entry.

object
status
required
DraftEntryStatus

Status of a draft lore entry proposed by the council.

string
Allowed values: pending accepted rejected modified
modifiedTitle
Any of:
string
modifiedContent
Any of:
string

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
default: pending
Allowed values: pending accepted rejected modified
createdLoreEntryId
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