diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-10-14 14:43:15 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-14 17:31:43 +0200 |
commit | d8b78bb9221866a544066b551c6d31188adf4035 (patch) | |
tree | dd0da441c0460ecd3f367da51c65da2d55799268 /tests/config/basic_data.sql | |
parent | d2f20d0be06617f421eecca111449d94672695eb (diff) |
#942 Extend GET /images function
This extension removes replaces the field 'filename' for 'name' and adds
new fields (software_id, type and id). These new fields are useful when
restoring an image.
Request:
GET /images
Response:
200 OK
{
"disk": {
"free": 37091418112,
"total": 52573995008
},
"images": [
{
"datasize": 5939200000,
"id": 25,
"modified": "Wed Oct 14 11:49:00 2020",
"name": "archlinux",
"permissions": "744",
"size": 1844222333,
"software_id": 19,
"type": 1
}
]
}
Diffstat (limited to 'tests/config/basic_data.sql')
0 files changed, 0 insertions, 0 deletions