I'm new here so please be gentle

Just a few hopefully simple questions for the gurus
1) Is there any documentation detailing the api and commands used to control zoneminder.
2) Ideally, I would like to get a list of cameras via xml and url video feeds. Possible?
Thanks