FONTS


METHOD

/api/fonts/get.php

This method fetches the current font settings.


ENDPOINT

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


PARAMETERS GET

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php

SUCCESS RESPONSE

{
   "title_size":"20",
   "body_size":"14",
   "line_height":"21",
   "font_family":"droid-sans"
}

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