Skip to content

Reload fonts

POST
/v1/fonts/reload
curl -X POST -H "X-Api-Key: $KEY" http://localhost:9027/v1/fonts/reload

Rescans the fonts directory and restarts idle LibreOffice workers, so a new font needs no container restart. Busy workers restart after their current job.

What is loaded now

Media typeapplication/json
object
changed
required

False when the directory has not changed, so no worker restarted.

boolean
faces
required
integer
families
required
integer

Example generated

{
"changed": true,
"faces": 1,
"families": 1
}

Reloaded moments ago

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}

A worker could not restart

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}