List images
The images of the workspace, copied from an address or uploaded, newest first, by status and search.
opensend images list [flags]Flags
--qstringText to search for. Only items that contain it are returned. Up to 40 characters.
--limitintegerHow many items to return, from 1 to 100. Without it you get 25.
--offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.--afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
--beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.--statusstringOnly images in this state:
pending,readyorfailed.One of
pendingreadyfailed
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]The items on this page.
data[].object"image"Always
image.data[].idstringThe id of the image.
data[].urlstring | nullThe address the image is served at. Emails link it in place of
sourcewhen the image was copied, and it is the address to write in an email when the image was uploaded.nulluntil the image isready.data[].sourcestringWhere the image came from: the address it was copied from, as it is written in your emails, or the name of the file that was uploaded.
data[].originstringHow the image got here:
addresswhen it was copied from an address,uploadwhen it was sent as a file.One of
addressuploaddata[].statusstringpendingwhile it waits to be copied,readyonce it is served,failedwhen it could not be copied. An uploaded image isreadyat once.One of
pendingreadyfaileddata[].typestring | nullThe media type of the image:
image/png,image/jpeg,image/giforimage/webp.nulluntil it isready.One of
image/pngimage/jpegimage/gifimage/webpdata[].sizeinteger | nullThe size of the image in bytes, or
nulluntil it isready.data[].reasonstring | nullWhy the last try to copy it did not work, in words, or
null.data[].createdAtstringWhen the image was first seen.
data[].updatedAtstringWhen it was last copied or tried.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.