footer_template

Save footer template and render preview

Changed on

Saves the footer template and returns the rendered PDF preview. This endpoint requires admin access

post/ocs/v2.php/apps/libresign/api/{apiVersion}/footer-template

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

templatestring

The Twig template to save (empty to reset to default)

widthinteger

Width of preview in points (default: 595 - A4 width)

heightinteger

Height of preview in points (default: 50)

Response

OK

Changes