Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
mde
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85706d84
authored
Mar 05, 2017
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add documentation for: getLatestImage
parent
320b8ba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
9 deletions
doc/v2-flows.txt
doc/v2-flows.txt
View file @
85706d84
...
...
@@ -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?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment