I was able to make that convention work for me. The new issue is that the download links donāt work from the command line with/without the JWT being passed, or a browser I am not logged into. They do work when pasted into a browser that I am logged into.
I get a Download has been disabled by the administrator (200) error.
Looking to iterate through all my previous recordings and make a backup. Donāt have that functionality in the web interface nor third party apps that I could find.
Any way to disable this security function on my recordings so I can download the videos without troubleshooting the JWT authentication further?
If I send headers to authenticate as follows:
headers = {
āAuthorizationā:
āBearer My_JWT_tokenā,
ācontent-typeā:
āapplication/jsonā,
āUser-Agentā:
āMozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36ā
}
Then I get the following error:
{āstatusā:false,āerrorCodeā:401,āerrorMessageā:ājava.lang.NullPointerExceptionā,āresultā:null}
For others reference, the JWT Token needed to be in the url as a query param (&access_token=JWT_TOKEN), without setting an authorization bearer header.