A few experiments
http://192.168.0.1/v1/apis
{"errCode": 200,
"errMsg": "OK",
"apis": ["/v1/photos/
ath","/v1/photos/
ath/info","/v1/photos/latest/info","/v1/photos","/v1/props","/v1/props/camera","/v1/props/lens","/v1/props/liveview","/v1/props/device","/v1/variables","/v1/variables/camera","/v1/variables/lens","/v1/variables/liveview","/v1/variables/device","/v1/status","/v1/status/camera","/v1/status/lens","/v1/status/liveview","/v1/status/device","/v1/params","/v1/params/camera","/v1/params/lens","/v1/params/liveview","/v1/params/device","/v1/constants","/v1/constants/camera","/v1/constants/lens","/v1/constants/liveview","/v1/constants/device","/v1/ping","/v1/liveview","/v1/params/camera","/v1/params/device","/v1/camera/shoot","/v1/camera/shoot/start","/v1/camera/shoot/finish","/v1/lens/focus","/v1/liveview/zoom","/v1/changes","/v1/apis"]}
just a list of whats in the API
http://192.168.0.1/v1/photos/
{
"errCode": 200,
"errMsg": "OK",
"dirs": [
{
"name": "100_0726",
"files": [
"_IMG0028.JPG",
"_IMG0028.DNG",
"_IMG0029.JPG",
"_IMG0029.DNG",
"_IMG0030.JPG",
"_IMG0030.DNG",
"_IMG0031.JPG",
"_IMG0031.DNG",
"_IMG0032.JPG",
"_IMG0032.DNG",
"_IMG0033.JPG",
"_IMG0033.DNG"
]
},
{
"name": "101_0727",
"files": [
"_IMG0034.JPG",
"_IMG0034.DNG"
]
}
]
}
now thats a listing from my sdcard (slot1)
http://192.168.0.1/v1/photos/100_0726/_IMG0030.JPG
This returns _IMG0030.JPG to the browser window.
wget
http://192.168.0.1/v1/photos/100_0726/_IMG0030.JPG does a straight download of the file.
I've tried a few put requests with postman but so far i haven't given it valid values
http://192.168.0.1/v1/shoot looks promising but it requires some parameters i think