BatchUpload
The results of upload_media_batch.
Fields
- uploadednumberrequired
Files stored.
- failednumberrequired
Files refused.
- resultsarray of objectsrequired
One result per manifest item, in order.
Show 23 fieldsHide fields
- filestring or nullrequired
The form field name from the manifest.
- okbooleanrequired
Whether this file was stored.
- mediaIdstring · photo idoptional
The new photo's id (media uploads).
- storageIdstring · stored file idoptional
The stored file's id (target blob).
- urlstring or nulloptional
The stored photo.
- thumbUrlstring or nulloptional
The thumbnail.
- ownerTypestringoptional
What the photo belongs to.
spotproductcollectionlisting - ownerIdstringoptional
The owner row's id.
- captionstring or nulloptional
Caption.
- creditstring or nulloptional
Photographer credit.
- ordernumberoptional
Position in the owner's gallery.
- contentTypestringoptional
The stored file's type.
- widthnumberoptional
Stored width in pixels.
- heightnumberoptional
Stored height in pixels.
- bytesnumberoptional
Stored size in bytes.
- thumbBytesnumber or nulloptional
The thumbnail's size in bytes.
- originalBytesnumberoptional
The uploaded file's size in bytes.
- optimizedbooleanoptional
false when the original was kept.
- metadataStrippedbooleanoptional
true when metadata was removed.
- capturedOnstring or nulloptional
Capture date.
- usestringoptional
Where a
storageIdgoes. - warningsarray of stringsoptional
Notes about things the write accepted but you should look at (a plain http link). Present only when there are any.
- errorobjectoptional
Why the file was refused.
Show 2 fieldsHide fields
- codestringrequired
The error code (see Errors).
- messagestringrequired
What went wrong.