Where can I find all the REST API routes available for API Gateway ?

Hello there,

I just started to develop using API Gateway and I was able to retrive my access_token and list my cameras. Now I’d like to retrieve a snapshot for my camera and I’ve looked everywhere for the api URLs and found nothing.

Can you share with me the list of available routes of the API Gateway please ?

Capture d’écran 2023-12-01 à 10.23.45

It is not possible to ask for a snapshot the way you try here.

Please see https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/

As a general rule you can see configuration, events and alarms, but cannot get video data using the restful API, other protocol or methods is needed for that currently.

Oh ok thanks ! I must use WebRTC for video streaming right ? Is there any example using python out there ? ^^’ Thanks a lot for your help

There are actually several ways to get video but WebRTC is the newest and might be a good fit. Milestone has one sample for this and that sample is Javascript.

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/webrtc_javascript/readme.html&tree=tree_3.html

I would love to hear if other parties have a Python sample for this so I hope somebody will post an answer to that effect.