Get General Information of Device

555

# Get General Information of Device

Path:

/api/info.json

Method: GET

Content-type: application/json; charset=utf-8

API Description: This can be used to get general information of the device, such as the device version, memory, and the program that is being played.

Response

Name Type Example Description
vername String 1.69.7 Device version
serialno String CLCA35001234 Serial number of the device
model String a35 Device model
up long 2844898 Running time (ms)
mem.total long 999710720 Total memory (byte)
mem.free long 704487424 Available memory (byte)
storage.total long 4487905280 Internal memory (byte)
storage.free long 4247740416 Available internal memory (byte)
name String Playlist3324.vsn The name of the program that is being played
path String /mnt/sdcard/Android/
data/com.color.home/files/Ftp/program
The storage path of the program that is being played
source String lan Program source:
lan: Published through LAN (WiFi, LAN, or USB cable);
usb: Saved in an external USB device;
usb-synced: Synced (Copied) from an external USB device;
internet: Internet program

Example

{
	"info": {
		"vername": "1.69.7",
		"serialno": "CLCA35001234",
		"model": "a35",
		"up": 2844898,
		"mem": {
			"total": 999710720,
			"free": 704487424
		},
		"storage": {
			"total": 4487905280,
			"free": 4247740416
		},
		"playing": {
			"name": "Playlist3324.vsn",
			"path": "/mnt/sdcard/Android/data/com.color.home/files/Ftp/program",
			"source": "lan"
		}
	}
}