Get Terminal Program List

555

# Get Terminal Program List

Path:

/api/vsns.json

Method: GET

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

API Description: This can be used to get all program lists of the terminal.

Response

Name Type Example Description
contents Array [] Sorted by program sources, with each type serves as an element of the value.
content Array [] The list of all programs of the same source.
ressize int 727420 Total size of materials contained in all programs of the same source.
unused int 42344 Total size of the unused materials contained in all programs of the same source.
type String lan Program source; lan (LAN), internet (Cloud), usb (USB)
name String 1.vsn Name of the program file.
playing Object {} Information of the programs that are being played.
ableToEdit boolean false Whether the program is editable. (Standalone Web program is editable in most cases.)
lastModifiedTime long 123... Timestamp of the last modified time of the file.
size long 68326 File size
md5 String Empty in most cases.
publishedmd5 String Empty in most cases.

Example

{
	"playing": {
		"type": "lan",
		"name": "new.vsn"
	},
	"contents": [{
			"type": "lan",
			"content": [{
					"name": "12345.vsn",
					"size": 7665246,
					"md5": "882024f3d5869aad992a58fec123a19c",
					"publishedmd5": "8B2E1E8BE7588F7862A47DA9D7C7F670"
				},
				{
					"name": "256256.vsn",
					"size": 7665246,
					"md5": "882024f3d5869aad992a58fec123a19c",
					"publishedmd5": "8B2E1E8BE7588F7862A47DA9D7C7F670"
				}
			]
		},
		{
			"type": "usb-synced",
			"content": [{
				"name": "new.vsn",
				"size": 7665246,
				"md5": "882024f3d5869aad992a58fec123a19c",
				"publishedmd5": "8B2E1E8BE7588F7862A47DA9D7C7F670"
			}]
		},
		{
			"type": "usb",
			"content": [{
				"name": "new.vsn",
				"size": 7665246,
				"md5": "882024f3d5869aad992a58fec123a19c",
				"publishedmd5": "8B2E1E8BE7588F7862A47DA9D7C7F670"
			}]
		},
		{
			"type": "lan",
			"content": [{
				"name": "new.vsn",
				"size": 11454370,
				"md5": "eb896b2c17d5638f7fbd18db7d3e0c4",
				"publishedmd5": "8B2E1E8BE7588F7862A47DA9D7C7F670"
			}]
		}
	]
}