Skip to content
Dials Docs

Picture review

Back office: accepting candidate photographs. Requires an admin session.

Models with picture candidates waiting on a decision

GET/picture-review

The picture review queue: models for which the image finder proposed candidate photographs that nobody has accepted or rejected yet.

Query Parameters

page
integer·min 1·default 1
Example1
pageSize
integer·min 1·max 100·default 24
Example24
status
string·default pending
Values
pendingreviewedall

Responses

Use this candidate as the model's picture

POST/picture-review/candidates/{id}/select

Points the model picture at the candidate's URL, clears the crop so the image pipeline redoes it, and marks the picture as reviewed.

Path Parameters

idRequired
string
Exampleclx123

Responses

Keep the current picture and stop offering the model for review

POST/picture-review/pictures/{id}/keep

Accepts the picture already on the model and takes it out of the review queue, without changing the image.

Path Parameters

idRequired
string
Exampleclx123

Responses

The picture the site leads with for a model

GET/picture-review/models/{id}/front-picture

Returns the FRONT picture (or the oldest one as fallback: the same rule the public thumbnail follows) with its raw source URL and protected flag. Raw URLs are admin-only, which is why this is not part of the public model payload.

Path Parameters

idRequired
string
Exampleclx123

Responses

Replace a model's front picture and/or set its protected flag

PUT/picture-review/models/{id}/front-picture

A new URL clears the crop so the image pipeline redoes it, same handoff as selecting a candidate. When the model has no picture yet, a URL creates the FRONT row.

Path Parameters

idRequired
string
Exampleclx123

Request Body

application/json
url
string <uri>
protectedRequired
boolean

Responses