images.list
List image records sorted by last use date
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) User ID
|
|
} |
|
|
struct |
restrictionFilter { |
(optional) filter only for following images
|
array |
imageIds ( |
(optional) returns only images with following ids
|
|
) |
|
|
bool |
isSquare |
(optional) if true returns only square images, if false only non-square images
|
bool |
approved |
(optional) if true returns only approved images, if false only not approved images
|
array |
usedIn ( |
(optional) Filter images which are used by this type/s of ad
|
string
|
|
|
used for:
-
banner :
images which are define only for banner
-
combined :
images which are define only for combined
-
unassigned :
images which are not assigned
|
|
) |
|
|
array |
widths ( |
(optional) returns only images with following width sizes
|
|
) |
|
|
array |
heights ( |
(optional) returns only images with following height sizes
|
|
) |
|
|
array |
sha1_checksums ( |
(optional) returns only images with following sha1_checksums
|
string
|
|
|
image sha1_checksum
|
|
) |
|
|
|
} |
|
|
int |
offset |
(optional) Offset of result [default: 0]
|
int |
limit |
(optional) Limit of result [default: 100]
|
Response
struct |
{ |
|
string |
statusMessage |
Status description
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics:
image_access_denied
image_height_too_large
image_height_too_low
image_no_rule_set_passed
image_ratio_incorrect
image_too_large
image_width_too_large
image_width_too_low
user_access_denied