diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-06-20 09:40:48 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-06-20 10:41:50 +0200 |
commit | 30d6af09d5db938612b6ea803c5f88ea531cf7b7 (patch) | |
tree | 15796ade39995c401ea8dc37acaf4c3e6154b3ad /Makefile.am | |
parent | 52a38d3e574fb25b47d230bc87754583eb17b4a6 (diff) |
#915 Use the repository id on image list
API "GET /images" shows the repository ID the image belongs to, instead
of the IP. This is a preparative commit to the support of repositories
with several IPs.
Request GET /images
Response 200 OK:
{
"images": [
{
"name": "windows10",
"datasize": 0,
"size": 626088433,
"modified": "Fri Jun 10 12:20:32 2022",
"permissions": "744",
"software_id": 1,
"type": 1,
"id": 6,
"repo_id": 1
}
],
"disk": {
"total": 52573995008,
"free": 38964637696
}
}
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions