License

License checking and management. If a site is unlicensed, this should performed first and foremost as the remainder of the REST API will be unavailable.