Endpoint

Overview

Reports a media import on each phone: still importing, imported, or failed. Call it until no result is importing. Name the import by the mediaId you imported (the phone’s latest import of that item) or by the importId the import returned. A link import has only its importId. ok: false on a result means the status could not be read on that phone; a failed import is ok: true with status: "failed". No session is needed. An import over 1 GiB is never started: Import Media refuses it with file_too_large.

Request Body

Provide exactly one of mediaId or importId.
string[]
required
The phones to ask about.
string
One phone, instead of phoneIds. The answer’s data is then that phone’s result itself, not a list, and a failure on the phone is the request’s ok: false with the phone’s error (at the HTTP status of its code). Give phoneId or phoneIds, not both.
string
The id of the media library item you imported.
string
The importId of one phone’s import.

Response

boolean
true when the request was carried out. Check each result.
Result[]
One Result per phone, in the order of phoneIds. When ok is true, the result also has:

Errors

Phone errors on a result: