I have multiple Amcrest cameras of various vintages. I now have 2 new IP4M-1053E and I am unable to get the PTZ API to work. What has worked in the past with Amcrest cameras (and is still working today) simply doesnt work with these 2 new cameras.
I understand Digest Authentication (versus basic). The latest API documentation (https://s3.amazonaws.com/amcrest-files/ ... 3.2017.pdf Revision 2.12 2017-03-15) clearly states that either basic or digest is acceptable. It says "Video products support either basic authentication or digest authentication." followed by rather incomplete examples of each. Posts here in this forum state that basic authentication is no longer supported. So its pretty clear that the API document noted above is either factually wrong, or out of date.
Q1: Is there a newer version of the API document, and if so, how do I get a copy?
Q2: Is there a guide somewhere that clearly documents what the Amcrest API expects for digest authentication implementation?
Amcrest API documentation
-
- Posts: 18
- Joined: Thu Jul 07, 2016 5:10 pm
Re: Amcrest API documentation
Amcrest, are you no longer supporting the API? Why no response to this?
Re: Amcrest API documentation
Hi @alabamatoy , at the moment there are no API documentation past that revision date. Unfortunately regarding API integration we can only provide up to the documentation. We apologize for the inconvenience.
Re: Amcrest API documentation
@alabamatoy
You could use curl for your authentications.
https://ec.haxx.se/http/http-auth
If not familiar with curl, you will need to research its use in your environment.
You could use curl for your authentications.
https://ec.haxx.se/http/http-auth
If not familiar with curl, you will need to research its use in your environment.
-
- Posts: 18
- Joined: Thu Jul 07, 2016 5:10 pm
Re: Amcrest API documentation
I understand and use Curl.
Amcrest, you are knowingly putting out documentation that is incorrect? Wow.
Amcrest, you are knowingly putting out documentation that is incorrect? Wow.
-
- Posts: 18
- Joined: Thu Jul 07, 2016 5:10 pm
Re: Amcrest API documentation
The API documentation appears to be wrong on multiple levels. We (actually someone else far more skilled than I) finally got authentication to the Amcrest API working. See https://github.com/ZoneMinder/zoneminder/issues/2816 The API documentation is simply wrong on how the authentication works. The git issue link has PERL code that actually works with the Amcrest API. Apparently digest authentication is required first, then basic for the actual commands. Basic alone will not work, despite what the API documentation states.