MettaGo API
  1. Basic Interfaces
MettaGo API
  • README.md
  • Basic Interfaces
    • Get Product Info
      GET
    • Set Date and Time
      GET
    • Get Media Info
      GET
    • Get Device Info
      GET
    • Get Storage Info
      GET
    • Get Record Duration
      GET
    • Get Battery Info
      GET
  • Basic Setting
    • Query All Setting
      GET
    • Query Parameters Items
      GET
    • Query One Setting
      GET
  • Device Management
    • Let Device Know App Enter Playback Page
      GET
    • Let Device Know App Enter Setting Page
      GET
    • Let Device Know App Connect Successfully
      GET
    • Let Device Know App Disconnect Successfully
      GET
    • Set Parameter
      GET
    • Take Snapshot
      GET
    • Let Device Know App Exit Playback Page
      GET
    • Let Device Know App Exit Setting Page
      GET
    • Format SD/TF Card
      GET
    • Restore Factory Settings
      GET
  • Device File Management
    • Paging Query File List
      GET
    • Get Thumbnail of a File
      GET
    • Download a File
      GET
    • Delete a File
      GET
  1. Basic Interfaces

Set Date and Time

Developing
Prod Env
http://192.168.169.1
Prod Env
http://192.168.169.1
GET
/app/setsystime

Request

Query Params
date
string 
optional
Example:
{% mock 'datetime' , 'yyyyMMddHHmmss' %}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://192.168.169.1/app/setsystime?date={% mock '\''datetime'\'' , '\''yyyyMMddHHmmss'\'' %}'

Responses

🟢200Success
application/json
Body
result
integer 
required
info
string 
required
Example
{
    "result": 0,
    "info": "string"
}
Modified at 2023-08-14 10:31:31
Previous
Get Product Info
Next
Get Media Info
Built with