Update Multimedia
This endpoint allows you to update an existing multimedia item's details. You can modify metadata, update content URLs, change application configurations, and adjust advanced options for the multimedia content.
🔹 Endpoint Details
PUT /api/v1/multimedia/{multimediaId}
🔒 Authentication
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | Must be application/json |
| Authorization | Yes | Format: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature |
📝 Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
multimediaId | string (UUID) | Yes | Unique identifier of the multimedia |
📝 Request Structure
Optional Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | No | Name of multimedia content | "Updated Demo Video" |
url | string | No | URL where multimedia is accessible | "https://example.com/videos/updated.mp4" |
format | string | No | Format/MIME type of content | "video/mp4" |
description | string | No | Detailed description | "Updated product demonstration" |
size | number | No | Size in bytes | 6291456 |
duration | number | No | Duration in seconds | 360 |
app | object | No | Application configuration | See example |
environment | object | No | Environment settings | {"region": "eu-west-1"} |
coverVideo | object | No | Cover video configuration | See example |
options | object | No | Additional options | See example |
🧩 Request Example
curl -X PUT "https://openapi.onlive.site/api/v1/multimedia/{multimediaId}" \
-H "Content-Type: application/json" \
-H "Authorization: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature" \
-d '{
"name": "string",
"app": {
"source": {
"url": "string",
"security": "string"
},
"resource": "string",
"args": "string"
},
"url": "string",
"format": "string",
"description": "string",
"size": 0,
"duration": 0,
"status": "string",
"environment": {},
"coverVideo": {
"id": "string",
"url": "string",
"size": 0,
"format": "string",
"duration": 0
},
"options": {
"usePixelStreaming": true,
"timeout": 0,
"showBooking": true,
"showRegister": true
}
}'
Response Example
HTTP Status 200
{
"id": "string",
"organizationId": "string",
"name": "string",
"app": {
"type": "string",
"source": {
"url": "string",
"security": "string"
},
"resource": "string",
"args": "string"
},
"url": "string",
"format": "string",
"description": "string",
"size": 0,
"duration": 0,
"status": "string",
"environment": {},
"coverVideo": {
"id": "string",
"url": "string",
"size": 0,
"format": "string",
"duration": 0
},
"options": {
"usePixelStreaming": true,
"timeout": 0,
"showBooking": true,
"showRegister": true
}
}
❌ Error Responses
This endpoint follows the standard error format.
📘 Notes
- You only need to include fields you want to update
- All other fields will retain their existing values
- The
organizationIdcannot be changed - Content validation is performed when updating URLs or formats
- Status may change to "need_action" if content requires re-processing
- Immersive content updates may take longer to process
- Update operations are atomic - either all changes succeed or none
💡 Best Practices
-
Update Strategy
- Use partial updates when possible to minimize data transfer
- Validate content before updating references
- Consider user experience during content transitions
-
Content Management
- Keep version history for important content
- Update metadata frequently but content URLs sparingly
- Use meaningful naming conventions for easy identification
-
Error Handling
- Implement proper validation before sending update requests
- Provide clear feedback to users about update status