go run cli/main.go
Get "/indexer/devices"
Get "/indexer/devices/:device_id"
Post "/indexer/devices/:device_id/online"
Post "/indexer/devices/:device_id/offline"
Post "/indexer/devices/:device_id/files"
Post "/indexer/files"
Get "/indexer/files/:file_id"
Delete "/indexer/files/:file_id"
[
{
"id":"aaaaaaaa",
"address":"127.0.0.1:1234"
},
{
"id":0,
"device_id":"aaaaaaaa",
"path":"/a",
“size":1234,
"has":"fffff",
"created":"0001-01-01T00:00:00Z",
"updated":"0001-01-01T00:00:00Z"
}
]