Sdk

Encrypt TNT Application

POST /api/sdk/encrypt

Returns an encrypted version of the supplied binary for use during TNT application development

Parameters

propertytypedescriptionexample
uuiddevice_uuiduuid0000000000000000000000000000000000000001
base64base64base64 encoded binary payload to be encryptedR0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAAC

Curl Example

curl -v -X POST -H 'Authorization: Bearer <user-token>' http://localhost:2002/api/sdk/encrypt

Encrypt TNT Application

POST /api/sdk/tnt/encrypt

Returns an encrypted version of the supplied binary for use during TNT application development

Parameters

propertytypedescriptionexample
uuiddevice_uuiduuid0000000000000000000000000000000000000001
base64base64base64 encoded binary payload to be encryptedR0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAAC

Curl Example

curl -v -X POST -H 'Authorization: Bearer <user-token>' http://localhost:2002/api/sdk/tnt/encrypt

Log SDK activity

POST /api/sdk/log

Allows SDK to report events for triage by support

Payload

propertytypedescriptionexample
tagstring
typestring
logstring required

Curl Example

curl -v -X POST -H 'Authorization: Bearer <user-token>' -H "Content-type: application/json" -d '{"tag":"undefined","type":"undefined","log":"undefined"}' http://localhost:2002/api/sdk/log