FONTS


METHOD

/api/fonts/set.php

This method updates font settings.


ENDPOINT

http://cranked_installation_url/api/fonts/set.php


PARAMETERS POST

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php
title_size null No Font size of the title text.
body_size null No Font size of the body text.
line_height null No Line height of the body text.
font_family null No Font family of the body text.

SUCCESS RESPONSE

{"result":"success"}

ERROR RESPONSE

ERROR MESSAGE NOTES
No data passed API was called but no data were passed
API key not passed The required API key was not passed into the call
Invalid API key The API key was passed into the call but is invalid
No actions passed No parameters was passed into the API call other than the API key