Update Page Relationship
PUT /api/creative/lore/relationships/{relationship_id}
PUT
/api/creative/lore/relationships/{relationship_id}
Update a relationship’s type, description, or weight.
When upgrading an auto-generated ‘related_to’ to a specific type, the relationship becomes author-confirmed (is_auto set to false).
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” relationship_id
required
Relationship Id
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
LorePageRelationshipResponse
Response for a single relationship between lore entries.
object
id
required
Id
string
projectId
required
Projectid
string
sourceEntryId
required
Sourceentryid
string
targetEntryId
required
Targetentryid
string
relationshipType
required
Relationshiptype
string
weight
Weight
number
isAuto
Isauto
boolean
sourceTitle
Sourcetitle
string
sourceEntryType
Sourceentrytype
string
targetTitle
Targettitle
string
targetEntryType
Targetentrytype
string
createdAt
required
Createdat
integer
modifiedAt
required
Modifiedat
integer
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