Update a MediaFileInfo
Path parameters
-
fileIdentifier
string Required
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
PUT
/api/media/media/{fileIdentifier}/file
curl \
--request PUT 'https://replace-with-own-host.iw-erp.de/api/media/media/{fileIdentifier}/file' \
--header "x-session-token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{}}'
Request examples
{
"data": {}
}
Response examples (200)
{
"id": 42,
"media_file_type": "string",
"archived": true,
"name": "string",
"description": "string",
"public_title": "string",
"public_subtitle": "string",
"public_link": "string",
"public_author": "string",
"public_summary": "string",
"public_description": "string",
"public_explicit": true,
"public_thumbnail": "string",
"public_keywords": "string",
"public_file_url": "string",
"public_file_name": "string",
"public_file_mime": "string",
"public_file_size": 42,
"public_duration": 42,
"public_dimension_x": 42,
"public_dimension_y": 42,
"public_date": "2025-05-04T09:42:00Z",
"public_order": 42,
"public_episode_type": "string",
"public_season": "string",
"generated_id3": true,
"guid": "string",
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z"
}