- Documentation
- Activation
- Activation Process
- Activate information import/export
- View Device Activation InformationGET
- Common interfaces
- Recognition
- learning export & import
- camera
- goods
- Product Image Matching
Step 1: Activate the device
POST
/register
Request
Body Params application/json
passphrase
string
required
trailDays
integer
required
Example
{
"passphrase": "passphrase text",
"trailDays": 30
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:17339/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"passphrase": "passphrase text",
"trailDays": 30
}'
Responses
🟢200success
application/json
Body
deviceSerial
string
required
deviceId
string
required
remoteAccessed
boolean
required
remoteValidation
boolean
required
trial
boolean
-
errorCode
integer
required
Example
{
"deviceSerial": "0815:B031:2724",
"deviceId": "NBrjC7AWQEi7GQWF4VsuAA",
"remoteAccessed": true,
"remoteValidation": true,
"trial": false,
"errorCode": 0
}
🟢200error