Product operation results
What the bulk and review operations answer - batch delete and publish, the review flush, a queued export and the tag list.
ProductBatchResponse
JavaScript: ProductBatchResult · Python: viewrium.ProductBatchResponse
Each id's outcome. The request succeeds even when some ids were not found.
affecteduuid[]requiredThe ids the operation was applied to.
not_founduuid[]requiredThe ids that do not exist or are not visible to you.
forbiddenuuid[]requiredThe ids that exist but you may not change.
ProductReviewResponse
JavaScript: ProductReviewResult · Python: viewrium.ProductReviewResponse
product_iduuidrequiredThe product.
appliedintegerrequiredHow many rows the flush changed (the product, each changed image, the model).
display_statusDisplayStatusrequiredThe status to show: the stored status, except generating while any asset is in flight, failed when nothing usable was produced, and published once it is live.
One of "published", "generating", "failed", "awaiting_review", "needs_attention", "ready_to_publish", "complete"
ProductExportQueuedResponse
JavaScript: ProductExportQueued · Python: viewrium.ProductExportQueued
More images need finishing than one request can do: they are being finished in the background, and a download link is emailed to notify_email when they are done. The same request then returns the ZIP.
status"queued"optionalAlways queued.
Default "queued"
productsintegerrequiredHow many products the export covers.
imagesintegerrequiredHow many images the export covers.
to_finishintegerrequiredHow many images are being finished in the background.
notify_emailstringoptionalnullableWhere the download link is emailed when they are done.
TagsResponse
JavaScript: Tags · Python: viewrium.TagsResponse
Every distinct tag across the products in scope, with how many carry it.
Every distinct tag in the scope, with its product count.
TagCount
JavaScript: no alias - an element of the type that holds it · Python: viewrium.TagCount
tagstringrequiredThe tag.
countintegerrequiredHow many products carry it.