The FTP/sFTP Flow was built based on next feedback:
<aside> 💡 Jusqu’à présent nous utilisions l’intégration passive via l’approche suivante :
Ce serait l’intégration « idéale », en tout cas la moins couteuse pour nous en termes de temps.
</aside>
The flow consists of:
The API Key can be found in the Integrations section of the website. Use it as bearer authentication.
curl -H "Content-Type: application/json" -H "Authorization: Bearer <API_KEY>" <https://vision.gaard.ai/version>
To preregister a video for classification, you can send a POST request with JSON.
POST <https://vision.gaard.ai/v1/integrations/sftp/classify>
{
"videoname": "video.mp4",
"metadata": {
"analyse_id": 1254448,
"client_id": 134188,
"no_trans": "20818",
"parc_origine": "XX",
"code_msg": "VI08"
}
}
<aside> đź’ˇ Important! The term "videoname" should be the name of the video file you will send to FTP/SFTP.
</aside>