Skip to content

Merge Entry

POST
/api/creative/lore/entries/{entry_id}/merge

Merge a duplicate lore entry into a target entry.

entry_id is the source that will be soft-deleted; the target absorbs its aliases, tags, content, and relationships. Use this to consolidate duplicates surfaced by bulk imports.

entry_id
required
Entry Id
string
LoreEntryMergeRequest

Request to merge a source lore entry into a target.

The source entry’s content, tags, and aliases are folded into the target. Page relationships pointing at the source are rewired to the target. The source is then soft-deleted (status=‘trashed’) so it can be restored if the merge was a mistake.

object
targetEntryId
required
Targetentryid

Entry that absorbs the source’s content

string
keepAsAlias
Keepasalias

If true, the source title is added as an alias on the target.

boolean
default: true

Successful Response

LoreEntryMergeResponse

Result of merging two lore entries.

object
status
Status
string
default: merged
Allowed value: merged
sourceEntryId
required
Sourceentryid
string
targetEntryId
required
Targetentryid
string
targetTitle
required
Targettitle
string
aliasesAdded
Aliasesadded
integer
0
tagsAdded
Tagsadded
integer
0
relationshipsRewired
Relationshipsrewired
integer
0
contentAppended
Contentappended
boolean

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