ogserver/src
Roberto Hueso Gómez d8b78bb922 #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
    }
  ]
}
2020-10-14 17:31:43 +02:00
..
cfg.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
cfg.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
client.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
client.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
core.c #998 disable incremental image API 2020-08-14 12:48:21 +02:00
core.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
dbi.c #942 Create DB image when calling POST /image/create 2020-10-14 12:05:25 +02:00
dbi.h #942 Extend GET /images function 2020-10-14 17:31:43 +02:00
json.c #941 Add og_json_parse_string_copy(...) function 2020-10-06 16:04:14 +02:00
json.h #941 Add og_json_parse_string_copy(...) function 2020-10-06 16:04:14 +02:00
list.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
main.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
ogAdmLib.c #971 remove unused contieneIP function in ogAdmLib 2020-10-07 11:18:37 +02:00
ogAdmLib.h #988 remove legacy configuration file 2020-10-05 14:49:17 +02:00
ogAdmServer.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
ogAdmServer.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
rest.c #942 Extend GET /images function 2020-10-14 17:31:43 +02:00
rest.h #1004 Add GET /images 2020-09-29 12:43:07 +02:00
schedule.c #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
schedule.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
utils.c #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
utils.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
wol.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
wol.h #990 add wol_socket_open() 2020-08-06 13:39:46 +02:00