Sklik API

Images

images.list

List image records sorted by last use date

Parameters

struct user {
string session

Session (as retrieved from client.login())

int userId

(optional) User ID

}
struct restrictionFilter {

(optional) filter only for following images

array imageIds (

(optional) returns only images with following ids

int

image id

)
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

int

image width

)
array heights (

(optional) returns only images with following height sizes

int

image height

)
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 {
int status

Return code

string statusMessage

Status description

array images (
struct {
int id
string url
int width
int height
int size
datetime lastUsed
bool approved
string sha1_checksum
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2020

www.seznam.cz Help Contact