Part 3. Cloud API: Web Services APIs
Other Web Services API Endpoints
POST/actions
- Purpose: This API endpoint is invoked to record the user's actions of capturing a screenshot or video.
- Request Method
- POST
- Changelog
-
Aug 21, 2017 First version
Dec 21, 2017 Second version - Permission
- Must verify that the app_id and app_key of the Header belong to the App to take further actions.
- Request Parameters
-
Need Parameter Type Description Required account_id String The account_id of the user. Required devicemode_name String The name of the DeviceMode. Required devicemark_name String The name of the DeviceMark. Required accounttakelog_type Integer The action that the user takes: - 0 = Photo capture
- 1 = Video capture
Required accounttakelog_started_time Integer The start time of capturing the video or photo. Optional accounttakelog_ended_time Integer The end time of capturing the video. - Return Values
-
Fields Type Description time_used Integer The time the request takes (time unit: millisecond). - Sample Response
-
Sample response when a request has succeeded:
{ "time_used": 752 }
- Unique Error Messages of this API
- None.