assets

List Assets

Assets referenced by the company's (active) products, newest first.

q keeps the pictures of products whose title, id or brand contains it, as the products list's search matches them — the grid used to filter only the page it had loaded (design 8.0). kind keeps the product photos or the lifestyle pictures (decision 203).

Decision 218: review=pending_review also finds a picture whose newer cut-out waits beside the one in use (waiting), and order=risk puts first the cut-outs most likely to be wrong — failed checks, then the most problems, then the softest edges — so a reviewer's first minutes go where they count. A review filter leaves out lifestyle photos (decision 241): their cut-outs are not reviewed.

Decision 265: order=uncertain puts first the pictures the automatic sort was least sure of — the sorting view's order — and the ones a person sorted last, since their sort is final.

get/companies/{company_id}/assets

Request

  • Base URL
    https://app.zalster.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

company_idstring uuid required

Company id

Query parameters

review'pending_review' | 'approved' | 'rejected'
status'downloaded' | 'normalized' | 'processing' | 'processed' | 'failed'
limitinteger
offsetinteger
active_onlyboolean
qstring nullable
kind'product' | 'lifestyle'

What a picture is (decision 203): a product photo is cut out, a lifestyle one is not.

order'newest' | 'risk' | 'uncertain'

Response

Successful Response

idstring uuid required
content_hashstring required
statusstring required
widthinteger required
heightinteger required
mime_typestring required
byte_sizeinteger required
last_errorstring nullable required
referencesobject[] required
checked_atstring date-time nullable required
kind'product' | 'lifestyle'

What a picture is (decision 203): a product photo is cut out, a lifestyle one is not.

kind_source'auto' | 'person'

Who sorted a picture: sorting again never overrules a person.

kind_certaintynumber nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.