images.constraints.list
List image types with its constraints
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
int |
userId |
(optional) User ID
|
|
} |
|
|
array |
adTypes ( |
(optional) Only constraints for images belonging to these ad types will be returned
|
string
|
|
|
Ad types:
-
combined :
images for combined ad format
-
banner :
images for banners
|
|
) |
|
|
bool |
used |
(optional) flag, if True - current rules, that are actually used will be returned.
|
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