UploadedPhoto
A photo after upload_media.
Fields
- mediaIdstring · photo idrequired
The new photo's id.
- urlstring or nullrequired
The stored photo.
- thumbUrlstring or nullrequired
The 640 px thumbnail.
- ownerTypestringrequired
What the photo belongs to.
spotproductcollectionlisting - ownerIdstringrequired
The owner row's id.
- captionstring or nullrequired
Caption.
- creditstring or nullrequired
Photographer credit.
- ordernumberrequired
Position in the owner's gallery.
- contentTypestringrequired
The stored file's type (image/webp after optimizing).
- widthnumberrequired
Stored width in pixels.
- heightnumberrequired
Stored height in pixels.
- bytesnumberrequired
Stored size in bytes.
- originalBytesnumberrequired
The uploaded file's size in bytes.
- optimizedbooleanrequired
false when the optimizer was unavailable and the metadata-stripped original was kept.
- metadataStrippedbooleanrequired
true when the upload carried EXIF, GPS, XMP or IPTC metadata (all removed).
- thumbBytesnumber or nullrequired
The thumbnail's size in bytes.
- capturedOnstring or nullrequired
Capture date (YYYY-MM-DD), sent or read from the file.
- warningsarray of stringsoptional
Notes about things the write accepted but you should look at (a plain http link). Present only when there are any.