@@ -113,6 +113,7 @@ public function queryMemberStatus(): array
113113 return [
114114 'location ' => self ::QUERY ,
115115 'type ' => self ::STRING_TYPE ,
116+ 'sentAs ' => 'member_status ' ,
116117 'description ' => 'Shows only images with this member status. ' ,
117118 'enum ' => ['accepted ' , 'pending ' , 'rejected ' , 'all ' ],
118119 ];
@@ -142,6 +143,7 @@ public function querySizeMin(): array
142143 return [
143144 'location ' => self ::QUERY ,
144145 'type ' => self ::INT_TYPE ,
146+ 'sentAs ' => 'size_min ' ,
145147 'description ' => 'Shows only images with this minimum image size. ' ,
146148 ];
147149 }
@@ -151,6 +153,7 @@ public function querySizeMax(): array
151153 return [
152154 'location ' => self ::QUERY ,
153155 'type ' => self ::INT_TYPE ,
156+ 'sentAs ' => 'size_max ' ,
154157 'description ' => 'Shows only images with this maximum image size. ' ,
155158 ];
156159 }
@@ -164,6 +167,16 @@ public function queryTag(): array
164167 ];
165168 }
166169
170+ public function sort (): array
171+ {
172+ return [
173+ 'location ' => self ::QUERY ,
174+ 'type ' => self ::STRING_TYPE ,
175+ 'description ' => 'Sorts the response by one or more attribute and sort direction combinations. You can ' .
176+ 'also set multiple sort keys and directions. Default direction is desc. '
177+ ];
178+ }
179+
167180 public function contentType (): array
168181 {
169182 return [
0 commit comments