Commit 85706d84 by Adi Amir

add documentation for: getLatestImage

parent 320b8ba5
Showing with 36 additions and 9 deletions
......@@ -2,18 +2,13 @@
getCameraList
*************
public-safety ==> GET 172.16.1.72:50005/public-safety/media/api/v2/modiin/cameras
public-safety ==> GET 172.16.1.72:50005/public-safety/media/api/v2/san-diego/cameras
response:
[{
"id": "CAMERA-STG-HYP1017-CAM-L",
"mediaType": "IMAGE,VIDEO",
"lat": 32.714759,
"lon": -117.157563,
"links": [{
"latestImage": "XXX"
}, {
"latestVideo": "XXX"
}]
"lon": -117.157563
}]
MDE ==> GET 172.16.1.72:50005/mde/api/v2/ge/media/cameras?bbox=xxxx
......@@ -32,5 +27,37 @@ response:
}
examples:
172.16.1.72:50005/public-safety/media/api/v2/modiin/cameras/CAMERA-STG-HYP1017-CAM-L/images/from/to
**************
getLatestImage
**************
public-safety ==> GET 172.16.1.72:50005/public-safety/media/api/v2/san-diego/camera/CAMERA-STG-HYP1052-CAM-L/latestImage
response:
{
"success": true,
"error": null,
"objectNode": {"link": "../repo/public-safety/san-diego/media/camera/CAMERA-STG-HYP1052-CAM-L/latest-image/CAMERA-STG-HYP1052-CAM-L_1487807853000_0_IMAGE.JPG"}
}
MDE ==> GET 172.16.1.72:50005/mde/api/v2/ge/media/camera/CAMERA-STG-HYP1017-CAM-L/latestImage
response:
{IMAGE CONTENT}
********
examples
********
172.16.1.72:50005/public-safety/media/api/v2/modiin/camera/CAMERA-STG-HYP1017-CAM-L/latetestImage?link=https://ie-cities-media.run.asv-pr-pub.ice.predix.io/v2/file/CAMERA-STG-HYP1052-CAM-L_1487807853000_0_IMAGE.JPG
***************
getLatestImage
***************
public-safety ==> GET 172.16.1.72:50005/public-safety/media/api/v2/modiin/camera/ge/camera/CAMERA-STG-HYP1017-CAM-L?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment