Skip to main content

INPUT API Reference

Module Information​

Service Files:

  • Private: service/input.js
  • Public: service/input.js

Available Services: 1 Documented Services: 1


input.updateLicence​

Verify and apply a new Drumee platform licence. Validates the provided licence content against a cryptographic signature using the Drumee public key at /etc/drumee/publickeys/drumee.com.pem. If verification succeeds, persists both licence_content and licence_signature to the system configuration via stored procedure sys_conf_set and reloads the server cache. Always returns the verification result regardless of success or failure.

PropertyValue
ScopeHub (requires hub context)
PermissionAnonymous (1)

Endpoint:

https://hostname/-/svc/input.updateLicence

Parameters​

ParameterTypeRequiredDefaultDescription
signaturestringYes--
contentstringYes--

Returns​

FieldTypeDescription
typeany-
descriptionany-
propertiesany-

Possible Errors​

Error CodeHTTP StatusDescription
DRUMEE_PUB_KEY_NOT_FOUND-Drumee public key file not found at /etc/drumee/publickeys/drumee.com.pem
VERIFICATION_FAILED-Signature verification failed or an internal error occurred. Response will contain verified: false.