summaryrefslogtreecommitdiffstats
path: root/src/json.c
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-05-19 17:18:52 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-05-26 15:15:52 +0200
commitb86b6e1443a6dfd21fa1520f7c4421a44d3595f3 (patch)
tree3a9032043cd29619eced8fab346f5c8d4ca4ebc7 /src/json.c
parentd5e6dc0990cb22efc05dda405dfa1e49f60359f5 (diff)
#915 Extend GET /images function with the repository IP
This extension adds the field 'repo_ip', indicating which repository has the image. This new field is 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 "repo_ip": "192.168.56.10" } ] }
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions