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 Device Info

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

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/getdeviceattr'

Responses

🟢200Success
application/json
Body
result
integer 
required
info
object (DeviceAttribute) 
required
uuid
string 
required
softver
string 
required
hwver
string 
required
ssid
string 
required
bssid
string 
required
camnum
integer 
required
curcamid
integer 
required
Example
{
    "result": 0,
    "info": {
        "uuid": "string",
        "softver": "string",
        "hwver": "string",
        "ssid": "string",
        "bssid": "string",
        "camnum": 0,
        "curcamid": 0
    }
}
Modified at 2023-08-14 10:31:35
Previous
Get Media Info
Next
Get Storage Info
Built with