Fonts

Get the list of font substitutions in the configured `font-substitutions.json` file, if any.

If a font-substitutions.json file has been mounted on Document Engine's container, use this endpoint to get a list of the font substitutions defined in that file,

Note that the font substitutions returned by this endpoint will be used by Document Engine when processing all documents.

get/api/font_substitutions

Request

  • Base URL: http://localhost:5000
  • URL: http://localhost:5000/api/font_substitutions
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Response

Example response

{
  "data": [
    {
      "pattern": "Roboto-*",
      "target": "Courier New"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.