You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mongoose-os/userguide/licensing.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,23 @@ an old license string is returned by the License Manager
36
36
but the number of available licenses is not decreased.
37
37
Thus a device, once licensed, is licensed permanently.
38
38
39
+
## API
40
+
41
+
- You'll need your secret key from the portal
42
+
- At a high level, send a POST request to https://license.mongoose-os.com/api/v1/license with your secret key and a JSON formatted object containing the device information
43
+
- You can obtain the device information from a Sys.GetUID RPC call to the device
44
+
- 'pid' maps to 'type', 'uid' maps to 'device_id', 'app' stays the same
45
+
- Sample CURL call:
46
+
```
47
+
curl --location --request POST 'https://license.mongoose-os.com/api/v1/license' \
0 commit comments