检索泊坞窗图像ID

时间:2016-02-24 14:45:33

标签: docker docker-registry

我正在尝试通过API检索泊坞窗图片ID。使用以下网址:

https://registry.hub.docker.com/v2/repositories/mesosphere/marathon/tags/v0.11.1/

我收到了这个结果:

  

{“name”:“v0.11.1”,“full_size”:536893184,“id”:1118232,“repository”:60768,“creator”:372823,“last_updater”:77974,“last_updated”:“2015 -11-04T16:30:33.343998Z“,”image_id“:null ,”v2“:true}

所需的@using Microsoft.AspNet.Routing @{ var myAreaName = string.Empty; object areaObj; if (ViewContext.RouteData.Values.TryGetValue("area", out areaObj)) { myAreaName = areaObj.ToString(); } } <h1>@myAreaName</h1> 标记为null,但它应该是12个字符串。我怎么得到它?

0 个答案:

没有答案