List queue items
GET/v1/queueKey scope read
Lists review queue items, oldest first by default. Without state, only open items are returned: those in the states pending and reopened.
Needs a key with the read scope. Authentication
Query parameters
limitintegerDefault20Number of items to return, 1 to 100. Default 20.
cursorstringThe
next_cursorof the previous page. Omit it for the first page.stateenumReturn only items in this state:
pending,resolvedorreopened. Default:pendingandreopenedtogether.One of
pendingresolvedreopenedtemplatestringReturn only items whose moderation ran on the template with this slug.
languagestringReturn only items whose content is in this language, as an ISO 639-1 code such as
en.severitystringReturn only items with this severity:
none,low,medium,highorcritical. Several values can be sent separated by commas. A value outside the list matches nothing.prioritystringReturn only items with this priority:
low,normal,highorurgent. Several values can be sent separated by commas. A value outside the list answers 500internal_error, not 422.sortenumOrder by creation date:
asc(oldest first, the default) ordesc.One of
ascdesc
Returns
A list object: data holds up to limit queue items, has_more says whether another page exists and next_cursor is the value to send as cursor, or null on the last page.
Errors
- 400
invalid_cursorcursoris not a value returned by this endpoint.- 422
validation_errorlimitis outside 1 to 100, orstateorsortis not one of the listed values.
Every endpoint can also answer the errors any request can meet: a missing key, a rate limit, a malformed body. Errors
Something missing or unclear on this page? Write to support@useinfrared.com.