maciek@corsair:~ curl 'https://api.snapcraft.io/api/v1/snaps/details/lxd?channel=&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Clicense%2Cbase%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list'
{"error_list":[{"code":"missing-header","message":"X-Ubuntu-Series header is required."}],"errors":["X-Ubuntu-Series header is required."],"result":"error"}
maciek@corsair:~ curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/lxd?channel=&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Clicense%2Cbase%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list'
{"anon_download_url":"https://api.snapcraft.io/api/v1/snaps/download/J60k4JY0HppjwOjW8dZdYc8obXKxujRu_5298.snap","architecture":["amd64"],"binary_filesize":44359680,"channel":"edge","channel_maps_list":[{"architecture":"amd64","map":[{"binary_filesize":44269568,"channel":"stable","confinement":"strict","epoch":"0","info":"released","revision":5235,"version":"2.20"},{"binary_filesize":44269568,"channel":"candidate","confinement":"strict","epoch":"0","info":"released","revision":5249,"version":"2.20"},{"channel":"beta","info":null},{"binary_filesize":44359680,"channel":"edge","confinement":"strict","epoch":"0","info":"released","revision":5298,"version":"git-bb63016"}],"track":"latest"},{"architecture":"amd64","map":[{"binary_filesize":20746240,"channel":"2.0/stable","confinement":"strict","epoch":"0","info":"released","revision":4689,"version":"2.0.11"},{"binary_filesize":20742144,"channel":"2.0/candidate","confinement":"strict","epoch":"0","info":"released","revision":4770,"version":"2.0.11"},{"channel":"2.0/beta","info":null},{"binary_filesize":19619840,"channel":"2.0/edge","confinement":"strict","epoch":"0","info":"released","revision":5291,"version":"git-fec4021"}],"track":"2.0"}],"confinement":"strict","contact":"https://github.com/lxc/lxd/issues","content":"application","deltas":[],"description":"LXD is a container manager for system containers.\r\n\r\nIt offers a REST API to remotely manage containers over the network, using an image based workflow and with support for live migration.\r\n\r\nImages are available for all Ubuntu releases and architectures as well as for a wide number of other Linux distributions.\r\n\r\nLXD containers are lightweight, secure by default and a great alternative to virtual machines.","developer_id":"canonical","download_sha3_384":"d75a9b780ee73114fa26c3e2cdc7b708d820bd5e0d34dcc42707fc80ac59dbeb588c3ea0427f5fccd4477c4d784949b4","download_url":"https://api.snapcraft.io/api/v1/snaps/download/J60k4JY0HppjwOjW8dZdYc8obXKxujRu_5298.snap","epoch":"0","icon_url":"https://dashboard.snapcraft.io/site_media/appmedia/2016/08/containers.png","last_updated":"2017-12-14T19:02:15.030948+00:00","license":"Apache-2.0","origin":"canonical","package_name":"lxd","prices":{},"private":false,"publisher":"Canonical","ratings_average":0.0,"revision":5298,"screenshot_urls":["https://dashboard.snapcraft.io/site_media/appmedia/2017/01/lxd.png"],"snap_id":"J60k4JY0HppjwOjW8dZdYc8obXKxujRu","summary":"System container manager and API","support_url":"https://github.com/lxc/lxd/issues","title":"LXD","version":"git-bb63016"}
maciek@corsair:~