Hi all,
so I'm making good progress ... however with the Storage API I'm having a bit of trouble.
If I call the following url in the Swagger UI:
https://192.168.42.100/storage/api/v1/media
I get this response:
[ { "uuid": "C2E7-F514",
"label": "Extreme SSD",
"mounted": false,
"format": "exfat",
"size": 1000169226752,
"device": "sda1" }, { "uuid": "d2d26aa9-0ab9-4ecf-aff8-f8194080ee02",
"label": "ubuntu-data",
"mounted": true,
"format": "ext4",
"size": 2917068800,
"used": 1074192384,
"device": "mmcblk0p4",
"internal": true }, { "uuid": "4A65-4441",
"mounted": false,
"format": "fat32",
"size": 15633219584,
"device": "mmcblk1p1" } ]
I guess my "extreme" SSD should probably be an "extern" SSD (because that's what it is).Â
As you can see, I added an external USB SSD device as well as an micoSD card in the card reader slot.
The problem is, that I can't decode the response from the generated client as the "exfat" format is not specified in the spec. I'll probably manually add this in order to be able to continue, but I thought I'd report this, so it can be added to the list of constants.