<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I assume you're using Glance client, if so, by default, when you
    issuing command 'glance image-list', it will call /v1/images/detail
    instead of /v1/images, you can use curl or any browser http client
    to see the difference. Basically, just like the endpoint name,
    /v1/images/detail will give you more details. See below difference
    of their response.<br>
    <br>
    <font color="#009900"><font color="#000000">Response from
        /v1/images/detail</font><br>
      {<br>
          "images": [<br>
              {<br>
                  "status": "active",<br>
                  "deleted_at": null,<br>
                  "name": "fedora-21-atomic-3",<br>
                  "deleted": false,<br>
                  "container_format": "bare",<br>
                  "created_at": "2015-09-03T22:56:37.000000",<br>
                  "disk_format": "qcow2",<br>
                  "updated_at": "2015-09-03T23:00:15.000000",<br>
                  "min_disk": 0,<br>
                  "protected": false,<br>
                  "id": "b940521b-97ff-48d9-a22e-ecc981ec0513",<br>
                  "min_ram": 0,<br>
                  "checksum": "d3b3da0e07743805dcc852785c7fc258",<br>
                  "owner": "5f290ac4b100440b8b4c83fce78c2db7",<br>
                  "is_public": true,<br>
                  "virtual_size": null,<br>
                  "properties": {<br>
                      "os_distro": "fedora-atomic"<br>
                  },<br>
                  "size": 770179072<br>
              }<br>
          ]<br>
      }</font><br>
    <br>
    Response with /v1/images<br>
    <font color="#3333ff">{<br>
          "images": [<br>
              {<br>
                  "name": "fedora-21-atomic-3",<br>
                  "container_format": "bare",<br>
                  "disk_format": "qcow2",<br>
                  "checksum": "d3b3da0e07743805dcc852785c7fc258",<br>
                  "id": "b940521b-97ff-48d9-a22e-ecc981ec0513",<br>
                  "size": 770179072<br>
              }<br>
          ]<br>
      }</font><br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 10/09/15 11:46, Su Zhang wrote:<br>
    </div>
    <blockquote
cite="mid:CAPjtyqsQdh_-RW9pv6Y48RKVSN3zF_Ny5hPdndrbCKuUfbzPYw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br clear="all">
        <div><span style="font-size:12.8px">Hello,</span>
          <div style="font-size:12.8px"><br>
          </div>
          <div style="font-size:12.8px">I am hitting an error and its
            trace passes def index ()
            in glance/registry/api/v1/images.py.</div>
          <div style="font-size:12.8px"><br>
          </div>
          <div style="font-size:12.8px">I assume def index() is called
            by glance image-list. However, while testing glance
            image-list I realized that def detail() is called
            under glance/registry/api/v1/images.py instead of def
            index().</div>
          <div style="font-size:12.8px"><br>
          </div>
          <div style="font-size:12.8px">Could someone let me know what's
            the difference between the two functions? How can I test out
            def index() under glance/registry/api/v1/images.py through
            CLI or API?</div>
          <div style="font-size:12.8px"><br>
          </div>
          <div style="font-size:12.8px">Thanks,</div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>Su Zhang<br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Cheers & Best regards,
Fei Long Wang (王飞龙)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
-------------------------------------------------------------------------- </pre>
  </body>
</html>