curl -i -X PUT \
'https://docs.fluid.app/_mock/docs/apis/swagger/api/company/media/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"medium": {
"user_id": 0,
"media_type": "string",
"image_url": null,
"video_url": null,
"pdf_url": null,
"powerpoint_url": "string",
"title": "string",
"description": null,
"active": true,
"compressed_image_url": "string",
"prompts_enabled": true,
"kind": "string",
"visibility": "string",
"cta_enabled": true,
"cta_action_type": "string",
"cta_url": null,
"cta_button_text": "string",
"slug": null,
"custom_slug": true,
"no_index": true,
"display_comments": true,
"category": "string",
"display_shop": true,
"dam_asset_id": 0,
"dam_asset_code": "string",
"lead_capture": true,
"video_shopping_enabled": true,
"application_theme_template_id": 0,
"settings": {
"player": {
"primary_color": "string",
"button_border_radius": "string",
"control_bar_height": "string",
"progress_color": "string",
"volume_color": "string",
"show_controls": true,
"autoplay": true,
"loop": true,
"muted": true,
"preload": "string",
"playback_rates": "string",
"show_remaining_time": true,
"responsive": true,
"fluid": true
},
"embed": {
"behavior": "string",
"responsive": true,
"width": "string",
"height": "string",
"show_controls": true,
"autoplay": true,
"loop": true
},
"cta": {
"enabled": true,
"type": "string",
"url": null,
"button_description": null,
"button_text": "string",
"button_color": "string"
},
"fair_share": {
"bg_color": "string",
"rep_name": "string",
"rep_avatar": "string",
"message": "string"
},
"live_chat": {
"enabled": true,
"color": "string",
"welcome_message": "string"
},
"thumbnail": {
"show_title": true,
"show_description": true
},
"seo": {
"title": "string",
"description": "string",
"image_url": "string",
"image_path": "string",
"block_crawler": true
}
},
"label": {
"id": 0,
"title": "string"
},
"subtitles": [
{
"lang": "string",
"src": "string"
}
],
"available_countries": [
"string"
],
"tags_attributes": [
{
"id": 0,
"_destroy": true,
"name": "string"
}
],
"prompts_attributes": [
{
"id": 0,
"title": "string",
"content": "string",
"_destroy": true
}
],
"attached_shareables_attributes": [
{
"id": 0,
"attachment_type": "string",
"attachment_id": 0,
"timestamp": "string",
"_destroy": true
}
]
}
}'
Social Media