API "Not Found"

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
PeterSM
Posts: 2
Joined: Thu Mar 26, 2020 7:06 pm

API "Not Found"

Post by PeterSM » Fri Mar 27, 2020 6:32 am

I have been struggling ro get Zoneminder set up for some time but I am getting close! Everything seems to work apart from the API. I have a camera set up and it is monitoring and recording events. I have password security setup.
I installed LAMP (without PHP-FPM) following these instructions:
https://www.linuxbabe.com/ubuntu/instal ... er-desktop
Then installed zoneminder using the script:
https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x
But http://<server>/zm/api/ gives me:
Untitled.png
Untitled.png (30.66 KiB) Viewed 57 times
http://<server>/zm/api/host/getVersion.json gives me:

Code: Select all

version	"1.34.6"
apiversion	"2.0"
and http://<server>/zm/api/host/monitors.json Gives me:

Code: Select all

success	false
data	
name	"Not Found"
message	"Not Found"
url	"/zm/api/host/monitors.json"
exception	
class	"MissingActionException"
code	404
message	"Action HostController::monitors() could not be found."
Any help appreciated!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest