From 4aeecdb3c654bac6da25b9b29d3a97f2e81c772e Mon Sep 17 00:00:00 2001 From: ailike Date: Thu, 21 Nov 2019 11:30:47 +0800 Subject: [PATCH] Update http.md --- E2/protocol/http.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/E2/protocol/http.md b/E2/protocol/http.md index be65747..9d0c89f 100644 --- a/E2/protocol/http.md +++ b/E2/protocol/http.md @@ -1,4 +1,4 @@ -Based on Z CAM E2 (firmware 0.83 or above). +# Content [Basic of API](#Basic) @@ -36,6 +36,11 @@ Based on Z CAM E2 (firmware 0.83 or above). [Examples](#Examples) +## Must read !!! + +- Based on Z CAM E2 (firmware 0.93 or above) +- This document is not update to day, please check the /www/html/controller.html for the latest command and config key. + ## Basic ```HTTP GET /url @@ -131,6 +136,7 @@ GET /ctrl/mode?action=query | pb | playback mode | | cap | still capture (not in E2) | | cap_burst | burst still capture (not in E2) | +| standby | standby | *_ing means it's recording or playbacking video @@ -145,6 +151,18 @@ Switch to playback mode GET /ctrl/mode?action=to_pb ``` +Switch to standby +```HTTP +GET /ctrl/mode?action=to_standby +``` + +Any command to /ctrl/* will exit the standby mode. + +Exit standby +```HTTP +GET /ctrl/mode?action=exit_standby +``` + ## Video record control It will start video record/video timelapse record ```HTTP @@ -270,8 +288,8 @@ GET /ctrl/set?action=clear #### Video | key | type | description | | :--- |:---- |:---- | -| ~~movfmt | choice | 4KP30/4KP60/...~~ | -| ~~resolution | choice | 4K/C4K/...~~ | +| ~~movfmt~~ | choice | 4KP30/4KP60/... | +| ~~resolution~~ | choice | 4K/C4K/... | | project_fps | choice | 23.98/24/... | | record_file_format| choice | MOV/MP4 | | rec_proxy_file | choice | Record the proxy file |