aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-22 17:22:21 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-10-22 17:22:35 +0200
commitb33e880f23525b4f75cf35e39aa5082addef0fb7 (patch)
tree12eef7bf171f7dcd114bc675a8386707669db36e /lib
parent7939184660ed562f4b41c7a3983c7a4f69da52c7 (diff)
Added support of new image_url field
Since commit ecef0475a0a9d51, url to download AGL image matching a SDK has been introduced in SDK definition file. This commit adds ImageURL field (json:image_url) in return json object of GET /sdks Change-Id: If52c39292ac3d5e44c4f61b8b51c48d9661beb2d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib')
-rw-r--r--lib/xsapiv1/sdks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xsapiv1/sdks.go b/lib/xsapiv1/sdks.go
index 54b941b..d91d335 100644
--- a/lib/xsapiv1/sdks.go
+++ b/lib/xsapiv1/sdks.go
@@ -37,6 +37,7 @@ type SDK struct {
Arch string `json:"arch"`
Path string `json:"path"`
URL string `json:"url"`
+ ImageURL string `json:"image_url"`
Status string `json:"status"`
Date string `json:"date"`
Size string `json:"size"`