S'inscrire
 
Mot de passe
Email
Accueil
Altimètre
Accessoires
Vols
Support et manuels
Outils
Mes appareils
Mes vols
Dashboard
API
Nano V1
CSV Flight log verification API
Request limit: none
Authentication: none (public)
Information
CSV flight logs produced by our altimeters include a verification hash key. Currently this system only works with the Nano Altimeter but it will support all our altimeters soon.

The hash verification key in flight logs is a unhackable SHA-256 one way hash of your flight log details. This API can verify if a flight log is genuine and exactly as written by the Nano altimeter, or if the flight log has been edited.

To pass verification both the flight log infomation and the header with settings must be unchanged.

The algorithm that generates the hash is protected in our firmware by AES-256 encryption and as such with current technology is considered to be un-crackable. This API is the only way to verify flight logs, or using the user style upload tool here.
Request
To verify a flight log you need to POST the entire CSV flight log, unedited to the above API url. You should post the CSV under the parameter csv=.
Response
If the flight log verifies correctly you will get a response like the one below.
{
        "success": true,
        "log_lines": 825,
	"apogee": 2.54
	"apogee_time": 826
	"flight_unique_id": e1eb3e800d780a0b69670f03a88e2f45c592b6e79065fc08cf83241530a60c5a
}
If the flight log fails, or a empty request is made you will get a response like these.
{
        "success": false,
	"log_lines": 825,
        "error": {
                "code": "400",
                "message": "Flight log failed verification (STEP=SHA256)",
        }
}
{
        "success": false,
        "error": {
                "code": "412",
                "message": "No flight log supplied as a POST using the parameter csv=",
        }
}
Test API
You can test the API here by pasting a flight log into the text area and clicking submit. Open the CSV in a text editor to copy it and paste.
We have pre-loaded the text area below with a small test flight log, feel free to try editing any of the core information or settings to test a fail/edited log method as well.


© Rocketry Ltd T/As www.altimetercloud.com
Société immatriculée en Angleterre et au Pays de Galles sous le numéro 15297535
Numéro de TVA GB472370982
Statistiques du serveur
Documentation API