"Generate a request to upload an image or PDF file to be the new preview for one or more Assets. Supported preview image formats include: GIF, JPG, PNG, and TIFF.\n\nIf a PDF file is uploaded to be the preview for a document Asset, then the PDF will also be displayed in the Asset Detail page as the multi-page PDF preview.\n\nAfter submitting the request to replace an Asset preview, \n\nThe user replacing the Asset previews must be granted the Replace Mezzanine and Upload User Role Permissions and View Security Template Permission on the Assets being updated.\n\nFor Federated Assets, if user provides optional contentPaths key in the request body, then files referenced in the contentPaths >
Average Response Time: 953ms
The Request Body must be a JSON object.
Successful operation
Invalid status value
Unauthorized. Missing Authorization or AccessToken or expired token
Forbidden. Missing X-API-key
{- "fileIds": [
- "7d6f4e30-f423-11e9-8071-89c0c4052141"
], - "filename": "Preview.jpg",
- "filesize": 1024,
- "contentPaths": {
- "imagePreview": "<relativePath>",
- "imageThumb": "<relativePath>",
- "videoProxy": "<relativePath>"
}
}
{- "message": "Message sent successfully",
- "status": "string"
}