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

Get Product Info

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

Request

None

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 --request GET 'http://192.168.169.1/app/getproductinfo'

Responses

🟢200Success
application/json
Body
result
integer 
required
info
object (ProductInfo) 
required
model
string 
required
company
string 
required
soc
string 
required
sp
string 
required
Example
{
    "result": 0,
    "info": {
        "model": "string",
        "company": "string",
        "soc": "string",
        "sp": "string"
    }
}
Modified at 2023-08-14 10:31:28
Previous
README.md
Next
Set Date and Time
Built with