Request authorization
This is the first step, the app will ask for an app_token using the following call. A message will be displayed on the Freebox LCD asking the user to grant/deny access to the requesting app.
Once the app has obtained a valid app_token, it will not have to do this procedure again unless the user revokes the app_token.
POST /api/v4/login/authorize/
Example request:
POST /api/v4/login/authorize/ HTTP/1.1
Host: mafreebox.freebox.fr
{
"app_id": "fr.freebox.testapp",
"app_name": "Test App",
"app_version": "0.0.7",
"device_name": "Pc de Xavier"
}