PUT /glossary/{id}
PUT /glossary/
Handler
Note
Updates an existing glossary entry. Only non-null fields are applied. Triggers background term scan.
Authentication
None.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
slug |
string | Project slug |
id |
string | Entry UUID |
Request Body
JSON object. All fields are optional (null or omitted means no change). Must include at least one non-null field. term and shortDefinition must be non-empty strings if provided.
{
"shortDefinition": "Updated definition with more detail.",
"tags": ["magic", "worldbuilding", "danger"],
"autoMark": false
}
Success Response
Status: 200 OK
Returns the updated full GlossaryEntry object.
Error Responses
| Status | Description |
|---|---|
| 400 | No fields provided, or empty term / shortDefinition |
| 404 | Entry not found |
| 500 | Server error |
Tip
Relationship changes trigger reciprocal updates on target entries. A background term_scan job re-scans content for updated term/aliases/scope.