Module Secure-element (v1)#
REST Requests:#
Websockets:#
Websocket endpoint: GET /api/v1/secure-element/passe-partout
Module Secure-element REST API (v1)#
- GET /api/v1/secure-element/drone.der#
get drone certificate
- Status Codes:
200 OK – a DER-encoded X.509 certificate
404 Not Found – the device does not have a certificate, or certificate is not well-formed
500 Internal Server Error – another unspecified error occurred
503 Service Unavailable – the internal fourasd daemon is not running
504 Gateway Timeout – None
- GET /api/v1/secure-element/sign_challenge#
get signed challenge
- Parameters:
operation (string) – type of operation for which the challenge is requested (associate or unpair_all or get_secret)
challenge (string) – challenge generated by Academy
- Status Codes:
200 OK – a signed challenge
400 Bad Request – if the request is incorrect
500 Internal Server Error – another unspecified error occurred
503 Service Unavailable – the internal fourasd daemon is not running
- GET /api/v1/secure-element/datasn.txt#
get secure element DataSN
- Status Codes:
200 OK – an hexadecimal representation of the DataSN value
404 Not Found – the device does not have a DataSN file
500 Internal Server Error – another unspecified error occurred
503 Service Unavailable – the internal fourasd daemon is not running
504 Gateway Timeout – None
Module Secure-element Websocket events (v1)#
Endpoint:
- GET /api/v1/secure-element/passe-partout#
- Request Headers:
Connection – Upgrade
Upgrade – websocket