Correct sort_key values for Images API v2
Current docs say that any image attribute can be used as a sort key, but the code restricts the allowed values. Change-Id: Ib4be4be143095c869f91934372a9e1f3464865ea Closes-bug: #1482328
This commit is contained in:
parent
bc440c0f4d
commit
20f862ae73
@ -164,9 +164,12 @@
|
||||
style="query" required="false" type="xsd:string" default="ALL">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02" xml:lang="EN">
|
||||
<para>Sort key. All image attributes can be used as the
|
||||
sort key, except tags and link attributes. Default is
|
||||
<code>created_at</code>.
|
||||
<para>Sort key. Results will be sorted by the requested image
|
||||
attribute. Accepted values are <code>name</code>,
|
||||
<code>status</code>, <code>container_format</code>,
|
||||
<code>disk_format</code>, <code>size</code>,
|
||||
<code>id</code>, <code>created_at</code>, and
|
||||
<code>updated_at</code>. Default is <code>created_at</code>.
|
||||
</para>
|
||||
</wadl:doc>
|
||||
</param>
|
||||
|
Loading…
x
Reference in New Issue
Block a user